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-47933

CVE-2021-47933: WordPress MStore API RCE Vulnerability

CVE-2021-47933 is a remote code execution flaw in WordPress MStore API 2.0.6 that allows unauthenticated attackers to upload malicious PHP files. This post covers the technical details, affected versions, and mitigation steps.

Published: May 18, 2026

CVE-2021-47933 Overview

CVE-2021-47933 is an arbitrary file upload vulnerability in the WordPress MStore API plugin version 2.0.6. The flaw allows unauthenticated attackers to upload malicious files by sending crafted POST requests to a REST API endpoint. Attackers can place PHP files with arbitrary names at the config_file endpoint, achieving remote code execution on the underlying server. The weakness is classified as [CWE-306] Missing Authentication for Critical Function. The MStore API plugin is widely deployed on WordPress sites that power mobile commerce applications, increasing the exposure surface.

Critical Impact

Unauthenticated remote attackers can upload PHP files to vulnerable WordPress sites and execute arbitrary code, leading to full server compromise.

Affected Products

  • WordPress MStore API plugin version 2.0.6
  • WordPress sites running the vulnerable MStore API REST endpoint
  • Mobile commerce backends built on the MStore API plugin

Discovery Timeline

  • 2026-05-10 - CVE-2021-47933 published to the National Vulnerability Database (NVD)
  • 2026-05-12 - Last updated in NVD database

Technical Details for CVE-2021-47933

Vulnerability Analysis

The MStore API plugin exposes a REST API endpoint that accepts file uploads without enforcing authentication or authorization. The endpoint does not validate the identity of the requester, the file type, or the file extension before writing content to disk. As a result, an attacker can send a POST request containing a PHP payload and place it within a web-accessible directory.

Once the PHP file is uploaded, the attacker can request it through the web server to trigger code execution. Code execution runs in the context of the web server user, granting access to the WordPress installation, database credentials, and any data the web process can reach. The vulnerability is reachable over the network and requires no user interaction, which maximizes the population of exploitable hosts.

Root Cause

The root cause is missing authentication on a critical REST API function, mapped to [CWE-306]. The config_file endpoint handler accepts incoming file content from unauthenticated requests and writes it to disk using attacker-controlled file names. The plugin does not enforce a permission callback, does not restrict file extensions, and does not validate MIME types. This combination converts a single unauthenticated request into a reliable remote code execution primitive.

Attack Vector

Attackers send a POST request directly to the vulnerable REST API route on any WordPress site running MStore API 2.0.6. The request body includes a PHP file with an arbitrary file name and extension. The plugin writes the file to a public path, and the attacker then issues a GET request to invoke the payload. Public exploit material is referenced in Exploit-DB #50379 and the VulnCheck advisory.

Detection Methods for CVE-2021-47933

Indicators of Compromise

  • Unexpected .php files appearing under WordPress upload or plugin directories, especially paths associated with the MStore API plugin.
  • POST requests to MStore API REST routes containing the config_file parameter from unauthenticated clients.
  • Outbound connections from the web server process (php-fpm, www-data, or apache) to unfamiliar external hosts following an upload event.

Detection Strategies

  • Inspect web server access logs for POST requests targeting /wp-json/ routes belonging to the MStore API plugin with non-image payloads.
  • Monitor the WordPress filesystem for newly created PHP files in upload directories and correlate creation timestamps with inbound HTTP requests.
  • Hunt for web shell behavior, such as the web server process spawning shells (/bin/sh, bash) or system reconnaissance commands (whoami, id, uname).

Monitoring Recommendations

  • Enable file integrity monitoring on wp-content/uploads/ and plugin directories to alert on new executable PHP files.
  • Forward WordPress access and error logs to a centralized analytics platform for correlation with process telemetry.
  • Alert on any request to the config_file endpoint and review the source IP, user agent, and payload size for anomalies.

How to Mitigate CVE-2021-47933

Immediate Actions Required

  • Remove or deactivate the MStore API plugin version 2.0.6 until a patched release is installed.
  • Audit the WordPress filesystem for unauthorized PHP files in upload paths and delete confirmed web shells.
  • Rotate WordPress administrator credentials, database passwords, and any API keys stored in wp-config.php if compromise is suspected.

Patch Information

Upgrade the MStore API plugin to the latest version available from the WordPress plugin repository. Confirm the installed version after upgrade and validate that the vulnerable config_file endpoint now enforces authentication and rejects PHP file uploads. Review the VulnCheck advisory for the fixed version details.

Workarounds

  • Block requests to MStore API REST routes at a web application firewall (WAF) until the plugin is updated.
  • Disable PHP execution in wp-content/uploads/ using web server configuration to prevent uploaded files from running.
  • Restrict access to /wp-json/ endpoints by source IP where the API is only used by known mobile backends.
bash
# Apache: prevent PHP execution in WordPress uploads directory
<Directory "/var/www/html/wp-content/uploads">
    <FilesMatch "\.(php|phtml|phar)$">
        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
  • TypeRCE

  • Vendor/TechWordpress

  • SeverityCRITICAL

  • CVSS Score9.3

  • EPSS Probability0.22%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/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-306
  • Technical References
  • WordPress Plugin Information

  • Exploit-DB #50379

  • VulnCheck Advisory on WordPress
  • Related CVEs
  • CVE-2026-6271: Career Section WordPress Plugin RCE Flaw

  • CVE-2020-37169: Ultimate Member WordPress Plugin RCE Flaw

  • CVE-2026-3425: RTMKit Addons for Elementor RCE Flaw

  • CVE-2026-6433: WordPress Custom css-js-php RCE Flaw
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