CVE-2018-19148

Low

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.

SeverityLow
CVSS3.7
Exploit probability—
ProductCaddy
PublishedNov 10, 2018
First seenNov 10, 2018

How to fix

Update
  • github.com/caddyserver/caddy0.11.1 or later

Affected products

ProductAffected versionsFixed in
caddyserver caddyv ≤ 0.11.0—
github.com/caddyserver/caddyGov < 0.11.10.11.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.