CVE-2023-47117
Object Relational Mapper Leak Vulnerability in Filtering Task in Label Studio
Record summary
CVE-2023-47117 has a selected CVSS score of 7.5 (high); EIP currently links 1 Nuclei template.
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.
Exploitation context
Available material
- Nuclei templates
- 1
CISA SSVC decision
CISA Coordinator · SSVC 2.0.3 · Evaluated Jan 8, 2025 · Source: CVE List
Affected products and versions
2| Product | Source | Version range | Status |
|---|---|---|---|
label-studioBrowse HumanSignal / label-studio | CVE List | < 1.9.2post0 | affected |
label-studioBrowse PyPI / label-studio | GitHub Advisory | Before 1.9.2.post0 · Fixed in 1.9.2.post0 | affected |
Nuclei templates
1ProjectDiscoveryHIGHLabel Studio - Sensitive Information ExposureCVSS 7.5
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.
Impact
Unauthenticated attackers can leak sensitive user information including passwords character-by-character by exploiting Django ORM filter chains.
Remediation
Upgrade Label Studio to a patched version that addresses the ORM filter vulnerability.
Source: ProjectDiscovery