Skip to content
OpenAdvisories
High · 7.5 Scanner template CVE-2023-47117 EUVD-2023-0108GHSA-6hjj-gq77-j4qwPYSEC-2023-275

Object Relational Mapper Leak Vulnerability in Filtering Task in Label Studio

Published Nov 13, 2023 · Updated Jan 8, 2025 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
HumanSignal label-studio < 1.9.2post0 —

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI label-studio < 1.9.2.post0 1.9.2.post0 GHSA-6hjj-gq77-j4qw
PyPI label-studio < 1.9.2 1.9.2 PYSEC-2023-275

References