CWE
200
Advisory Published
Advisory Published
Updated

CVE-2018-19148: Infoleak

First published: Sat 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.

Credit: cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
go/github.com/caddyserver/caddy<0.11.1
0.11.1
Caddyserver Caddy<=0.11.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • 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.

  • How severe is CVE-2018-19148?

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

  • 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.

  • 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).

  • 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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203