{"id":"CVE-2024-21494","published":"2024-02-17T05:00:07Z","modified":"2025-04-24T15:12:20Z","title":"All versions of the package github.com/greenpau/caddy-security are vulnerable to Authentication Bypass by Spoofing via…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00697,"percentile":0.485,"provenance":"source"},"cwes":[{"id":"CWE-290","name":"Authentication Bypass by Spoofing"},{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGREENPAUCADDYSECURITY-6249859","tags":[]},{"url":"https://github.com/greenpau/caddy-security/issues/266","tags":[]},{"url":"https://blog.trailofbits.com/2023/09/18/security-flaws-in-an-sso-plugin-for-caddy/","tags":[]}],"priority":{"score":13.5,"factors":[{"name":"EPSS percentile","points":9.7},{"name":"CVSS severity","points":3.78}]},"affectedVersions":[{"vendor":"n/a","product":"github.com/greenpau/caddy-security","versions":["all versions"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-02-20T15:22:14.559889Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/greenpau/caddy-security","vulnerableRanges":["<=1.1.23","all versions"],"patched":[],"from":["GHSA-vj36-3ccr-6563","GO-2024-2558"],"provenance":"source"}],"euvd":{"id":"EUVD-2024-0735","exploited":false,"provenance":"source"}}