CVE-2018-19148

Exp

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: 2018-11-10 Last update: 2024-11-21 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2018-19148 is rated Exploit Available (50/100): CVSS Low severity, with medium exploitation likelihood (EPSS 0.86%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2018-19148

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2018-19148

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.17% 0.86% +0.69%
2 2025-03-17 0.14% 0.17% +0.03%
3 2023-03-07 0.14%

Full EPSS history (5 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2018-19148

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
3.7 3.0 LOW
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:N)
Service keeps running; no real outage angle.
2.2 1.4 [email protected]
4.3 2.0 MEDIUM
AV:N/AC:M/Au:N/C:P/I:N/A:N Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:M)
Exploitation needs some favorable conditions, but not exceptional ones.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:N)
No integrity impact.
Availability impact (A:N)
No availability impact.
8.6 2.9 [email protected]

Weakness enumeration for CVE-2018-19148

GitHub Security Advisory for CVE-2018-19148

GHSA-jf2w-mq6r-56v8 · Severity: low · Ecosystem: go — Caddy allows enumeration of Certificates and Hostnames

OS Trackers for CVE-2018-19148

vendor priority summary link
debian unimportant CVE-2018-19148 unimportant priority: Debian including 1 source packages (caddy), 4 status rows across 4 suites (bookworm, forky, sid, trixie): resolved 4. https://security-tracker.debian.org/tracker/CVE-2018-19148

Affected software / configurations for CVE-2018-19148

Vendor Product Version Raw CPE
caddyserver caddy <= 0.11.0 cpe:2.3:a:caddyserver:caddy:*:*:*:*:*:*:*:*

References for CVE-2018-19148

URL Tags
https://github.com/mholt/caddy/issues/1303 Issue Tracking Patch Third Party Advisory
https://github.com/mholt/caddy/issues/2334 Issue Tracking Patch Third Party Advisory
https://github.com/mholt/caddy/pull/2015 Issue Tracking Patch Third Party Advisory
https://securitytrails.com/blog/caddy-web-server-ssl-bug Exploit Patch Third Party Advisory
cvelogic Threat Intelligence