Lucene search

K
veracodeVeracode Vulnerability DatabaseVERACODE:48065
HistoryJul 15, 2024 - 7:24 a.m.

SQL Injection

2024-07-1507:24:11
Veracode Vulnerability Database
sca.analysiscenter.veracode.com
7
sql injection
github.com/openclarity/kubeclarity
vulnerability
packageid parameter
/api/applicationresources endpoint
fmt.sprintf function
input validation
time delays
boolean conditions
backend database
attacker

CVSS3

6.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

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

AI Score

7.4

Confidence

Low

github.com/openclarity/kubeclarity is vulnerable to SQL Injection. The vulnerability is due to manipulating the packageID parameter in the /api/applicationResources endpoint, where the fmt.Sprintf function is used to build the SQL query string without validating the input. It allows an attacker to inject SQL queries using techniques that involve time delays or boolean conditions to extract or manipulate data stored in the backend database.

CVSS3

6.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

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

AI Score

7.4

Confidence

Low