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

CVE-2021-24155: Backup Guard WordPress Plugin RCE Flaw

CVE-2021-24155 is a remote code execution vulnerability in Backup Guard WordPress plugin that allows admin users to upload arbitrary PHP files. This article covers the technical details, affected versions, and mitigation.

Published: February 25, 2026

CVE-2021-24155 Overview

CVE-2021-24155 is an arbitrary file upload vulnerability in the WordPress Backup and Migrate Plugin – Backup Guard prior to version 1.6.0. The plugin failed to properly validate that imported backup files conform to the expected SGBP format and extension, allowing authenticated administrators to upload arbitrary files, including malicious PHP scripts. Successful exploitation leads to Remote Code Execution (RCE) on the underlying web server.

Critical Impact

Authenticated administrators can upload arbitrary PHP files through the backup import functionality, achieving full Remote Code Execution on the WordPress server. With exploit code publicly available, this vulnerability poses a significant risk to unpatched installations.

Affected Products

  • Backup Guard WordPress Plugin versions prior to 1.6.0
  • WordPress installations running vulnerable Backup Guard versions
  • Web servers hosting affected WordPress instances

Discovery Timeline

  • 2021-04-05 - CVE-2021-24155 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2021-24155

Vulnerability Analysis

The Backup Guard plugin provides WordPress administrators with backup and migration capabilities. A critical flaw exists in the file import functionality where the plugin fails to validate that uploaded backup files have the proper SGBP format and file extension before processing them. This insufficient input validation allows an attacker with administrator privileges to upload arbitrary files, including PHP scripts that can execute commands on the server.

While the attack requires administrative credentials, this can still be exploited in scenarios involving compromised admin accounts, social engineering attacks against site administrators, or in multi-tenant WordPress environments where untrusted parties have admin access to individual sites.

Root Cause

The root cause is CWE-434 (Unrestricted Upload of File with Dangerous Type). The backup import functionality does not implement proper validation checks to ensure that uploaded files match the expected SGBP backup format. The plugin processes any uploaded file regardless of its actual content type or extension, allowing PHP files to be uploaded to the server's web-accessible directory structure.

Attack Vector

An authenticated attacker with administrator privileges can exploit this vulnerability through the following attack flow:

  1. The attacker logs into the WordPress admin dashboard with administrator credentials
  2. Navigates to the Backup Guard plugin's import functionality
  3. Uploads a malicious PHP file (such as a web shell) disguised as a backup file
  4. The plugin accepts and stores the file without validating its format
  5. The attacker accesses the uploaded PHP file directly via the web server
  6. Arbitrary PHP code executes with the privileges of the web server process

The vulnerability mechanism involves bypassing file type validation in the backup import handler. When a file is submitted through the import function, the plugin should verify both the file extension and the internal file format match the expected SGBP backup structure. Instead, the plugin processes files without these checks, allowing attackers to upload executable PHP scripts that can be accessed via direct URL requests, resulting in code execution. Detailed technical exploitation information is available in the Packet Storm Shell Upload Exploit and Packet Storm Remote Code Execution Exploit advisories.

Detection Methods for CVE-2021-24155

Indicators of Compromise

  • Unexpected PHP files in the Backup Guard plugin upload directories
  • Web server access logs showing requests to unusual PHP files in plugin directories
  • Suspicious POST requests to the Backup Guard import functionality with non-SGBP file content
  • Evidence of web shell activity such as command execution or reverse shell connections

Detection Strategies

  • Monitor WordPress plugin directories for newly created PHP files outside of normal update cycles
  • Implement file integrity monitoring on the WordPress installation directories
  • Analyze web server logs for HTTP requests to suspicious PHP files in the wp-content/plugins/backup-guard/ directory
  • Deploy web application firewall (WAF) rules to detect file upload attacks targeting WordPress plugins

Monitoring Recommendations

  • Enable audit logging for WordPress administrative actions, particularly plugin operations
  • Configure SentinelOne agents to monitor for suspicious PHP file creation in web directories
  • Set up alerts for outbound network connections initiated by the web server process
  • Monitor for process spawning from the PHP interpreter that may indicate shell execution

How to Mitigate CVE-2021-24155

Immediate Actions Required

  • Update Backup Guard plugin to version 1.6.0 or later immediately
  • Review WordPress plugin directories for any unauthorized PHP files
  • Audit WordPress admin user accounts and verify no unauthorized access has occurred
  • Consider temporarily disabling the Backup Guard plugin if immediate patching is not possible

Patch Information

The vulnerability is addressed in Backup Guard version 1.6.0 which implements proper validation of imported backup files. Update the plugin through the WordPress admin dashboard or download the latest version from the WordPress plugin repository. After updating, verify the plugin version in the Plugins section of the WordPress admin area. Additional vulnerability details are available in the WPScan Vulnerability Report.

Workarounds

  • Restrict WordPress administrator access to trusted users only until patching is complete
  • Implement server-level file upload restrictions to block PHP files from being uploaded through the web application
  • Configure the web server to deny execution of PHP files in the Backup Guard upload directories
  • Use a Web Application Firewall to filter malicious file upload attempts
bash
# Apache configuration to prevent PHP execution in plugin upload directory
# Add to .htaccess in wp-content/plugins/backup-guard/
<FilesMatch "\.php$">
    Require all denied
</FilesMatch>

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechBackup Guard

  • SeverityHIGH

  • CVSS Score7.2

  • EPSS Probability93.12%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-434
  • Technical References
  • Packet Storm Shell Upload Exploit

  • Packet Storm Remote Code Execution Exploit

  • WPScan Vulnerability Report
  • 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