Apache Juneau file access outside root in DirectoryResource
Apache Software Foundation Apache Juneau
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Apache Software Foundation Apache Juneau |
| No fix yet |
| Apache Software Foundation Apache Juneau |
| No fix yet |
Original description
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Apache Juneau.
The microservice DirectoryResource does not keep request paths inside its configured root directory. When an application enables the resource's view, upload or delete settings (all off by default), a client can read, write or delete files outside the root, anywhere the server process has access.