If the ${jetty.base}
directory or the ${jetty.base}/webapps
directory is a symlink (soft link in Linux), the contents of the ${jetty.base}/webapps
directory may be deployed as a static web application, exposing the content of the directory for download.
For example, the problem manifests in the following ${jetty.base}
:
```$ tree demo-base/
demo-base/
├── etc
├── lib
├── resources
├── start.d
├── deploy
│ └── async-rest.war
└── webapps -> deploy
```
Do not use a symlink
{ "nvd_published_at": "2021-04-01T15:15:00Z", "cwe_ids": [ "CWE-200", "CWE-59" ], "severity": "LOW", "github_reviewed": true, "github_reviewed_at": "2021-04-02T23:13:08Z" }