SecurityContext

CVE-2018-19148: Caddy - Information Disclosure

  • Cve: CVE-2018-19148
  • Name: Caddy - Information Disclosure
  • 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.
  • Impact: Attackers can discover existing hostnames and their relationships, potentially exposing sensitive infrastructure details.
  • Remediation: Update to the latest version of Caddy that addresses this issue or apply security patches provided by the vendor.
  • Vulnerability type: misconfiguration
  • Vulnerability impact: information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: low
  • Cvss score: 3.7
  • Cvss vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
  • Epss score: 0.00862
  • Epss percentile: 0.59478
  • Assignee: [email protected]
  • Published at: 2018-11-10T19:29:00Z
  • Age in days: 2935
  • Modified at: 2026-06-17T01:48:52Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 4
  • Products total: 1
  • Oss: yes
  • Projects total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-19148
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-200Exposure of Sensitive Information to an Unauthorized Actor

Public exploits

UrlSourceAdded date
https://securitytrails.com/blog/caddy-web-server-ssl-bugnvd2018-11-10

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/mholt/caddy/issues/1303Issue Tracking, Patch, Third Party Advisory
https://github.com/mholt/caddy/issues/2334Issue Tracking, Patch, Third Party Advisory
https://github.com/mholt/caddy/pull/2015Issue Tracking, Patch, Third Party Advisory
https://securitytrails.com/blog/caddy-web-server-ssl-bugExploit, Patch, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
caddyserver:caddy<= 0.11.0nonvd/v1/products/caddyserver/caddy

Projects

RepositoryLink kindsIndexedUrl
caddyserver/caddycommit, packageyes/v1/repositories/caddyserver/caddy
mholt/caddyissues, pullyes/v1/repositories/mholt/caddy

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2018-11-10
  • Remote: yes
  • Exposed hosts: 1853410
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports