Description
Winstone Servlet Engine through 0.9.10 contains a path traversal vulnerability that allows unauthenticated attackers to read arbitrary files by sending HTTP GET requests with dot-dot-slash sequences that are not sanitized when serving static files from the configured webroot. Attackers can traverse outside the webroot directory using traversal-prefixed paths in a single HTTP request to read any file accessible to the servlet engine process, including sensitive system files when the service runs with elevated privileges.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| rickknowles | Winstone Servlet Container | ≤ 0.9.10 | — |
References
- https://gist.github.com/VAMorales/ce93f10215c43b2a8344426f4dd59cd3 technical-description exploit
- https://winstone.sourceforge.net/ product
- https://www.vulncheck.com/advisories/winstone-servlet-engine-path-traversal-via-http-request-paths third-party-advisory