4.8medium
Insufficient Session Expiration in github.com/greenpau/caddy-security
- Severity
- 4.8medium CVSS:3.1 by snyk
- Exploit likelihood
- 0.71% (higher than 54% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-vp66-gf7w-9m4xGO-2024-2557
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| github.com/greenpau/caddy-security | before * | CVE List |
| github.com/greenpau/caddy-security (Go) | up to 1.1.23, all versions | GitHub Advisory Database, Go Vulnerability Database |
| authcrunch caddy-security | Not specified | NVD |
All scores
| snyk | 4.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
| GitHub | 4.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
| NVD | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
Go Vulnerability Database
Insufficient Session Expiration in github.com/greenpau/caddy-security
NVD (es)
Todas las versiones del paquete github.com/greenpau/caddy-security son vulnerables a una caducidad de sesión insuficiente debido a una invalidación incorrecta de la sesión del usuario al hacer clic en el botón "Cerrar sesión". Las sesiones de usuario siguen siendo válidas incluso después de enviar solicitudes a /logout y /oauth2/google/logout. Los atacantes que obtienen acceso a una sesión activa pero supuestamente cerrada pueden realizar acciones no autorizadas en nombre del usuario.
References
| https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGREENPAUCADDYSECURITY-5920787 | third-party-advisory, web | |
| https://blog.trailofbits.com/2023/09/18/security-flaws-in-an-sso-plugin-for-caddy/ | exploit, press/media-coverage, third-party-advisory | |
| https://github.com/greenpau/caddy-security/issues/272 | issue-tracking, report, vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2024-21492 | advisory | |
| https://blog.trailofbits.com/2023/09/18/security-flaws-in-an-sso-plugin-for-caddy | web | |
| https://github.com/advisories/GHSA-vp66-gf7w-9m4x | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-21492 changed 2024-12-06 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-vp66-gf7w-9m4x changed 2024-06-28 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2024-2557 changed 2026-03-03 | CC-BY-4.0 |
| NVD | CVE-2024-21492 changed 2026-06-17 | Public domain |