CVE-2024-28189

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

No configuration.

History

21 Nov 2024, 09:05

Type Values Removed Values Added
Summary
  • (es) Judge0 es un sistema de ejecución de código en línea de código abierto. La aplicación utiliza el comando chown de UNIX en un archivo que no es de confianza dentro del entorno limitado. Un atacante puede abusar de esto creando un enlace simbólico (enlace simbólico) a un archivo fuera del entorno sandbox, lo que le permite ejecutar chown en archivos arbitrarios fuera del entorno sandbox. Esta vulnerabilidad no tiene un impacto por sí sola, pero se puede utilizar para omitir el parche CVE-2024-28185 y obtener un escape completo de la zona de pruebas. Esta vulnerabilidad se solucionó en 1.13.1.
References () https://github.com/judge0/judge0/blob/v1.13.0/app/jobs/isolate_job.rb#L232 - () https://github.com/judge0/judge0/blob/v1.13.0/app/jobs/isolate_job.rb#L232 -
References () https://github.com/judge0/judge0/commit/f3b8547b3b67863e4ea0ded3adcb963add56addd - () https://github.com/judge0/judge0/commit/f3b8547b3b67863e4ea0ded3adcb963add56addd -
References () https://github.com/judge0/judge0/security/advisories/GHSA-3xpw-36v7-2cmg - () https://github.com/judge0/judge0/security/advisories/GHSA-3xpw-36v7-2cmg -
References () https://github.com/judge0/judge0/security/advisories/GHSA-h9g2-45c8-89cf - () https://github.com/judge0/judge0/security/advisories/GHSA-h9g2-45c8-89cf -

18 Apr 2024, 15:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-04-18 15:15

Updated : 2024-11-21 09:05


NVD link : CVE-2024-28189

Mitre link : CVE-2024-28189

CVE.ORG link : CVE-2024-28189


JSON object : View

Products Affected

No product.

CWE
CWE-59

Improper Link Resolution Before File Access ('Link Following')

CWE-61

UNIX Symbolic Link (Symlink) Following