CVE-2024-29021CWE-1393CWE-918

SSRF into Sandbox Escape through Unsafe Default Configuration

Critical · published April 18, 2024

CVSS v3.1
9.1
EPSS
20%
Percentile
97.5
In the wild
Unconfirmed
What it is

🚨 Just one sneaky request can turn your Judge0 installation into a playground for attackers! 😱 Think of Judge0 as a high-tech restaurant kitchen, where chefs (code execution) are only allowed to work in a special area. But if a delivery driver (SSRF) can wander into the kitchen unchecked, they might start cooking up chaos without even wearing a chef's hat! An attacker with access to the Judge0 API could escape the secure environment and gain root access to the server. This could lead to complete takeover of the machine, causing absolutely devastating harm to your system and data. It's like handing over the restaurant keys to someone who could decide to burn the whole place down!

Put simply

Think of Judge0 as a high-tech restaurant kitchen, where chefs (code execution) are only allowed to work in a special area. But if a delivery driver (SSRF) can wander into the kitchen unchecked, they might start cooking up chaos without even wearing a chef's hat! The SSRF vulnerability in Judge0 allows attackers to send crafted requests that let them escape the sandbox, resulting in unsandboxed code execution as root. This issue arises from insufficient restrictions on incoming requests to the API.

What to do

An attacker with access to the Judge0 API could escape the secure environment and gain root access to the server. This could lead to complete takeover of the machine, causing absolutely devastating harm to your system and data. It's like handing over the restaurant keys to someone who could decide to burn the whole place down! Patch to version 1.13.1 immediately to close this critical vulnerability. Review your API permissions and configurations to ensure that only trusted users have access. Don't forget to implement proper input validation to mitigate SSRF risks in the future! You've got this! Just follow these steps and you'll have your Judge0 secured in no time. 🛡️

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.20179 · 97.5th percentile
Weaknesses
CWE-1393 · Use of Default Password; CWE-918 · Server-Side Request Forgery (SSRF)
Published
2024-04-18T14:43Z
EPSS history
Timeline
  • 18 APR 14:43Z
    SSRF into Sandbox Escape through Unsafe Default Configuration
    cvelistv5