A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-2024-10942

CVE-2024-10942: All-in-One WP Migration Plugin RCE Flaw

CVE-2024-10942 is a PHP Object Injection flaw in All-in-One WP Migration and Backup plugin for WordPress that enables remote code execution. This article covers technical details, affected versions, impact, and mitigation.

Published: May 26, 2026

CVE-2024-10942 Overview

CVE-2024-10942 is a PHP Object Injection vulnerability affecting the All-in-One WP Migration and Backup plugin for WordPress. The flaw exists in all versions up to and including 7.89, within the replace_serialized_values function. The function deserializes untrusted input, allowing unauthenticated attackers to inject arbitrary PHP objects into the application. Exploitation requires an administrator to export and restore a backup, which classifies this as a user-interaction vulnerability. While no Property-Oriented Programming (POP) chain exists in the plugin itself, a chain provided by another installed plugin or theme could enable arbitrary file deletion, sensitive data retrieval, or code execution. The vulnerability is tracked under [CWE-502: Deserialization of Untrusted Data].

Critical Impact

Unauthenticated attackers can inject PHP objects that, when combined with an external POP chain, may lead to arbitrary file deletion, data exfiltration, or remote code execution.

Affected Products

  • All-in-One WP Migration and Backup plugin for WordPress
  • All plugin versions up to and including 7.89
  • WordPress sites where administrators import backup archives produced by an attacker

Discovery Timeline

  • 2025-03-13 - CVE-2024-10942 published to the National Vulnerability Database (NVD)
  • 2026-04-15 - Last updated in NVD database

Technical Details for CVE-2024-10942

Vulnerability Analysis

The vulnerability resides in the replace_serialized_values function located in lib/vendor/servmask/database/class-ai1wm-database-utility.php. During backup restoration, the plugin processes serialized values from the backup archive and passes them to PHP's unserialize() routine without sufficient validation. Attacker-controlled serialized data is treated as trusted, enabling instantiation of arbitrary PHP objects within the application context. Although the plugin codebase does not ship a usable POP chain, WordPress sites frequently load dozens of plugins and themes that introduce exploitable magic methods such as __destruct, __wakeup, or __toString. When such gadgets exist, an injected object can chain into operations that delete files, read sensitive configuration, or invoke arbitrary code paths.

Root Cause

The root cause is unsafe deserialization of attacker-controlled data inside the backup restoration workflow. The function does not enforce an allow-list of permitted classes and does not validate the integrity or origin of serialized payloads before invoking PHP object instantiation.

Attack Vector

An attacker crafts a malicious backup archive containing serialized PHP objects designed to trigger gadget chains present in third-party plugins or themes. The attacker delivers this archive to a target site administrator through social engineering or by hosting it on an attacker-controlled domain. When the administrator imports the backup using All-in-One WP Migration, the plugin deserializes the embedded payload and instantiates the attacker's objects. The required administrator interaction increases attack complexity but does not require attacker authentication to the target system. Technical details are available in the WordPress Plugin Code Review and the Wordfence Vulnerability Analysis.

Detection Methods for CVE-2024-10942

Indicators of Compromise

  • Presence of All-in-One WP Migration plugin version 7.89 or earlier on WordPress installations
  • Unexpected .wpress backup files appearing in wp-content/ai1wm-backups/ from unknown sources
  • Web server logs showing POST requests to admin-ajax.php with action=ai1wm_import from unfamiliar administrator sessions
  • File deletions, configuration reads, or process executions originating from the PHP-FPM or web server worker immediately after a backup restoration event

Detection Strategies

  • Inspect imported .wpress archives for serialized PHP objects containing class names not native to WordPress core or the plugin (e.g., references to O: followed by unexpected class identifiers)
  • Monitor the replace_serialized_values execution path with PHP error logging or runtime application self-protection (RASP) tooling to flag deserialization of non-stdClass objects
  • Correlate backup import events with subsequent anomalous file system writes, deletions, or outbound network connections

Monitoring Recommendations

  • Forward WordPress, PHP, and web server logs to a centralized SIEM and alert on ai1wm_import actions outside change windows
  • Track the EPSS probability of 0.738% and re-evaluate exposure as exploitation likelihood shifts
  • Enable file integrity monitoring on wp-content/, wp-config.php, and active plugin directories to detect post-exploitation tampering

How to Mitigate CVE-2024-10942

Immediate Actions Required

  • Upgrade All-in-One WP Migration and Backup to a version newer than 7.89 immediately
  • Restrict backup import operations to vetted administrators and require multi-factor authentication on all administrator accounts
  • Audit installed plugins and themes for known POP chain gadgets and remove any unused or unmaintained extensions

Patch Information

The vendor addressed the vulnerability via the changeset published at WordPress Changeset 3253940. Site operators must update through the WordPress plugin updater or by replacing the plugin directory with a patched release. Verify the installed version after patching to confirm remediation.

Workarounds

  • Disable or remove the All-in-One WP Migration plugin until the patched version is deployed
  • Block uploads of .wpress archives at the web application firewall (WAF) layer when imports are not actively required
  • Refuse to import backup archives received from any third party and only restore from archives generated by trusted internal sources
bash
# Configuration example - WordPress CLI upgrade and verification
wp plugin update all-in-one-wp-migration
wp plugin get all-in-one-wp-migration --field=version
# Optionally deactivate until patched
wp plugin deactivate all-in-one-wp-migration

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechWordpress

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.74%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-502
  • Technical References
  • WordPress Plugin Code Review

  • WordPress Changeset Update

  • Wordfence Vulnerability Analysis
  • Related CVEs
  • CVE-2026-9227: GutenBee WordPress Plugin RCE Vulnerability

  • CVE-2026-9009: WordPress Crawlomatic Plugin RCE Vulnerability

  • CVE-2026-6169: WordPress Affiliate-Toolkit RCE Vulnerability

  • CVE-2026-8832: WPCode WordPress Plugin RCE Vulnerability
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