The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2020-6950

CVE-2020-6950: Eclipse Mojarra Path Traversal Flaw

CVE-2020-6950 is a directory traversal vulnerability in Eclipse Mojarra before version 2.3.14 that enables attackers to read arbitrary files. This article covers the technical details, affected versions, and mitigation.

Published: March 4, 2026

CVE-2020-6950 Overview

CVE-2020-6950 is a directory traversal vulnerability in Eclipse Mojarra, the reference implementation of JavaServer Faces (JSF). This vulnerability allows remote attackers to read arbitrary files from the server by manipulating the loc parameter or con parameter in HTTP requests. Eclipse Mojarra versions prior to 2.3.14 are affected, along with numerous Oracle products that bundle or depend on the vulnerable Mojarra library.

Critical Impact

Attackers can exploit this path traversal flaw to access sensitive configuration files, application source code, credentials, and other confidential data stored on vulnerable servers, potentially leading to full system compromise.

Affected Products

  • Eclipse Mojarra (versions prior to 2.3.14)
  • Oracle Banking Enterprise Default Management (2.10.0, 2.12.0)
  • Oracle Banking Platform (2.6.2, 2.7.1, 2.9.0, 2.12.0)
  • Oracle Communications Network Integrity (7.3.6)
  • Oracle Communications Pricing Design Center (12.0.0.3.0)
  • Oracle Hyperion Calculation Manager
  • Oracle Retail Merchandising System (19.0.1)
  • Oracle Solaris Cluster (4.0)
  • Oracle Time and Labor

Discovery Timeline

  • 2021-06-02 - CVE-2020-6950 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2020-6950

Vulnerability Analysis

This directory traversal vulnerability (CWE-22) exists in Eclipse Mojarra's resource handling mechanism. The JSF framework's resource loading functionality accepts user-controllable parameters (loc and con) that specify resource locations and contract names. Prior to the security fix, these parameters were not adequately validated for path traversal sequences, allowing attackers to escape the intended resource directory and access files elsewhere on the filesystem.

The vulnerability is particularly concerning because it requires no authentication to exploit—an attacker simply needs to craft malicious HTTP requests targeting the vulnerable resource endpoints. The attack can be executed remotely over the network and only requires user interaction in specific scenarios. While the vulnerability allows reading arbitrary files (high confidentiality impact), it does not permit modification or deletion of files.

Root Cause

The root cause lies in insufficient input validation within the ClasspathResourceHelper.java and ResourceManager.java classes. Specifically, the contractName parameter extracted from HTTP requests was directly used for resource path construction without checking for forbidden path sequences such as ../ or encoded variants. The existing nameContainsForbiddenSequence() method was available but was not being called to validate the con parameter before processing.

Attack Vector

The attack is network-based and targets the JSF resource handler endpoints. An attacker can craft HTTP requests with malicious loc or con parameter values containing directory traversal sequences (e.g., ../../../etc/passwd). When processed by the vulnerable Mojarra code, these sequences allow the attacker to traverse outside the intended resource directory and read arbitrary files accessible to the application server process.

java
// Security patch in ClasspathResourceHelper.java
// Before: No validation of contractName parameter
// After: Added nameContainsForbiddenSequence() check

         } else if (root == null) {
             String contractName = ctx.getExternalContext().getRequestParameterMap()
                   .get("con");
-            if (null != contractName && 0 < contractName.length()) {
+            if (null != contractName && 0 < contractName.length() && !ResourceManager.nameContainsForbiddenSequence(contractName)) {
                 contracts = new ArrayList<>();
                 contracts.add(contractName);
             } else {

Source: GitHub Mojarra Commit

java
// Security patch in ResourceManager.java
// Changed visibility of validation method to enable reuse

-    private static boolean nameContainsForbiddenSequence(String name) {
+    static boolean nameContainsForbiddenSequence(String name) {
         boolean result = false;
         if (name != null) {
             name = name.toLowerCase();

Source: GitHub Mojarra Commit

Detection Methods for CVE-2020-6950

Indicators of Compromise

  • HTTP requests to JSF resource endpoints containing ../ sequences in the loc or con parameters
  • Unusual access patterns to /javax.faces.resource/ URL paths with encoded traversal characters
  • Web server logs showing requests with URL-encoded sequences like %2e%2e%2f or ..%252f in resource parameters
  • Attempts to access sensitive files such as /etc/passwd, web.xml, or application property files via JSF endpoints

Detection Strategies

  • Implement web application firewall (WAF) rules to detect and block directory traversal patterns in HTTP parameters
  • Configure intrusion detection systems (IDS) to alert on requests containing path traversal sequences targeting JSF resources
  • Deploy SentinelOne Singularity to detect suspicious file access patterns and exploitation attempts at the endpoint level
  • Review application dependencies and verify Mojarra version using build tools (Maven/Gradle dependency analysis)

Monitoring Recommendations

  • Monitor web server access logs for anomalous requests to JSF resource handler URLs with special attention to loc and con parameters
  • Set up alerts for file access attempts outside the application's designated resource directories
  • Track and correlate failed file access attempts that may indicate reconnaissance or exploitation activity
  • Leverage SentinelOne's behavioral AI to detect post-exploitation activities if initial file disclosure leads to credential theft

How to Mitigate CVE-2020-6950

Immediate Actions Required

  • Upgrade Eclipse Mojarra to version 2.3.14 or later immediately
  • For Oracle products, apply the relevant Critical Patch Updates (CPU) from October 2021, January 2022, or April 2022
  • Implement WAF rules to filter requests containing directory traversal patterns in JSF resource parameters
  • Audit application logs for evidence of past exploitation attempts

Patch Information

The vulnerability was addressed in Eclipse Mojarra version 2.3.14. The fix adds proper validation of the con parameter by calling the nameContainsForbiddenSequence() method before processing resource requests. The security commit (cefbb9447e7be560e59da2da6bd7cb93776f7741) is available in the official Mojarra repository.

For Oracle products, patches are available through:

  • Oracle Critical Patch Update - October 2021
  • Oracle Critical Patch Update - January 2022
  • Oracle Critical Patch Update - April 2022

Additional details can be found in the Eclipse Bug Report #550943 and GitHub Mojarra Issue #4571.

Workarounds

  • Deploy a WAF or reverse proxy with rules to block requests containing ../, ..%2f, %2e%2e/, and similar traversal patterns in query parameters
  • Restrict network access to JSF resource endpoints using firewall rules where feasible
  • Implement additional input validation at the application level to reject requests with suspicious parameter values
  • Consider disabling unused JSF resource serving functionality if not required by the application
bash
# Example WAF rule for ModSecurity to block path traversal attempts
SecRule ARGS "@contains ../" \
    "id:100001,\
    phase:2,\
    deny,\
    status:403,\
    log,\
    msg:'Path Traversal Attack Detected in Parameter',\
    tag:'CVE-2020-6950'"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechEclipse Mojarra

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability51.33%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-22
  • Technical References
  • GitHub Mojarra Issue #4571
  • Vendor Resources
  • Eclipse Bug Report #550943

  • GitHub Mojarra Commit

  • Oracle Critical Patch April 2022

  • Oracle Critical Patch January 2022

  • Oracle Critical Patch October 2021
  • Latest CVEs
  • CVE-2025-70797: LimeSurvey XSS Vulnerability

  • CVE-2025-30650: Juniper Junos OS Auth Bypass Vulnerability

  • CVE-2026-35471: Goshs Path Traversal Vulnerability

  • CVE-2026-35393: Goshs Path Traversal Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English