Insufficient Session Expiration in github.com/greenpau/caddy-security
Moderate severity
GitHub Reviewed
Published
Feb 17, 2024
to the GitHub Advisory Database
•
Updated Feb 20, 2024
Description
Published by the National Vulnerability Database
Feb 17, 2024
Published to the GitHub Advisory Database
Feb 17, 2024
Last updated
Feb 20, 2024
Reviewed
Feb 20, 2024
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.
References