Rapid7 Vulnerability & Exploit Database

Judge0 sandbox escape

Back to Search

Judge0 sandbox escape

Disclosed
03/04/2024
Created
11/21/2024

Description

Judge0 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.

Author(s)

  • Tanto Security
  • Takahiro Yokoyama

Platform

Linux

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use exploit/linux/http/judge0_sandbox_escape_cve_2024_28189
msf exploit(judge0_sandbox_escape_cve_2024_28189) > show targets
    ...targets...
msf exploit(judge0_sandbox_escape_cve_2024_28189) > set TARGET < target-id >
msf exploit(judge0_sandbox_escape_cve_2024_28189) > show options
    ...show and set options...
msf exploit(judge0_sandbox_escape_cve_2024_28189) > exploit

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;