CVE-2020-6950
Java vulnerability analysis and mitigation

Overview

A directory traversal vulnerability was identified in Eclipse Mojarra before version 2.3.14. The vulnerability allows attackers to read arbitrary files through the 'loc' parameter or 'con' parameter (Eclipse Bug, CVE Mitre).

Technical details

The vulnerability exists in the resource handling mechanism of Eclipse Mojarra where insufficient validation of the 'loc' and 'con' parameters could allow path traversal attacks. The issue was discovered in 2019 and affects multiple versions of the software. The vulnerable locale code was added in 2017 (Mojarra 2.3) while the contract-related vulnerability has existed since 2013 (Mojarra 2.2) (Eclipse Bug).

Impact

The vulnerability could lead to the disclosure of restricted application files, such as WEB-INF/web.xml, through specially crafted HTTP requests. Research indicates this vulnerability has a potentially large impact on affected systems (Eclipse Bug).

Mitigation and workarounds

A fix was implemented in Mojarra version 2.3.14 through a commit that adds additional validation to prevent path traversal attempts. The fix includes checks using ResourceManager.nameContainsForbiddenSequence() to validate the contract name and locale prefix (Mojarra Commit).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-55749HIGH8.7
  • JavaJava
  • org.xwiki.platform:xwiki-platform-tool-jetty-resources
NoYesDec 01, 2025
CVE-2025-13806MEDIUM6.9
  • JavaJava
  • org.nutz:nutzboot-parent
NoNoDec 01, 2025
CVE-2025-13805MEDIUM6.3
  • JavaJava
  • org.nutz:nutzboot-parent
NoNoDec 01, 2025
CVE-2025-13804MEDIUM5.3
  • JavaJava
  • org.nutz:nutzboot-parent
NoNoDec 01, 2025
CVE-2025-66372LOW2.8
  • JavaJava
  • org.mustangproject:library
NoYesNov 28, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management