ghsa-jf2w-mq6r-56v8
Vulnerability from github
Published
2022-05-14 01:37
Modified
2024-04-24 20:08
Severity ?
VLAI Severity ?
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": [ { "package": { "ecosystem": "Go", "name": "github.com/caddyserver/caddy" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "0.11.1" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2018-19148" ], "database_specific": { "cwe_ids": [ "CWE-200" ], "github_reviewed": true, "github_reviewed_at": "2024-04-24T20:08:56Z", "nvd_published_at": "2018-11-10T19:29:00Z", "severity": "LOW" }, "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\u0027t meant to be public, though this information could likely have been discovered via other methods with additional effort.", "id": "GHSA-jf2w-mq6r-56v8", "modified": "2024-04-24T20:08:56Z", "published": "2022-05-14T01:37:58Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-19148" }, { "type": "WEB", "url": "https://github.com/mholt/caddy/issues/1303" }, { "type": "WEB", "url": "https://github.com/mholt/caddy/issues/2334" }, { "type": "WEB", "url": "https://github.com/mholt/caddy/pull/2015" }, { "type": "WEB", "url": "https://github.com/caddyserver/caddy/commit/986d4ffe3de32dcb81d334d603a2f0f1d460eb2f" }, { "type": "WEB", "url": "https://github.com/caddyserver/caddy/commit/f6e50890b3d81cb04146bd7b2c2b59e99830849a" }, { "type": "PACKAGE", "url": "https://github.com/caddyserver/caddy" }, { "type": "WEB", "url": "https://securitytrails.com/blog/caddy-web-server-ssl-bug" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N", "type": "CVSS_V3" } ], "summary": "Caddy allows enumeration of Certificates and Hostnames" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…