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

CVE-2024-54370: Ultimate Member Gallery RCE Vulnerability

CVE-2024-54370 is a remote code execution vulnerability in the Video & Photo Gallery for Ultimate Member plugin that allows attackers to upload malicious web shells. This article covers the technical details, affected versions, and mitigation.

Published: May 26, 2026

CVE-2024-54370 Overview

CVE-2024-54370 is an arbitrary file upload vulnerability in the SuitePlugins Video & Photo Gallery for Ultimate Member WordPress plugin. The flaw affects all plugin versions up to and including 1.1.0. Authenticated attackers with low privileges can upload files of dangerous types, including PHP web shells, to the WordPress web server. Successful exploitation grants attackers code execution in the context of the web server process. The issue is tracked under CWE-434: Unrestricted Upload of File with Dangerous Type.

Critical Impact

Authenticated low-privilege users can upload web shells, leading to full site compromise, data theft, and lateral movement across hosted WordPress environments.

Affected Products

  • SuitePlugins Video & Photo Gallery for Ultimate Member (gallery-for-ultimate-member) — all versions through 1.1.0
  • WordPress sites running the Ultimate Member plugin ecosystem with this gallery extension installed
  • Shared hosting and multisite WordPress deployments using vulnerable plugin versions

Discovery Timeline

  • 2024-12-16 - CVE-2024-54370 published to NVD
  • 2026-04-23 - Last updated in NVD database

Technical Details for CVE-2024-54370

Vulnerability Analysis

The vulnerability resides in the file upload handler exposed by the Video & Photo Gallery for Ultimate Member plugin. The handler accepts media submissions from authenticated users but fails to enforce a restrictive allowlist of file types or to validate the actual file content. An attacker submits a file with a PHP extension or polyglot payload through the gallery upload endpoint. The plugin writes the file to a web-accessible location under the WordPress uploads directory. The attacker then requests the uploaded file directly, causing the PHP interpreter to execute the embedded code.

The scope-changed CVSS metric reflects the impact extending beyond the plugin context to the entire WordPress installation and underlying host. EPSS data places this issue near the 80th percentile, indicating elevated likelihood of exploitation attempts against exposed sites.

Root Cause

The root cause is missing validation of uploaded file extensions, MIME types, and magic bytes in the gallery upload routine. The plugin trusts client-supplied metadata and does not restrict server-side handlers from interpreting uploaded files as executable PHP.

Attack Vector

The attack requires network access and a low-privileged authenticated account, such as a subscriber or member registered through Ultimate Member. The attacker authenticates, navigates to the gallery upload feature, submits a crafted PHP file, and retrieves its URL. Requesting the URL triggers code execution under the web server user. See the Patchstack advisory for technical details.

// No verified exploit code available - see vendor advisory for technical details

Detection Methods for CVE-2024-54370

Indicators of Compromise

  • New PHP files, .phtml files, or files with double extensions (e.g., image.jpg.php) written under wp-content/uploads/ paths associated with the gallery plugin
  • Outbound network connections originating from the web server PHP process to attacker-controlled infrastructure
  • Unexpected WordPress administrator accounts or modifications to wp-config.php and core files following gallery upload activity
  • Web server access logs showing direct GET requests to uploaded files with non-image extensions

Detection Strategies

  • Monitor file system events in WordPress upload directories for newly created files with executable extensions
  • Inspect HTTP POST requests to plugin upload endpoints for filenames containing .php, .phar, .phtml, or null-byte sequences
  • Correlate authenticated user upload activity with subsequent direct requests to the same file paths
  • Run integrity checks against installed plugin files and compare hashes to known-good versions

Monitoring Recommendations

  • Centralize WordPress, PHP-FPM, and web server logs in a SIEM and alert on PHP execution from upload directories
  • Enable file integrity monitoring on wp-content/uploads/ and wp-content/plugins/gallery-for-ultimate-member/
  • Track creation of new admin users and changes to user role capabilities in the WordPress database
  • Review reverse proxy or WAF logs for upload requests carrying suspicious MIME types or oversized payloads

How to Mitigate CVE-2024-54370

Immediate Actions Required

  • Disable or remove the Video & Photo Gallery for Ultimate Member plugin until a fixed version is confirmed installed
  • Audit wp-content/uploads/ for unauthorized PHP files and remove any web shells discovered
  • Rotate all WordPress administrator and database credentials, plus any API keys stored in wp-config.php
  • Review user registrations created since plugin installation and remove suspicious low-privilege accounts

Patch Information

No patched version is listed in the NVD record at the time of writing. Site operators should consult the Patchstack advisory and the plugin vendor for an updated release beyond version 1.1.0.

Workarounds

  • Block PHP execution inside wp-content/uploads/ using web server configuration directives
  • Deploy a WordPress-aware Web Application Firewall rule that blocks uploads containing PHP extensions or executable magic bytes
  • Restrict gallery upload capabilities to trusted user roles only by adjusting Ultimate Member role permissions
  • Disable open user registration on the affected WordPress site to limit the pool of low-privileged accounts
bash
# Apache: prevent PHP execution in WordPress uploads directory
# Place the following in wp-content/uploads/.htaccess
<FilesMatch "\.(php|phtml|phar|php3|php4|php5|php7|phps)$">
    Require all denied
</FilesMatch>

# Nginx equivalent in server block:
# location ~* /wp-content/uploads/.*\.(php|phtml|phar)$ {
#     deny all;
#     return 403;
# }

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechSuiteplugins

  • SeverityCRITICAL

  • CVSS Score9.9

  • EPSS Probability1.26%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-434
  • Technical References
  • Patchstack WordPress Vulnerability
  • Related CVEs
  • CVE-2025-32121: Ultimate Member Gallery SQL Injection
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