Vulnerability · Published Nov 13, 2023 · Assigned by GitHub_M
CVE-2023-47117Object Relational Mapper Leak Vulnerability in Filtering Task in Label Studio
High 7.5
In plain English
A high-severity information exposure in label-studio from HumanSignal. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 4.1% (higher than 91% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei. Fixed versions are available - upgrade the affected package.
Official description
Label Studio is an open source data labeling tool. In all current versions of Label Studio prior to 1.9.2post0, the application allows users to insecurely set filters for filtering tasks. An attacker can construct a filter chain to filter tasks based on sensitive fields for all user accounts on the platform by exploiting Django's Object Relational Mapper (ORM). Since the results of query can be manipulated by the ORM filter, an attacker can leak these sensitive fields character by character. In addition, Label Studio had a hard coded secret key that an attacker can use to forge a session token of any user by exploiting this ORM Leak vulnerability to leak account password hashes. This vulnerability has been addressed in commit `f931d9d129` which is included in the 1.9.2post0 release. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | label-studio | 1.9.2.post0 | GHSA-6hjj-gq77-j4qw |
| PyPI | label-studio | 1.9.2 | PYSEC-2023-275 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| HumanSignal | label-studio | < 1.9.2post0 |
Weakness: CWE-200 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N