Security mailing lists by PureSourceCode

CVE-2018-19148

LOW 3.7CVSS 3.0

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.

Published
10 Nov 2018
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-200
Also known as
GHSA-jf2w-mq6r-56v8
Sources
NVDJSONOSV GHSA-jf2w-mq6r-56v8JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.0 LOW 3.7 CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
OSV GitHub CVSS 3.0 LOW 3.7 CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:P/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD caddyserver caddy
cpe:2.3:a:caddyserver:caddy:*:*:*:*:*:*:*:*
<= 0.11.0
OSV Go github.com/caddyserver/caddy < 0.11.1 0.11.1

References

History

  • 25 Nov 2026 20:21 UTC · NVD: first stored (published 10 Nov 2018)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 14 May 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.