CVE-2018-19148 Caddy allows enumeration of Certificates and Hostnames
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- Debian
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| caddyserver github.com/caddyserver/caddy | <= 0.11.0 | after 0.11.0 | Fixed |
| caddyserver github.com/caddyserver/caddy(Go) | < 0.11.1 | 0.11.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| caddyserver github.com/caddyserver/caddy(Go) | < 0.11.1 | 0.11.1 |
| caddyserver github.com/caddyserver/caddy | <= 0.11.0 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com issue-tracking patch third-party-advisory
- github.com issue-tracking patch third-party-advisory
- github.com issue-tracking patch third-party-advisory
- github.com patch
- github.com patch
- github.com product
- securitytrails.com exploit patch third-party-advisory
- github.com
- Debian Security Tracker CVE-2018-19148 vendor-advisory