2.7low
Directory exposure in jetty
- Severity
- 2.7low CVSS:3.1 by eclipse
- Exploit likelihood
- 4.18% (higher than 91% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- eclipse
- Also known as
- GHSA-j6qj-j888-vvgqBIT-SOLR-2021-28163
Description
In Eclipse Jetty 9.4.32 to 9.4.38, 10.0.0.beta2 to 10.0.1, and 11.0.0.beta2 to 11.0.1, if a user uses a webapps directory that is a symlink, the contents of the webapps directory is deployed as a static webapp, inadvertently serving the webapps themselves and anything else that might be in that directory.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| The Eclipse Foundation Eclipse Jetty | from 9.4.32 before unspecified, from unspecified up to 9.4.38, from 10.0.0.beta2 before unspecified, from unspecified up to 10.0.1, from 11.0.0.beta2 before unspecified, from unspecified up to 11.0.1 | CVE List |
| org.eclipse.jetty:jetty-deploy (Maven) | from 9.4.32 before 9.4.39, from 10.0.0 before 10.0.2, from 11.0.0 before 11.0.2 | GitHub Advisory Database |
| eclipse jetty | from 9.4.32 before 9.4.39, 10.0.0, 10.0.1, 11.0.0, 11.0.1 | NVD |
| fedoraproject fedora | 32, 33, 34 | NVD |
| apache ignite | before 2.1.1 | NVD |
| apache solr | 8.8.1 | NVD |
| netapp cloud_manager | Not specified | NVD |
| netapp e-series_performance_analyzer | Not specified | NVD |
| netapp e-series_santricity_os_controller | from 11.0.0 up to 11.70.1 | NVD |
| netapp e-series_santricity_web_services | Not specified | NVD |
| netapp element_plug-in_for_vcenter_server | Not specified | NVD |
| netapp santricity_cloud_connector | Not specified | NVD |
| netapp snapcenter | Not specified | NVD |
| netapp snapcenter_plug-in | Not specified | NVD |
| netapp storage_replication_adapter_for_clustered_data_ontap | from 9.6 | NVD |
| netapp vasa_provider_for_clustered_data_ontap | from 9.6 | NVD |
| netapp virtual_storage_console | from 9.6 | NVD |
| oracle autovue_for_agile_product_lifecycle_management | 21.0.2 | NVD |
| oracle banking_apis | 20.1, 21.1 | NVD |
| oracle banking_digital_experience | 20.1, 21.1 | NVD |
| oracle communications_element_manager | 8.2.2 | NVD |
| oracle communications_services_gatekeeper | 7.0 | NVD |
| oracle communications_session_report_manager | from 8.0.0 up to 8.2.4.0 | NVD |
| oracle communications_session_route_manager | from 8.0.0 up to 8.2.4.0 | NVD |
| oracle siebel_core_-_automation | up to 21.9 | NVD |
| solr (Bitnami) | from 8.8.1 before 8.8.2 | Bitnami Vulnerability Database |
All scores
| eclipse | 2.7low CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N |
| GitHub | 2.7low CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N |
| NVD | 2.7low CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N |
| NVD | 4.0medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
| Bitnami Vulnerability Database | low rating |
Classification
What each source says
CVE List
In Eclipse Jetty 9.4.32 to 9.4.38, 10.0.0.beta2 to 10.0.1, and 11.0.0.beta2 to 11.0.1, if a user uses a webapps directory that is a symlink, the contents of the webapps directory is deployed as a static webapp, inadvertently serving the webapps themselves and anything else that might be in that directory.
GitHub Advisory Database
Impact
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}:
demo-base/
├── etc
├── lib
├── resources
├── start.d
├── deploy
│ └── async-rest.war
└── webapps -> deploy
Workarounds
Do not use a symlink
NVD (es)
En Eclipse Jetty versiones 9.4.32 hasta 9.4.38, versiones 10.0.0.beta2 hasta 10.0.1 y versiones 11.0.0.beta2 hasta 11.0.1, si un usuario usa un directorio de aplicaciones web que es un enlace simbólico, el contenido del directorio de aplicaciones web se implementa como una aplicación web estática, sin darse cuenta, sirviendo las aplicaciones web en sí y cualquier otra cosa que pueda estar en ese directorio.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-28163 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-j6qj-j888-vvgq changed 2026-07-08 | CC-BY-4.0 |
| NVD | CVE-2021-28163 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-SOLR-2021-28163 changed 2026-09-08 | Apache-2.0 |