GHSA-jf2w-mq6r-56v8

    Dashboard / Vulnerabilities / GHSA-jf2w-mq6r-56v8

    GHSA-jf2w-mq6r-56v8

    Published: 14 May 2022Last Modified: 24 Apr 2024

    Summary: Caddy allows enumeration of Certificates and Hostnames

    Details: 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.

    Affected packages

    Package

    Name: github.com/caddyserver/caddy

    Purl: pkg:golang/github.com/caddyserver/caddy

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -0.11.1

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-jf2w-mq6r-56v8 | CVE-DB