CVE-2018-19148

Source
https://nvd.nist.gov/vuln/detail/CVE-2018-19148
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-19148.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-19148
Aliases
Published
2018-11-10T19:29:00Z
Modified
2025-02-19T02:29:00.185588Z
Severity
  • 3.7 (Low) CVSS_V3 - CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/mholt/caddy

Affected ranges

Type
GIT
Repo
https://github.com/mholt/caddy
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected

Affected versions

v0.*

v0.10.0
v0.10.1
v0.10.10
v0.10.11
v0.10.12
v0.10.13
v0.10.14
v0.10.2
v0.10.3
v0.10.4
v0.10.5
v0.10.6
v0.10.7
v0.10.8
v0.10.9
v0.11.0
v0.5.0
v0.5.1
v0.6.0
v0.7.0
v0.7.1
v0.7.2
v0.7.3
v0.7.4
v0.7.5
v0.7.6
v0.8-beta.1
v0.8-beta.2
v0.8-beta.3
v0.8-beta.4
v0.8.0
v0.8.1
v0.8.2
v0.8.3
v0.9-beta.1
v0.9-beta.2
v0.9.0
v0.9.1
v0.9.2
v0.9.3
v0.9.4
v0.9.5