Lucene search

K
osvGoogleOSV:GO-2023-2115
HistoryOct 24, 2023 - 4:57 p.m.

CSRF token reuse vulnerability in github.com/gofiber/fiber/v2

2023-10-2416:57:01
Google
osv.dev
11
csrf
vulnerability
github.com/gofiber/fiber/v2
cross-site request forgery
improper validation
token reuse
attacker
security
integrity
application

10 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

LOW

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

0.001 Low

EPSS

Percentile

26.2%

A cross-site request forgery vulnerability in this package can allow an attacker to inject arbitrary values and forge malicious requests on behalf of a user. The attacker may inject arbitrary values without any authentication, or perform various malicious actions on behalf of an authenticated user, potentially compromising the security and integrity of the application.

The vulnerability is caused by improper validation and enforcement of CSRF tokens within the application. For ‘safe’ methods, the token is extracted from the cookie and saved to storage without further validation or sanitization. In addition, the CSRF token is validated against tokens in storage but not associated with a session, nor by using a Double Submit Cookie Method, allowing for token reuse.

CPENameOperatorVersion
github.com/gofiber/fiber/v2lt2.50.0

10 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

LOW

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

0.001 Low

EPSS

Percentile

26.2%

Related for OSV:GO-2023-2115