Lucene search

K
osvGoogleOSV:GO-2024-2574
HistoryMay 20, 2024 - 7:46 p.m.

Insecure CORS Configuration allowing wildcard origin with credentials in github.com/gofiber/fiber/v2

2024-05-2019:46:13
Google
osv.dev
10
cors
configuration
wildcard
origin
credentials
vulnerabilities
security
best practices
gofiber
software

9.4 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

LOW

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

7.2 High

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

13.0%

The CORS middleware allows for insecure configurations that could potentially expose the application to multiple CORS-related vulnerabilities. Specifically, it allows setting the Access-Control-Allow-Origin header to a wildcard (“*”) while also having the Access-Control-Allow-Credentials set to true, which goes against recommended security best practices.

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

9.4 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

LOW

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

7.2 High

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

13.0%

Related for OSV:GO-2024-2574