Vulnerability · Published Apr 18, 2024 · Assigned by GitHub_M

CVE-2024-28189Judge0 vulnerable to Sandbox Escape Patch Bypass via chown running on Symbolic Link

Critical 10.0

In plain English

A critical-severity security flaw in judge0 from judge0. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 7.2% (higher than 94% of all known vulnerabilities). Ready-made attack tooling exists: Metasploit.

Severity (CVSS 3.1)10.0Critical
Exploit odds (30 days)7.2%top 5.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling1Metasploit

Official description

Judge0 is an open-source online code execution system. The application uses the UNIX chown command on an untrusted file within the sandbox. An attacker can abuse this by creating a symbolic link (symlink) to a file outside the sandbox, allowing the attacker to run chown on arbitrary files outside of the sandbox. This vulnerability is not impactful on it's own, but it can be used to bypass the patch for CVE-2024-28185 and obtain a complete sandbox escape. This vulnerability is fixed in 1.13.1.

Affected products (as reported)

VendorProductVersions
judge0 judge0 <= 1.13.0

Weakness: CWE-61, CWE-59 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

References