English version →
カテゴリ
CVE-2024-23683 high CVSS 8.2

de.tum.in.ase:artemis-java-test-sandbox の脆弱性 (CVE-2024-23683)

概要

de.tum.in.ase:artemis-java-test-sandbox に 脆弱性 (CVE-2024-23683) が存在。悪用されるとシステム全体を乗っ取られる可能性があります。InvocationTargetException 経由で攻撃可能。対策: 1.7.6 以上に更新。

原文の説明

取得元が公開している説明をそのまま載せています (多くは英語)。

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…

出典: NIST National Vulnerability Database NVD GitHub Advisory

自動生成の要約

取得元のデータ (CVSS・CWE・影響バージョンなど) から SecPulse が定型文で組み立てた要約です。AI は使っていません。正確な内容は下の原文と参照URLで確認してください。

de.tum.in.ase:artemis-java-test-sandbox という製品で、CVE-2024-23683 という番号がついた弱点 (脆弱性) が見つかりました。
悪い人がインターネット越しに InvocationTargetException のような特定の入り口を狙うことで、製品の中を不正に操作できてしまいます。
悪用されるとシステム全体を乗っ取られる可能性があります。重要度は CVSS スコア 8.2/10 です。
対策: de.tum.in.ase:artemis-java-test-sandbox を 1.7.6 以上に更新してください。
心配なら、システム担当者や製品の公式サイトで「de.tum.in.ase:artemis-java-test-sandbox CVE-2024-23683」を検索してください。

CVE-2024-23683 (de.tum.in.ase:artemis-java-test-sandbox) — CWE-653 / CVSS v3 8.2
攻撃ベクター: ローカル
脆弱箇所: InvocationTargetException / throws / EvilInvocationTargetException / getUnderlyingCause
修正バージョン: 1.7.6 (即時適用推奨)
暫定回避: Forbid student classes in trusted packages like, e.g., described in https://github.com/ls1intum/Ares/issues/15#issuecomment-996449371
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。

❓ 何が問題か

de.tum.in.ase:artemis-java-test-sandbox に 脆弱性 (CWE-653) があります。攻撃者は InvocationTargetException を経由して脆弱な処理に到達できます。

📍 影響範囲

de.tum.in.ase:artemis-java-test-sandbox の影響バージョンはベンダーのアドバイザリで確認してください。攻撃箇所: InvocationTargetException / throws / EvilInvocationTargetException / getUnderlyingCause。

🔥 重要度

重要度: 重要 (CVSS 8.2/10)。悪用されるとシステム全体を乗っ取られる可能性があります。

🔧 修正方法

1.7.6 に更新してください。

🛡️ 暫定回避

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

🔍 検知方法

Webサーバ・プロキシ・WAFログで該当CVEのIOCに合致する不審リクエストを検索。SBOM/依存ファイルで影響バージョンを横断確認。

対応アクション

SOC/SREチームが順番に実行すべき具体的なステップとコマンド例

  1. 1
    影響範囲の特定 identify
    Audit SBOM/dependencies for affected components.

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

  2. 2
    暫定回避策の適用 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
    パッチ適用 patch
    Upgrade de.tum.in.ase:artemis-java-test-sandbox to 1.7.6

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

  4. 4
    事後検証 verify
    Confirm patched version is live in production

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

影響パッケージ

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

参照URL

当サイトでは、アクセス解析と広告の効果測定のために Cookie を使います。株式会社Game のサイト共通の設定です。 詳しく