logo

CVE-2018-19148 github.com/caddyserver/caddy

Package

Manager: go
Name: github.com/caddyserver/caddy
Vulnerable Version: >=0 <0.11.1

Severity

Level: Low

CVSS v3.1: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

CVSS v4.0: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

EPSS: 0.00164 pctl0.37891

Details

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.

Metadata

Created: 2022-05-14T01:37:58Z
Modified: 2024-04-24T20:08:56Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-jf2w-mq6r-56v8/GHSA-jf2w-mq6r-56v8.json
CWE IDs: ["CWE-200"]
Alternative ID: GHSA-jf2w-mq6r-56v8
Finding: F308
Auto approve: 1