CVE Vulnerabilities

CVE-2024-22261

Authorization Bypass Through User-Controlled SQL Primary Key

Published: Jun 11, 2024 | Modified: Jun 11, 2024
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu

SQL-Injection in Harbor allows priviledge users to leak the task IDs

Weakness

The product uses a database table that includes records that should not be accessible to an actor, but it executes a SQL statement with a primary key that can be controlled by that actor.

Extended Description

When a user can set a primary key to any value, then the user can modify the key to point to unauthorized records. Database access control errors occur when:

Potential Mitigations

References