medium4.8
CVE-2024-21492
Insufficient Session Expiration in github.com/greenpau/caddy-security
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | github.com/greenpau/caddy-security | <= 1.1.23 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Authcrunch | Caddy-Security | All versions |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://blog.trailofbits.com/2023/09/18/security-flaws-in-an-sso-plugin-for-caddy/
- https://github.com/greenpau/caddy-security/issues/272
- https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGREENPAUCADDYSECURITY-5920787
- https://github.com/advisories/GHSA-vp66-gf7w-9m4x
- https://nvd.nist.gov/vuln/detail/CVE-2024-21492
- https://blog.trailofbits.com/2023/09/18/security-flaws-in-an-sso-plugin-for-caddy