Arbitrary Code Execution Affecting de.tum.in.ase:artemis-java-test-sandbox Open this link in a new tab package, versions [,1.7.6)
Attack Complexity
Low
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications-
snyk-id
SNYK-JAVA-DETUMINASE-2359035
-
published
23 Jan 2022
-
disclosed
21 Jan 2022
-
credit
Daniel Kirschten
Introduced: 21 Jan 2022
CWE-94 Open this link in a new tabHow to fix?
Upgrade de.tum.in.ase:artemis-java-test-sandbox
to version 1.7.6 or higher.
Overview
Affected versions of this package are vulnerable to Arbitrary Code Execution by allowing an attacker to create special subclasses of InvocationTargetException
that escape the exception sanitization. This is because JUnit extracts the cause in a trusted context before the exception reaches Ares. This means that arbitrary student code can be executed in a trusted context, and that in turn allows disabling Ares and having full control over the system.