CVE-2018-14371: Path Traversal in Eclipse Mojarra
7.5
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.84997%
CWE
Published
5/14/2022
Updated
7/24/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
org.glassfish:mojarra-parent | maven | < 2.3.7 | 2.3.7 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from the getLocalePrefix
function's handling of the 'loc' parameter. The commit 1b43474 shows the fix added a 'nameContainsForbiddenSequence' check specifically for the localePrefix
value derived from this parameter. The CVE description explicitly mentions this function as the entry point for directory traversal via uncontrolled user input. The pre-patch code lacked path normalization/validation
, making it clearly vulnerable.