Skip to content

Apache MyFaces Vulnerable to Path Traversal

Moderate severity GitHub Reviewed Published May 13, 2022 to the GitHub Advisory Database • Updated Aug 16, 2023

Package

maven org.apache.myfaces.core:myfaces-impl (Maven)

Affected versions

>= 2.0.0, < 2.0.12
>= 2.1.0, < 2.1.6

Patched versions

2.0.12
2.1.6

Description

Multiple directory traversal vulnerabilities in MyFaces JavaServer Faces (JSF) in Apache MyFaces Core 2.0.x before 2.0.12 and 2.1.x before 2.1.6 allow remote attackers to read arbitrary files via a .. (dot dot) in the (1) ln parameter to faces/javax.faces.resource/web.xml or (2) the PATH_INFO to faces/javax.faces.resource/.

References

Published by the National Vulnerability Database Jun 19, 2014
Published to the GitHub Advisory Database May 13, 2022
Reviewed Nov 2, 2022
Last updated Aug 16, 2023

Severity

Moderate

EPSS score

Exploit Prediction Scoring System (EPSS)

This score estimates the probability of this vulnerability being exploited within the next 30 days. Data provided by FIRST.
(99th percentile)

Weaknesses

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. Learn more on MITRE.

CVE ID

CVE-2011-4367

GHSA ID

GHSA-gjfx-9wx3-j6r7

Source code

No known source code
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.