Bug 572220 (CVE-2021-28163) - Jetty Symlink Directory Exposes Webapp Directory Contents
Summary: Jetty Symlink Directory Exposes Webapp Directory Contents
Status: RESOLVED FIXED
Alias: CVE-2021-28163
Product: Community
Classification: Eclipse Foundation
Component: Vulnerability Reports (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Security vulnerabilitied reported against Eclipse projects CLA
QA Contact:
URL:
Whiteboard:
Keywords: security
Depends on:
Blocks:
 
Reported: 2021-03-23 08:14 EDT by Christopher Walker CLA
Modified: 2021-04-01 10:23 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Walker CLA 2021-03-23 08:14:53 EDT
In 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.

Workaround: Do not use symlinks for Webapp directory

CWEs
CWE-200

CVSS Score
2.7 Low
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N

This will be resolved in Jetty 9.4.39, 10.0.2, and 11.0.2 which we are currently working on releases for.
Comment 1 Wayne Beaton CLA 2021-03-23 10:44:28 EDT
Use CVE-2021-28163

Let me know when you are ready for me to submit the CVE and commit the advisory.
Comment 2 Christopher Walker CLA 2021-03-30 09:02:57 EDT
Wayne,

Please feel free to publish the CVE and security advisory: https://github.com/eclipse/jetty.project/security/advisories/GHSA-j6qj-j888-vvgq
Comment 3 Wayne Beaton CLA 2021-04-01 10:18:01 EDT
I've pushed the CVE.

https://github.com/CVEProject/cvelist/pull/1233