Categories
CVE-2024-23683 high CVSS 8.2

Vulnerability in de.tum.in.ase:artemis-java-test-sandbox (CVE-2024-23683)

Summary

Vulnerability in de.tum.in.ase:artemis-java-test-sandbox (CVE-2024-23683). Successful exploitation can lead to full system takeover. Exploitable via InvocationTargetException. Mitigation: upgrade to 1.7.6 or later.

Original description

The description as published by the source.

Impact

This allows an attacker to create special subclasses of InvocationTargetException that escape the exception sanitization 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.

Patches

Update to version 1.7.6 or later.

Workarounds

Forbid student classes in trusted packages like, e.g., described in https://github.com/ls1intum/Ares/issues/15#issuecomment-996449371

References

Are there any links users can visit to find out more?
Not that I know of.

For more information

If you have any questions or comments about this advisory:

Detailed description

Using generics, it is possible to throw checked exceptions without a throws clause:

ThrowWithoutThrowsHelper

public class ThrowWithoutThrowsHelper
{
    private final X throwable;

    private ThrowWithoutThrowsHelper(X throwable)
    {
        this.throwable = throwable;
    }

    private  R throwWithThrows() throws X
    {
        throw throwable;
    }

    public static  R throwWithoutThrows(Throwable throwable)
    {
        ThrowWithoutThrowsHelper<?> helper = new ThrowWithoutThrowsHelper(throwable);
        @SuppressWarnings("unchecked")
        ThrowWithoutThrowsHel…

Source: NIST National Vulnerability Database NVD GitHub Advisory

Auto-generated summary

Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.

A vulnerability tracked as CVE-2024-23683 has been found in de.tum.in.ase:artemis-java-test-sandbox.
Attackers can target a specific entry point like InvocationTargetException over the network to misuse the product.
Successful exploitation can lead to full system takeover. CVSS score: 8.2/10.
What to do: upgrade de.tum.in.ase:artemis-java-test-sandbox to 1.7.6 or later.
If unsure, ask your IT team or search "de.tum.in.ase:artemis-java-test-sandbox CVE-2024-23683" on the vendor's site.

CVE-2024-23683 (de.tum.in.ase:artemis-java-test-sandbox) — CWE-653 / CVSS v3 8.2
Attack vector: local
Attack surface: InvocationTargetException / throws / EvilInvocationTargetException / getUnderlyingCause
Patched: 1.7.6 — apply immediately
Workaround: Forbid student classes in trusted packages like, e.g., described in https://github.com/ls1intum/Ares/issues/15#issuecomment-996449371
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.

❓ What is the problem

A vulnerability (CWE-653) exists in de.tum.in.ase:artemis-java-test-sandbox. Attackers reach the vulnerable code path via InvocationTargetException.

📍 Affected scope

Check the vendor advisory for the affected versions of de.tum.in.ase:artemis-java-test-sandbox. Attack surface: InvocationTargetException / throws / EvilInvocationTargetException / getUnderlyingCause.

🔥 Severity

Severity: High (CVSS 8.2/10). Successful exploitation can lead to full system takeover.

🔧 How to fix

Update to 1.7.6.

🛡️ Workaround

Workaround: Forbid student classes in trusted packages like, e.g., described in https://github.com/ls1intum/Ares/issues/15#issuecomment-996449371

🔍 Detection

Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Audit SBOM/dependencies to find affected services.

Response actions

Concrete steps and command examples for SOC/SRE teams to execute in order

  1. 1
    Identify exposure identify
    Audit SBOM/dependencies for affected components.

    資産台帳・SBOM・依存マニフェストで de.tum.in.ase:artemis-java-test-sandbox を使っているサービスとバージョンを洗い出す。

  2. 2
    Apply temporary workaround mitigate
    Forbid student classes in trusted packages like, e.g., described in https://github.com/ls1intum/Ares/issues/15#issuecomment-996449371

    パッチが適用されるまでの応急処置として、Forbid student classes in trusted packages like, e.g., described in https://github.com/ls1intum/Ares/issues/15#issuecomment-996449371 を実施。回避策の副作用 (機能低下) を確認した上で。

  3. 3
    Apply patch patch
    Upgrade de.tum.in.ase:artemis-java-test-sandbox to 1.7.6

    ステージング環境で 1.7.6 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  4. 4
    Post-deployment verification verify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

Affected packages

Maven de.tum.in.ase:artemis-java-test-sandbox
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.6"}]}]

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details