PT-2024-22318 · Judge0 · Judge0
Stacksparrow4
·
Published
2024-04-18
·
Updated
2024-05-02
·
CVE-2024-28185
CVSS v3.1
10
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Judge0 (affected versions not specified)
Description
The issue concerns an open-source online code execution system. It does not account for symlinks placed inside the sandbox directory, which can be leveraged by an attacker to write to arbitrary files and gain code execution outside of the sandbox. When executing a submission, the system writes a
run script to the sandbox directory. An attacker can create a symbolic link (symlink) at the path run script before this code is executed, resulting in the f.write writing to an arbitrary file on the unsandboxed system. This can be used to overwrite scripts on the system and gain code execution outside of the sandbox.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Link Following
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Judge0