CVE-2018-19148
published 2018-11-10CVE-2018-19148: Caddy through 0.11.0 sends incorrect certificates for certain invalid requests, making it easier for attackers to enumerate hostnames. Specifically, when…
PriorityP414low3.7CVSS 3.0
AVNACHPRNUINSUCLINAN
EPSS
0.86%
54.0th percentile
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
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| caddyserver | caddy | <= 0.11.0 | — |
| debian | caddy | — | — |
| github.com | caddyserver_caddy | >= 0 < 0.11.1 | 0.11.1 |
CVSS provenance
nvdv3.03.7LOWCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:P/I:N/A:N
vendor_debian3.7LOW
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
Caddy allows enumeration of Certificates and Hostnames
osv·2022-05-14
CVE-2018-19148 [LOW] Caddy allows enumeration of Certificates and Hostnames
Caddy allows enumeration of Certificates and Hostnames
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.
GHSA
Caddy allows enumeration of Certificates and Hostnames
ghsa·2022-05-14
CVE-2018-19148 [LOW] CWE-200 Caddy allows enumeration of Certificates and Hostnames
Caddy allows enumeration of Certificates and Hostnames
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.
Debian
CVE-2018-19148: caddy - Caddy through 0.11.0 sends incorrect certificates for certain invalid requests, ...
vendor_debian·2018·CVSS 3.7
CVE-2018-19148 [LOW] CVE-2018-19148: caddy - Caddy through 0.11.0 sends incorrect certificates for certain invalid requests, ...
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.
Scope: local
bookworm: resolved
sid: resolved
trixie: resolved
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/mholt/caddy/issues/1303https://github.com/mholt/caddy/issues/2334https://github.com/mholt/caddy/pull/2015https://securitytrails.com/blog/caddy-web-server-ssl-bughttps://github.com/mholt/caddy/issues/1303https://github.com/mholt/caddy/issues/2334https://github.com/mholt/caddy/pull/2015
2018-11-10
Published