Lucene search

K
veracodeVeracode Vulnerability DatabaseVERACODE:47151
HistoryMay 24, 2024 - 5:24 a.m.

Insufficient Session Expiration

2024-05-2405:24:34
Veracode Vulnerability Database
sca.analysiscenter.veracode.com
8
fastify
session
expiration
vulnerability
cookies
unauthorized access

CVSS3

7.4

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N

AI Score

6.7

Confidence

High

EPSS

0

Percentile

15.5%

@fastify/session is vulnerable to Insufficient Session Expiration. The vulnerability is due to the expires field being overridden if the maxAge field is set, which prevents cookies from being correctly detected as expired, thus expired sessions are not destroyed. This allows attackers to maintain sessions indefinitely, potentially leading to unauthorized access.

CVSS3

7.4

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N

AI Score

6.7

Confidence

High

EPSS

0

Percentile

15.5%