GHSA-j8r2-47rx-qhw4
Robocode vulnerable to Directory Traversal in recursivelyDelete Method
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | net.sf.robocode:robocode.core | < 1.9.5.6 | 1.9.5.6 |
Details
As written in the advisory (Markdown source, shown as plain text).
A directory traversal vulnerability exists in the CacheCleaner component of Robocode version 1.9.3.6. The recursivelyDelete method fails to properly sanitize file paths, allowing attackers to traverse directories and delete arbitrary files on the system. This vulnerability can be exploited by submitting specially crafted inputs that manipulate the file path, leading to potential unauthorized file deletions.
References
External links from the advisory. They lead to third-party sites.