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
    • 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-2018-25325

CVE-2018-25325: WooCommerce CSV Importer Path Traversal

CVE-2018-25325 is a path traversal flaw in WooCommerce CSV Importer 3.3.6 that lets registered users delete arbitrary files via malicious filenames. This article covers the technical details, impact, and remediation steps.

Published: May 21, 2026

CVE-2018-25325 Overview

CVE-2018-25325 is a path traversal vulnerability [CWE-22] in Woocommerce CSV Importer 3.3.6, a WordPress plugin used to import product data into WooCommerce stores. The flaw resides in the delete_export_file AJAX action, which fails to sanitize the filename parameter supplied by authenticated users. Any registered user can submit directory traversal sequences to delete files outside the intended export directory. Attackers commonly target wp-config.php to force the WordPress site into setup mode, enabling site takeover. The vulnerability is exploitable remotely over the network without user interaction.

Critical Impact

Authenticated attackers with any role can delete arbitrary files on the WordPress server, including wp-config.php, leading to full site compromise.

Affected Products

  • Woocommerce CSV Importer plugin version 3.3.6
  • WordPress sites with the vulnerable plugin installed and active
  • Any environment allowing user registration with the affected plugin enabled

Discovery Timeline

  • 2026-05-17 - CVE-2018-25325 published to the National Vulnerability Database
  • 2026-05-18 - Last updated in NVD database

Technical Details for CVE-2018-25325

Vulnerability Analysis

The vulnerability exists in the delete_export_file AJAX handler exposed by Woocommerce CSV Importer 3.3.6. The handler accepts a filename parameter from POST requests and passes it to a file deletion routine without validating or sanitizing the path. Because WordPress AJAX endpoints registered with the wp_ajax_ prefix are accessible to all authenticated users regardless of role, any registered account can invoke this action. The lack of path normalization allows traversal sequences such as ../ to escape the plugin's export directory and reference files anywhere the web server process can write.

Root Cause

The root cause is improper limitation of a pathname to a restricted directory [CWE-22]. The plugin trusts user-supplied input as a filename and constructs the deletion target by concatenating the input with a base directory path. No basename() call, no allowlist check, and no capability check (current_user_can) is performed before deletion. This combination of missing input validation and missing authorization controls converts a routine cleanup action into an arbitrary file deletion primitive.

Attack Vector

An attacker registers an account on the target WordPress site, authenticates, and sends a POST request to /wp-admin/admin-ajax.php with the action set to delete_export_file and the filename parameter containing traversal sequences such as ../../../../wp-config.php. The server resolves the path and deletes the target file. Removing wp-config.php triggers the WordPress installation wizard on the next request, allowing the attacker to point the site at an attacker-controlled database and achieve remote code execution through the theme or plugin editor. Technical details and proof-of-concept exploitation are documented in Exploit-DB #44433 and the VulnCheck Security Advisory.

Detection Methods for CVE-2018-25325

Indicators of Compromise

  • POST requests to /wp-admin/admin-ajax.php containing action=delete_export_file combined with ../ or URL-encoded %2e%2e%2f sequences in the filename parameter
  • Unexpected deletion of wp-config.php, .htaccess, or other root-level WordPress files
  • WordPress installation wizard (/wp-admin/setup-config.php) appearing on a previously configured site
  • Newly registered low-privilege accounts immediately issuing AJAX requests to plugin endpoints

Detection Strategies

  • Inspect web server access logs for AJAX requests referencing delete_export_file and flag any containing path traversal patterns in request bodies
  • Deploy file integrity monitoring on the WordPress root and wp-content directories to alert on deletion of configuration or core files
  • Correlate authentication events from low-privilege accounts with AJAX file operation requests to identify abuse patterns

Monitoring Recommendations

  • Enable verbose logging on admin-ajax.php and forward logs to a centralized SIEM for traversal pattern matching
  • Alert on any process modifying or deleting wp-config.php outside of scheduled maintenance windows
  • Track plugin inventory across WordPress fleets and flag installations of Woocommerce CSV Importer at or below version 3.3.6

How to Mitigate CVE-2018-25325

Immediate Actions Required

  • Deactivate and remove Woocommerce CSV Importer 3.3.6 from all WordPress installations until a patched build is verified
  • Disable open user registration on affected sites or restrict the default role to limit AJAX endpoint exposure
  • Audit recently created accounts and remove any unauthorized registrations
  • Restore wp-config.php and any other deleted files from known-good backups if compromise is suspected

Patch Information

No vendor patch is referenced in the CVE record for version 3.3.6. Administrators should consult the VulnCheck Security Advisory and the plugin's WordPress repository page for any updated releases. If no fixed version is available, replace the plugin with a maintained alternative.

Workarounds

  • Apply a web application firewall rule to block POST requests to admin-ajax.php where the body contains both delete_export_file and traversal sequences (../, ..\, %2e%2e)
  • Set restrictive filesystem permissions so the web server user cannot delete wp-config.php or other files outside wp-content/uploads
  • Remove the plugin's PHP file or unregister the wp_ajax_delete_export_file action via a mu-plugin if the plugin must remain installed temporarily
bash
# Example ModSecurity rule to block traversal in the vulnerable AJAX action
SecRule REQUEST_URI "@contains /wp-admin/admin-ajax.php" \
  "chain,deny,status:403,id:1002518,msg:'CVE-2018-25325 path traversal attempt'"
  SecRule REQUEST_BODY "@rx (?i)action=delete_export_file.*(\.\./|%2e%2e%2f)"

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechWoocommerce

  • SeverityHIGH

  • CVSS Score8.7

  • EPSS Probability0.29%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-22
  • Technical References
  • Lenon Leite Security Blog

  • Exploit-DB #44433

  • VulnCheck Security Advisory
  • Related CVEs
  • CVE-2025-39378: WooCommerce Spreadsheet Price Changer LFI

  • CVE-2025-32587: WooCommerce Pickupp Path Traversal Flaw

  • CVE-2025-30835: WooCommerce Accounting File Inclusion Flaw

  • CVE-2025-7359: WooCommerce Counter Path Traversal Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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