PT-2023-32946 · Unknown · Artemis Java Test Sandbox

Ldap

·

Published

2023-02-10

·

Updated

2025-11-28

·

CVE-2024-23681

CVSS v3.1

8.2

High

VectorAV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Artemis Java Test Sandbox versions prior to 1.11.2
Description The issue allows an attacker to escape the sandbox by loading untrusted libraries using System.load or System.loadLibrary. This can lead to arbitrary Java code execution when a victim runs the supposedly sandboxed code. The problem is due to the missing checkLink(String) override in the SecurityManager, which enables students to load libraries and execute arbitrary code. Technical details include the use of System.load(String) or System.loadLibrary(String) to load and execute arbitrary code.
Recommendations For versions prior to 1.11.2, update to version 1.11.2 or later to resolve the issue. As a temporary workaround, consider adding the checkExec(String) override to the SecurityManager to prevent arbitrary code execution. Additionally, restrict the use of System.load and System.loadLibrary functions to minimize the risk of exploitation.

Exploit

Fix

Improper Access Control

Code Injection

Weakness Enumeration

Related Identifiers

CVE-2024-23681
GHSA-98HQ-4WMW-98W9
GHSA-C4PG-5GGH-VCPP

Affected Products

Artemis Java Test Sandbox