{"id":"CVE-2024-28189","published":"2024-04-18T14:40:29Z","modified":"2024-08-02T00:48:49Z","title":"Judge0 vulnerable to Sandbox Escape Patch Bypass via chown running on Symbolic Link","vendor":"judge0","product":"judge0","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":10,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.06402,"percentile":0.94447,"provenance":"source"},"cwes":[{"id":"CWE-61","name":"UNIX Symbolic Link (Symlink) Following"},{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"references":[{"url":"https://github.com/judge0/judge0/security/advisories/GHSA-3xpw-36v7-2cmg","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/judge0/judge0/security/advisories/GHSA-h9g2-45c8-89cf","tags":["x_refsource_MISC"]},{"url":"https://github.com/judge0/judge0/commit/f3b8547b3b67863e4ea0ded3adcb963add56addd","tags":["x_refsource_MISC"]},{"url":"https://github.com/judge0/judge0/blob/v1.13.0/app/jobs/isolate_job.rb#L232","tags":["x_refsource_MISC"]}],"priority":{"score":30.9,"factors":[{"name":"EPSS percentile","points":18.89},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":7.0}]},"exploitSources":{"metasploit":[{"name":"Judge0 sandbox escape","module":"exploit/linux/http/judge0_sandbox_escape_cve_2024_28189","type":"exploit","disclosureDate":"2024-03-04","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/judge0_sandbox_escape_cve_2024_28189.rb"}],"first":{"date":"2024-03-04","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/judge0_sandbox_escape_cve_2024_28189.rb"},"provenance":"source"},"vendorSlug":"judge0","affectedVersions":[{"vendor":"judge0","product":"judge0","versions":["<= 1.13.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2024-06-07T19:38:56.803559Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-25312","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-judge0-cve-2024-28185","parents":[{"from":"CVE-2024-28185","to":"CVE-2024-28189","relation":"bypass","confidence":"high","kind":"lineage","orderedBy":"description","evidence":[{"kind":"text","provenance":"source","relation":"bypass","quote":"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.","from":"CVE.org","in":"CVE-2024-28189"},{"kind":"similar","provenance":"machine","score":0.43,"basis":"same product + CWE + description similarity"}]}]}}