CVE-2018-19148: Infoleak

Published Nov 10, 2018
·
Updated

Caddy through 0.11.0 sends incorrect certificates for certain invalid requests, making it easier for attackers to enumerate hostnames. Specifically, when unable to match a Host header with a vhost in its configuration, it serves the X.509 certificate for a randomly selected vhost in its configuration. Repeated requests (with a nonexistent hostname in the Host header) permit full enumeration of all certificates on the server. This generally permits an attacker to easily and accurately discover the existence of and relationships among hostnames that weren't meant to be public, though this information could likely have been discovered via other methods with additional effort.

Affected Software

2 affected componentsFixes available
go/github.com/caddyserver/caddy<0.11.1
0.11.1
caddyserver Caddy<=0.11.0

Event History

Nov 10, 2018
CVE Published
via MITRE·07:00 PM
Data Sourced
via MITRE·07:00 PM
Description
May 14, 2022
Advisory Published
via GitHub·01:37 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2018-19148?

CVE-2018-19148 is a vulnerability in Caddy server version 0.11.0 and earlier that allows attackers to enumerate hostnames by sending invalid requests.

2

How severe is CVE-2018-19148?

CVE-2018-19148 has a severity value of 3.7, which is considered medium.

3

How does CVE-2018-19148 affect Caddy server?

CVE-2018-19148 affects Caddy server versions up to 0.11.0, where it sends incorrect certificates for certain invalid requests, making it easier for attackers to enumerate hostnames.

4

Are there any references related to CVE-2018-19148?

Yes, you can find more information about CVE-2018-19148 in the following references: [link1](https://github.com/mholt/caddy/issues/1303), [link2](https://github.com/mholt/caddy/issues/2334), [link3](https://github.com/mholt/caddy/pull/2015).

5

Is there a fix for CVE-2018-19148?

Yes, the fix for CVE-2018-19148 is to upgrade Caddy server to a version later than 0.11.0.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203