CVE-2018-19148

CVSS V2 Medium 4.3 CVSS V3 Low 3.7
Description
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.
Overview
  • CVE ID
  • CVE-2018-19148
  • Assigner
  • cve@mitre.org
  • Vulnerability Status
  • Analyzed
  • Published Version
  • 2018-11-10T19:29:00
  • Last Modified Date
  • 2019-01-30T18:09:41
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:caddyserver:caddy:*:*:*:*:*:*:*:* 1 OR 0.11.0
CVSS Version 2
  • Version
  • 2.0
  • Vector String
  • AV:N/AC:M/Au:N/C:P/I:N/A:N
  • Access Vector
  • NETWORK
  • Access Compatibility
  • MEDIUM
  • Authentication
  • NONE
  • Confidentiality Impact
  • PARTIAL
  • Integrity Impact
  • NONE
  • Availability Impact
  • NONE
  • Base Score
  • 4.3
  • Severity
  • MEDIUM
  • Exploitability Score
  • 8.6
  • Impact Score
  • 2.9
CVSS Version 3
  • Version
  • 3.0
  • Vector String
  • CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
  • Attack Vector
  • NETWORK
  • Attack Compatibility
  • HIGH
  • Privileges Required
  • NONE
  • User Interaction
  • NONE
  • Scope
  • UNCHANGED
  • Confidentiality Impact
  • LOW
  • Availability Impact
  • NONE
  • Base Score
  • 3.7
  • Base Severity
  • LOW
  • Exploitability Score
  • 2.2
  • Impact Score
  • 1.4
References
Reference URL Reference Tags
https://github.com/mholt/caddy/pull/2015 Issue Tracking Patch Third Party Advisory
https://github.com/mholt/caddy/issues/2334 Issue Tracking Patch Third Party Advisory
https://github.com/mholt/caddy/issues/1303 Issue Tracking Patch Third Party Advisory
https://securitytrails.com/blog/caddy-web-server-ssl-bug Exploit Patch Third Party Advisory
History
Created Old Value New Value Data Type Notes
2022-05-10 07:59:50 Added to TrackCVE
2022-12-03 14:15:02 2018-11-10T19:29Z 2018-11-10T19:29:00 CVE Published Date updated
2022-12-03 14:15:02 2019-01-30T18:09:41 CVE Modified Date updated
2022-12-03 14:15:02 Analyzed Vulnerability Status updated