Authentication bypass by spoofing in github.com/greenpau/caddy-security
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Security bypass, Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-290 and CWE-79.
Summary
All versions of the package github.com/greenpau/caddy-security are vulnerable to Authentication Bypass by Spoofing via the X-Forwarded-For header due to improper input sanitization. An attacker can spoof an IP address used in the user identity module (/whoami API endpoint). This could lead to unauthorized access if the system trusts this spoofed IP address.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | github.com/greenpau/caddy-security | all versions | — | No fix listed | CNA |
| — | github.com/greenpau/caddy-security (Go) | up to 1.1.23 | — | No fix listed | GHSA-vj36-3ccr-6563 |
- github.com/greenpau/caddy-security Vendor— Affected all versions Fixed in — No fix listed CNA
- github.com/greenpau/caddy-security (Go) Vendor— Affected up to 1.1.23 Fixed in — No fix listed GHSA-vj36-3ccr-6563
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2024-21494
- 2026-10-03 Alias added: GHSA-vj36-3ccr-6563
References
More Greenpau Caddy-security vulnerabilities
- TI-2024-14252 Versions of the package github.com/greenpau/caddy-security before 1.0.42 are vulnerable… CVSS 3.1CRITICAL 9.8
- TI-2024-14254 Open redirect in github.com/greenpau/caddy-security CVSS 3.1MEDIUM 6.1
- TI-2024-14250 Improper array index validation in github.com/greenpau/caddy-security CVSS 3.1MEDIUM 5.3
- TI-2024-14256 Improper output encoding in github.com/greenpau/caddy-security CVSS 3.1MEDIUM 4.3
Sources
- CVE-2024-21494 · CVE Program
- CVE-2024-21494 · NVD
- FIRST EPSS
- GHSA-vj36-3ccr-6563 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences