Skip to content
High 7.0

Eclipse Kuraに認証済みの攻撃者が任意の場所へファイルを書き込める脆弱性

CVE-2026-111729 First seen on SecPulse

Summary

Eclipse Kuraの5.6.2以前(0.7.0以降)に、ZIPファイルの展開先の検証が不十分な脆弱性が見つかりました。認証を受けた攻撃者が、意図した展開先の外にディレクトリを作成し、任意のデータを書き込めるおそれがあります。この問題はCommandサービスが無効の環境には影響せず、Commandサービスは4.0.0以降で既定では無効です。修正版の情報は事実に含まれていないため、最新の情報を確認してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

Eclipse Kuraの5.6.2以前(0.7.0以降)に、ZIPファイルの展開先の検証が不十分な脆弱性が見つかりました。認証を受けた攻撃者が、意図した展開先の外にディレクトリを作成し、任意のデータを書き込めるおそれがあります。この問題はCommandサービスが無効の環境には影響せず、Commandサービスは4.0.0以降で既定では無効です。修正版の情報は事実に含まれていないため、最新の情報を確認してください。

Affected packages

PackageAffected → Fixed
Eclipse FoundationEclipse Kura
0.7.0 – 5.6.2→ Not listed

This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.

Original description The description as published by the source.

In Kura versions <= 5.6.2, the "Command" file-upload handler at POST /admin/denali/file/command extracts a client-supplied ZIP archive into the configured command.working.directory. The path-containment check validateFileName() compares canonical paths with String.startsWith() without appending a trailing path separator, so an entry that canonicalises to a sibling directory sharing the same string prefix (e.g. /tmpevil/x when the intended directory is /tmp) is accepted. The handler then calls parent.mkdirs() and new FileOutputStream(newFile), creating directories and writing attacker-controlled bytes outside the intended extraction root.

The command service is disabled by default since Kura 4.0.0 [1]. The issue does not apply when the command service is disabled. The caller must be authenticated with rest.command permission.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

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