CVE-2024-21492
JSON

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 packageVersionsReported by
github.com/greenpau/caddy-securitybefore *CVE List
github.com/greenpau/caddy-security (Go)up to 1.1.23, all versionsGitHub Advisory Database, Go Vulnerability Database
authcrunch caddy-securityNot specifiedNVD

All scores

snyk4.8medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
GitHub4.8medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
NVD8.1high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-613

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

Sources

SourceRecordLicence
CVE ListCVE-2024-21492 changed 2024-12-06CVE Terms of Use
GitHub Advisory DatabaseGHSA-vp66-gf7w-9m4x changed 2024-06-28CC-BY-4.0
Go Vulnerability DatabaseGO-2024-2557 changed 2026-03-03CC-BY-4.0
NVDCVE-2024-21492 changed 2026-06-17Public domain