GitHub Advisory Database
GHSA-vp66-gf7w-9m4x
Insufficient Session Expiration in github.com/greenpau/caddy-security
Details
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 versions |
|---|---|---|
| Go | github.com/greenpau/caddy-security | All versions up to and including 1.1.23 |