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-2021-47979

CVE-2021-47979: WordPress Backup Plugin File Deletion Flaw

CVE-2021-47979 is an arbitrary file deletion vulnerability in WordPress Backup and Restore Plugin 1.0.3 that lets authenticated attackers delete files via AJAX requests. This article covers technical details, affected versions, and mitigation.

Published: May 21, 2026

CVE-2021-47979 Overview

CVE-2021-47979 is an arbitrary file deletion vulnerability in the WordPress Backup and Restore plugin version 1.0.3. Authenticated attackers can delete arbitrary files on the WordPress server by sending crafted AJAX requests to admin-ajax.php. The vulnerability stems from improper validation of the file_name and folder_name parameters, allowing path traversal sequences to escape the intended backup directory. Successful exploitation can lead to deletion of critical WordPress files such as wp-config.php, which forces the site into the setup state and can enable site takeover.

Critical Impact

Authenticated attackers can delete arbitrary files including wp-config.php, enabling full site takeover via the WordPress reinstallation flow.

Affected Products

  • WordPress Plugin Backup and Restore version 1.0.3
  • WordPress installations with the Backup and Restore for WP plugin enabled
  • Sites running the vulnerable plugin maintained by MiniOrange Security Solutions

Discovery Timeline

  • 2026-05-16 - CVE-2021-47979 published to the National Vulnerability Database (NVD)
  • 2026-05-18 - Last updated in NVD database

Technical Details for CVE-2021-47979

Vulnerability Analysis

The flaw is a path traversal weakness classified under [CWE-22]. The Backup and Restore plugin exposes AJAX actions through wp-admin/admin-ajax.php that accept user-controlled file and folder names. The handler concatenates these parameters into a filesystem path and invokes a delete operation without canonicalizing the resulting path or restricting it to the plugin's backup directory.

Because the plugin only verifies that the requester is authenticated and does not enforce strong capability checks on the deletion endpoint, low-privilege authenticated users can reach the vulnerable code path. The attacker supplies ../ sequences in the parameters to traverse out of the backup directory and target arbitrary files within the WordPress installation tree. According to the Exploit-DB entry #50503, the exploitation technique uses POST requests with path traversal payloads in the JSON body.

Root Cause

The root cause is missing input sanitization on the file_name and folder_name parameters passed to the AJAX file deletion handler. The plugin does not normalize the path, reject traversal sequences, or restrict deletion to files inside an allowlisted directory. Authorization checks rely only on session authentication rather than role-based capability verification.

Attack Vector

The attacker authenticates to WordPress with any valid account and submits a POST request to admin-ajax.php invoking the plugin's deletion action. The body contains file_name and folder_name values constructed with ../ sequences pointing at the WordPress root, for example targeting wp-config.php. The server executes the delete operation, removing the file. With wp-config.php removed, the next page request triggers the WordPress installation wizard, allowing the attacker to reconfigure the database and take over the site. Refer to the VulnCheck Advisory for the WordPress Plugin Backup and Restore arbitrary file deletion issue and Exploit-DB entry #50503 for technical details.

Detection Methods for CVE-2021-47979

Indicators of Compromise

  • POST requests to /wp-admin/admin-ajax.php containing file_name or folder_name parameters with ../ traversal sequences
  • Unexpected absence or recent deletion of wp-config.php, .htaccess, or core WordPress PHP files
  • WordPress installation wizard (wp-admin/install.php) appearing on a previously configured site
  • Web server log entries showing authenticated requests to the Backup and Restore plugin's AJAX actions from low-privilege user sessions

Detection Strategies

  • Inspect HTTP request bodies sent to admin-ajax.php for path traversal patterns in JSON parameters
  • Monitor file integrity on the WordPress document root to flag deletion of core configuration files
  • Correlate authenticated subscriber-level sessions with administrative AJAX actions that should require higher privileges

Monitoring Recommendations

  • Enable WordPress audit logging to capture plugin AJAX actions per user role
  • Forward web server access logs to a centralized analytics platform and alert on admin-ajax.php traffic containing ..%2F or ../ substrings
  • Run periodic checksum validation against WordPress core and plugin files to identify unauthorized deletions

How to Mitigate CVE-2021-47979

Immediate Actions Required

  • Deactivate and remove the Backup and Restore plugin version 1.0.3 from all WordPress installations until a patched release is verified
  • Audit existing user accounts and revoke unnecessary low-privilege accounts that could be leveraged by an authenticated attacker
  • Restore a known-good backup of wp-config.php and core files if deletions are detected

Patch Information

Review the official Backup and Restore plugin page on WordPress.org and the MiniOrange Security Solutions site for an updated release that addresses the file deletion flaw. Apply the patched version on all affected sites and confirm the AJAX deletion handler now enforces capability checks and path normalization.

Workarounds

  • Block POST requests to /wp-admin/admin-ajax.php that contain ../ or URL-encoded traversal sequences at the web application firewall (WAF) layer
  • Restrict access to /wp-admin/ to known administrator IP ranges where feasible
  • Move wp-config.php one directory above the WordPress root, which WordPress supports natively, to reduce the impact of arbitrary file deletion in the document root
bash
# Example WAF rule (ModSecurity) to block path traversal in admin-ajax.php requests
SecRule REQUEST_URI "@contains /wp-admin/admin-ajax.php" \
    "chain,phase:2,deny,status:403,id:1004799,msg:'Blocked path traversal in WordPress AJAX request'"
    SecRule REQUEST_BODY "@rx (\.\./|\.\.%2[fF])" "t:none"

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechWordpress

  • SeverityHIGH

  • CVSS Score8.7

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/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
  • AvailabilityHigh
  • CWE References
  • CWE-22
  • Technical References
  • WordPress Backup Plugin Overview

  • Exploit-DB #50503

  • MiniOrange Security Solutions

  • VulnCheck Advisory: WordPress Plugin Issue
  • Related CVEs
  • CVE-2026-6381: WP Maps Path Traversal Vulnerability

  • CVE-2018-25324: Simple Fields WordPress Path Traversal

  • CVE-2021-47977: WordPress Anti-Malware Path Traversal Flaw

  • CVE-2026-6403: WordPress Quick Playground Path Traversal
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