Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-2022-23457

CVE-2022-23457: OWASP ESAPI Path Traversal Vulnerability

CVE-2022-23457 is a path traversal vulnerability in OWASP Enterprise Security API that allows attackers to bypass directory validation checks. This article covers the technical details, affected versions, and mitigation.

Published: February 17, 2026

CVE-2022-23457 Overview

CVE-2022-23457 is a path traversal vulnerability in ESAPI (The OWASP Enterprise Security API), a free, open source, web application security control library. Prior to version 2.3.0.0, the default implementation of Validator.getValidDirectoryPath(String, String, File, boolean) may incorrectly treat the tested input string as a child of the specified parent directory. This potentially allows control-flow bypass checks to be defeated if an attacker can specify the entire string representing the 'input' path.

This vulnerability is particularly concerning as ESAPI is designed to be a security control library—making a security bypass in such a library especially impactful for applications relying on it for input validation and path security checks.

Critical Impact

Attackers can bypass directory path validation controls to access or manipulate files outside the intended directory, potentially leading to unauthorized data access, data modification, or remote code execution in downstream applications.

Affected Products

  • OWASP Enterprise Security API (versions prior to 2.3.0.0)
  • Oracle WebLogic Server (12.2.1.3.0, 12.2.1.4.0, 14.1.1.0.0)
  • NetApp Active IQ Unified Manager (Linux, VMware vSphere, Windows)
  • NetApp OnCommand Workflow Automation

Discovery Timeline

  • 2022-04-25 - CVE-2022-23457 published to NVD
  • 2025-11-03 - Last updated in NVD database

Technical Details for CVE-2022-23457

Vulnerability Analysis

The vulnerability exists in the Validator.getValidDirectoryPath() method within ESAPI's default implementation. This method is intended to validate that a given directory path is a legitimate child of a specified parent directory—a common security pattern to prevent directory traversal attacks.

However, due to a flaw in the validation logic, the method may incorrectly determine that an attacker-controlled input path is a valid child directory when it actually is not. This creates a dangerous situation where applications depending on ESAPI for path validation can be tricked into accepting malicious paths that traverse outside the intended directory boundaries.

The irony of this vulnerability is significant: ESAPI is specifically designed as a security control library to help developers implement secure coding practices. A path traversal vulnerability in the very library meant to prevent such attacks creates a false sense of security for applications relying on it.

Root Cause

The root cause is improper input validation in the Validator.getValidDirectoryPath() method. The method fails to properly canonicalize and validate the relationship between the input path and the specified parent directory. When an attacker can control the entire 'input' path string, they can craft a path that bypasses the parent directory check, allowing access to directories and files outside the intended scope.

This represents a classic CWE-22 (Path Traversal) weakness where directory traversal sequences or absolute paths can escape the intended directory constraints.

Attack Vector

The attack is network-exploitable and requires no authentication or user interaction. An attacker can exploit this vulnerability by supplying a crafted directory path to an application that uses ESAPI's Validator.getValidDirectoryPath() method for validation.

The attack scenario involves:

  1. Identifying an application endpoint that accepts file or directory path input
  2. Confirming the application uses ESAPI for path validation
  3. Crafting a malicious path string that exploits the validation bypass
  4. Submitting the crafted path to access files or directories outside the intended parent directory

Since this bypasses a security control, the actual impact depends on how the application uses the validated path—potentially leading to information disclosure, arbitrary file read, or in some cases, code execution if the path is used in file operations.

Detection Methods for CVE-2022-23457

Indicators of Compromise

  • Unexpected file access patterns in application logs, particularly involving paths outside expected directories
  • Web application firewall logs showing path traversal sequences (../, ..%2f, etc.) that result in successful requests
  • Application errors or exceptions related to file operations in unexpected directories
  • Audit logs showing access to sensitive configuration files or system directories from web application contexts

Detection Strategies

  • Monitor application logs for path traversal patterns in file operation requests
  • Implement file integrity monitoring on sensitive directories and configuration files
  • Deploy web application firewalls with rules to detect and block path traversal attempts
  • Scan Java applications for ESAPI library versions prior to 2.3.0.0 using software composition analysis tools

Monitoring Recommendations

  • Enable verbose logging for file system operations in applications using ESAPI
  • Configure SIEM rules to alert on suspicious file access patterns outside normal application directories
  • Implement runtime application self-protection (RASP) to detect exploitation attempts
  • Regularly audit application dependencies to identify vulnerable ESAPI versions

How to Mitigate CVE-2022-23457

Immediate Actions Required

  • Upgrade ESAPI to version 2.3.0.0 or later immediately
  • Inventory all applications using ESAPI and prioritize patching based on exposure
  • Review application code to identify all uses of Validator.getValidDirectoryPath() method
  • Implement additional path validation controls as defense-in-depth while patching is in progress
  • For Oracle WebLogic Server deployments, apply the Oracle Critical Patch Update from July 2022

Patch Information

The vulnerability is patched in ESAPI release 2.3.0.0. Organizations should update their ESAPI dependency to this version or later. For detailed release information, refer to the ESAPI Release Notes.

Additional vendor patches are available:

  • Oracle Critical Patch Update - July 2022 for WebLogic Server
  • NetApp Security Advisory for Active IQ Unified Manager and OnCommand Workflow Automation
  • Debian LTS Announcement for Debian-based systems

Workarounds

  • Implement a custom Validator interface implementation with stricter path validation logic (not recommended by maintainers due to complexity)
  • Apply additional input validation before calling ESAPI validation methods
  • Use file system access controls to limit the directories accessible to the application
  • Deploy web application firewalls to filter path traversal patterns at the network perimeter
bash
# Maven dependency update example - upgrade to patched version
# Update pom.xml to use ESAPI 2.3.0.0 or later:
# <dependency>
#     <groupId>org.owasp.esapi</groupId>
#     <artifactId>esapi</artifactId>
#     <version>2.3.0.0</version>
# </dependency>

# Verify current ESAPI version in use
mvn dependency:tree -Dincludes=org.owasp.esapi:esapi

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechOwasp Enterprise Security Api

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.39%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-22
  • Technical References
  • GitHub Release Notes

  • NetApp Security Advisory

  • GitHub Security Lab Advisory

  • Debian LTS Announcement
  • Vendor Resources
  • GitHub Security Advisory

  • Oracle Critical Patch Update
  • Related CVEs
  • CVE-2022-24891: OWASP ESAPI XSS 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