| 标题 | GitHub spark V 2.9.4 SparkJava External Static Files Symlink Escape Allows Local File |
|---|
| 描述 | An attacker who can create or influence a symbolic link inside a directory served through staticFiles.externalLocation(...) can make SparkJava disclose arbitrary local files readable by the Java process. Typical exposure patterns include applications that serve user-controlled extracted archives, build artifacts, generated documentation, or upload directories as external static files.
This is not a claim that every SparkJava static deployment is remotely exploitable. Exploitation requires an attacker-controlled symlink or equivalent filesystem state under the configured external static root. |
|---|
| 来源 | ⚠️ https://github.com/perwendel/spark/issues/1296 |
|---|
| 用户 | naixiao (UID 92174) |
|---|
| 提交 | 2026-06-18 05時29分 (1 月前) |
|---|
| 管理 | 2026-07-25 21時07分 (1 month later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 383321 [perwendel spark 直到 2.9.4 SparkJava ExternalResourceHandler.jav staticFiles.externalLocation 权限提升] |
|---|
| 积分 | 20 |
|---|