| Titel | GitHub spark V 2.9.4 SparkJava External Static Files Symlink Escape Allows Local File |
|---|
| Beschreibung | 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. |
|---|
| Quelle | ⚠️ https://github.com/perwendel/spark/issues/1296 |
|---|
| Benutzer | naixiao (UID 92174) |
|---|
| Einreichung | 18.06.2026 05:29 (vor 1 Monat) |
|---|
| Moderieren | 25.07.2026 21:07 (1 month later) |
|---|
| Status | Akzeptiert |
|---|
| VulDB Eintrag | 383321 [perwendel spark bis 2.9.4 SparkJava ExternalResourceHandler.jav staticFiles.externalLocation erweiterte Rechte] |
|---|
| Punkte | 20 |
|---|