CVE-2024-21492
Authcrunch Caddy-security vulnerability
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 products
Caddy-security. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Authcrunch Caddy-security runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/greenpau/caddy-security/issues/272 · Vendor Advisory
- blog.trailofbits.com/2023/09/18/security-flaws-in-an-sso-plugin-for-caddy/ · Exploit
- security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGREENPAUCADDYSECURITY-5920787 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2024-21492
- blog.trailofbits.com/2023/09/18/security-flaws-in-an-sso-plugin-for-caddy
- github.com/advisories/GHSA-vp66-gf7w-9m4x
- nvd.nist.gov/vuln/detail/CVE-2024-21492
- cve.org/CVERecord?id=CVE-2024-21492
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.