CVE-2023-43791CWE-200

Label Studio has Hardcoded Django `SECRET_KEY` that can be Abused to Forge Session Tokens

Critical · published November 9, 2023

CVSS v3.1
9.8
EPSS
1%
Percentile
68.9
In the wild
Unconfirmed
What it is

🚨 Imagine a lowly intern suddenly getting the keys to the executive suite! CVE-2023-43791 lets attackers impersonate any account on Label Studio, thanks to a sneaky privilege escalation flaw. 🔥 Think of it like a restaurant where a server can just walk behind the counter and start cooking the most expensive dishes without anyone checking their credentials. This vulnerability allows an attacker to go from a regular user to a super admin just like that! This means an attacker could gain full control over the Label Studio application, potentially accessing and altering sensitive data or configurations as if they were the highest-level administrator. It’s a recipe for disaster — identity theft, unauthorized access, and a complete compromise of trust within the system!

Put simply

Think of it like a restaurant where a server can just walk behind the counter and start cooking the most expensive dishes without anyone checking their credentials. This vulnerability allows an attacker to go from a regular user to a super admin just like that! The vulnerability exploits an ORM Leak that allows attackers to escalate privileges from low-privilege users to a Django Super Administrator user by impersonating accounts, effectively bypassing intended access controls.

What to do

This means an attacker could gain full control over the Label Studio application, potentially accessing and altering sensitive data or configurations as if they were the highest-level administrator. It’s a recipe for disaster — identity theft, unauthorized access, and a complete compromise of trust within the system! To secure your application, update Label Studio to version 1.8.2 or later immediately. Review your user access policies and ensure that proper validation is in place to prevent such exploit chains. It's vital to conduct regular security audits to catch issues before they escalate! You've got this! Follow these steps and you'll have your Label Studio fortified in no time. 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01241 · 68.9th percentile
Weakness
CWE-200 · Exposure of Sensitive Information to an Unauthorized Actor
Published
2023-11-09T14:42Z
EPSS history
Timeline
  • 09 NOV 14:42Z
    Label Studio has Hardcoded Django `SECRET_KEY` that can be Abused to Forge Session Tokens
    cvelistv5