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-2025-59118

CVE-2025-59118: Apache OFBiz Path Traversal Vulnerability

CVE-2025-59118 is a path traversal flaw in Apache OFBiz that allows unrestricted file uploads with dangerous types. This article covers the technical details, affected versions, security impact, and mitigation.

Published: April 28, 2026

CVE-2025-59118 Overview

CVE-2025-59118 is an Unrestricted Upload of File with Dangerous Type vulnerability (CWE-434) affecting Apache OFBiz, a popular open-source enterprise resource planning (ERP) system. This vulnerability allows attackers to upload files with dangerous types without proper validation, potentially enabling remote code execution or other malicious activities on affected systems.

The vulnerability exists in Apache OFBiz versions prior to 24.09.03. Organizations running vulnerable versions of Apache OFBiz are exposed to network-based attacks that could compromise the confidentiality, integrity, and availability of their systems.

Critical Impact

Unrestricted file upload vulnerabilities can allow attackers to upload malicious executables, web shells, or other dangerous file types, potentially leading to complete system compromise through remote code execution.

Affected Products

  • Apache OFBiz versions prior to 24.09.03
  • All Apache OFBiz installations using default file upload functionality
  • Enterprise deployments utilizing Apache OFBiz for ERP operations

Discovery Timeline

  • November 12, 2025 - CVE-2025-59118 published to NVD
  • November 13, 2025 - Last updated in NVD database

Technical Details for CVE-2025-59118

Vulnerability Analysis

This vulnerability stems from insufficient validation of uploaded file types in Apache OFBiz. The application fails to properly restrict the types of files that can be uploaded through its file upload functionality. Without adequate file type validation, attackers can bypass intended security controls and upload files with dangerous extensions or content types.

The network-accessible nature of this vulnerability means that attackers can exploit it remotely without requiring authentication or user interaction. Successful exploitation could result in partial compromise of system confidentiality, integrity, and availability.

Root Cause

The root cause of CVE-2025-59118 is improper input validation in the file upload handling mechanism. Apache OFBiz versions before 24.09.03 do not adequately verify the type, content, or extension of uploaded files before storing them on the server. This allows malicious actors to upload executable code, web shells, or other dangerous file types that can be subsequently executed on the server.

Attack Vector

The attack vector for this vulnerability is network-based. An attacker can exploit this vulnerability by:

  1. Identifying a file upload endpoint in the Apache OFBiz application
  2. Crafting a malicious file (such as a JSP web shell or executable)
  3. Bypassing any client-side validation by directly sending the upload request
  4. Uploading the malicious file to the server
  5. Accessing or triggering the uploaded file to execute malicious code

The vulnerability does not require authentication or privileges to exploit, and no user interaction is needed, making it particularly dangerous for internet-facing Apache OFBiz deployments.

Detection Methods for CVE-2025-59118

Indicators of Compromise

  • Presence of unexpected or suspicious files in upload directories, particularly those with executable extensions (.jsp, .jspx, .war, .jar)
  • Unusual file access patterns in Apache OFBiz upload directories
  • Web server logs showing requests to recently uploaded files with executable content
  • Unexpected outbound network connections from the Apache OFBiz server
  • New or modified files with timestamps that don't align with normal business operations

Detection Strategies

  • Implement file integrity monitoring (FIM) on Apache OFBiz upload directories to detect unauthorized file additions
  • Configure web application firewall (WAF) rules to inspect file upload requests for dangerous file types
  • Monitor Apache OFBiz application logs for unusual file upload activity or error patterns
  • Deploy endpoint detection and response (EDR) solutions to identify post-exploitation behavior
  • Regularly scan upload directories for files with dangerous extensions or suspicious content

Monitoring Recommendations

  • Enable verbose logging for file upload operations in Apache OFBiz
  • Set up alerts for new file creations in web-accessible directories
  • Monitor network traffic for command-and-control patterns originating from the OFBiz server
  • Implement real-time log analysis for indicators of web shell activity

How to Mitigate CVE-2025-59118

Immediate Actions Required

  • Upgrade Apache OFBiz to version 24.09.03 or later immediately
  • Audit existing upload directories for any suspicious or malicious files
  • Implement network-level controls to restrict access to Apache OFBiz instances from untrusted networks
  • Review and remove any unauthorized files that may have been uploaded prior to patching
  • Consider temporarily disabling file upload functionality until the patch is applied if immediate upgrade is not possible

Patch Information

Apache has released version 24.09.03 to address this vulnerability. Users are strongly recommended to upgrade to this version or later to remediate the issue. The fix implements proper validation of uploaded file types to prevent the upload of dangerous file content.

For detailed patch information, refer to the Apache OFBiz Release Notes and the Apache OFBiz Download Page. Additional technical details can be found in the Apache JIRA Issue OFBIZ-13292.

Workarounds

  • Implement strict file type validation at the web server or reverse proxy level to block dangerous file extensions
  • Configure web application firewall rules to inspect and restrict file upload requests
  • Place Apache OFBiz behind a VPN or restrict network access to trusted IP addresses only
  • Implement file upload size limits and content-type validation at the infrastructure level
  • Regularly scan upload directories for suspicious files and remove any unauthorized content
bash
# Example: Block dangerous file extensions in Apache configuration
<Directory "/path/to/ofbiz/uploads">
    # Deny execution of uploaded scripts
    <FilesMatch "\.(jsp|jspx|war|jar|sh|exe|php)$">
        Require all denied
    </FilesMatch>
</Directory>

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechApache Ofbiz

  • SeverityHIGH

  • CVSS Score7.3

  • EPSS Probability0.17%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-434
  • Technical References
  • Apache JIRA Issue OFBIZ-13292

  • Apache OFBiz Download Page

  • Apache OFBiz Release Notes

  • Openwall OSS-Security Announcement
  • Vendor Resources
  • Apache Mailing List Thread

  • Apache OFBiz Security Page
  • Related CVEs
  • CVE-2024-32113: Apache OFBiz Path Traversal Vulnerability

  • CVE-2024-36104: Apache OFBiz Path Traversal Vulnerability

  • CVE-2025-54466: Apache OFBiz Scrum Plugin RCE Vulnerability

  • CVE-2024-45195: Apache OFBiz Auth Bypass 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