Vulnerability in Authcrunch Caddy-Security
CVE-2024-21492
All versions of the package github.com/greenpau/caddy-security are vulnerable to Insufficient Session Expiration due to improper user session invalidation upon clicking the "Sign Out" button. User sessions remain valid even after requests are sent to /logout and /oauth2/google/logout. Attackers who gain access to an active but supposedly logged-out session can perform unauthorized actions on behalf of the user.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.8 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.007, 54.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Authcrunch Caddy-Security
- Github.com/greenpau/caddy-Security — versions 0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (fkie-cad/nvd-json-data-feeds, trailofbits/publications). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGREENPAUCADDYSECURITY-5920787 (Third Party Advisory)
- blog.trailofbits.com/2023/09/18/security-flaws-in-an-sso-plugin-for-caddy/ (Exploit, Third Party Advisory, Press/Media Coverage)
- github.com/greenpau/caddy-security/issues/272 (Issue Tracking, Vendor Advisory)