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

CVE-2024-58349: WordPress Travelscape Theme RCE Flaw

CVE-2024-58349 is a remote code execution vulnerability in WordPress Travelscape theme 1.0.3 caused by arbitrary file upload flaws. Unauthenticated attackers can exploit this to execute malicious code on servers.

Published: June 12, 2026

CVE-2024-58349 Overview

CVE-2024-58349 is an arbitrary file upload vulnerability in the WordPress Theme Travelscape version 1.0.3. The theme's upload functionality fails to validate file types and authentication state, allowing unauthenticated attackers to upload arbitrary files to the theme directory. Successful exploitation leads to remote code execution (RCE) on the affected WordPress installation. The flaw is classified under CWE-434: Unrestricted Upload of File with Dangerous Type.

Critical Impact

Unauthenticated remote attackers can upload PHP webshells and execute arbitrary code, leading to full compromise of the WordPress site and underlying host.

Affected Products

  • WordPress Theme Travelscape 1.0.3
  • WordPress installations running the vulnerable Travelscape theme
  • Web servers hosting Travelscape-based WordPress sites

Discovery Timeline

  • 2026-06-08 - CVE-2024-58349 published to NVD
  • 2026-06-08 - Last updated in NVD database

Technical Details for CVE-2024-58349

Vulnerability Analysis

The vulnerability resides in an upload handler exposed by the Travelscape theme. The handler accepts file uploads without enforcing authentication, capability checks, or nonce validation. It also fails to restrict file extensions or validate MIME types, allowing PHP and other executable scripts to be written into a web-accessible directory under the theme path.

An attacker sends a crafted multipart HTTP POST request directly to the vulnerable endpoint. The server writes the supplied file to disk under the theme's upload location. The attacker then requests the uploaded file via its public URL, triggering PHP execution under the web server account.

This class of flaw provides direct code execution without prior access. It bypasses the WordPress role and capability model entirely because the endpoint never invokes WordPress authentication checks.

Root Cause

The root cause is the absence of server-side validation in the theme's file upload logic. The handler does not verify user identity, enforce current_user_can() capability checks, validate nonces, or reject dangerous file extensions such as .php, .phtml, or .phar. Combined with a writable, web-accessible target directory, this produces an unauthenticated arbitrary file upload condition.

Attack Vector

Exploitation requires only network access to the WordPress site. No credentials, user interaction, or prior foothold are required. The attacker issues an HTTP POST to the vulnerable upload endpoint with a malicious payload, then accesses the resulting file URL to execute code. Public proof-of-concept material is referenced in Exploit-DB #51969 and the VulnCheck Advisory on Travelscape.

No verified exploitation code is reproduced here. Refer to the linked advisories for technical request details.

Detection Methods for CVE-2024-58349

Indicators of Compromise

  • Unexpected .php, .phtml, or .phar files within wp-content/themes/travelscape/ and its subdirectories.
  • HTTP POST requests to theme upload endpoints originating from unauthenticated sessions or unusual IP ranges.
  • Outbound connections from the web server process (php-fpm, apache2, www-data) to attacker-controlled infrastructure shortly after file upload events.
  • New cron jobs, scheduled tasks, or modifications to wp-config.php following suspicious upload activity.

Detection Strategies

  • Monitor file system events for new executable script files created under the Travelscape theme directory.
  • Inspect web server access logs for POST requests targeting theme-level upload handlers from unauthenticated clients.
  • Correlate file creation events with subsequent GET requests to the same path, indicating webshell execution.
  • Apply WAF rules to flag multipart uploads carrying PHP content-type or PHP magic bytes destined for theme paths.

Monitoring Recommendations

  • Enable file integrity monitoring across wp-content/themes/ and alert on any write to executable file types.
  • Forward web server, PHP, and WordPress audit logs to a centralized analytics platform for retention and correlation.
  • Baseline outbound network connections from web server processes and alert on deviations.

How to Mitigate CVE-2024-58349

Immediate Actions Required

  • Remove or disable the Travelscape 1.0.3 theme until a verified patched version is available.
  • Audit the theme directory and broader WordPress filesystem for unauthorized PHP files and remove any webshells.
  • Rotate WordPress administrator credentials, database passwords, and any secrets stored in wp-config.php if compromise is suspected.
  • Restrict access to WordPress admin and upload endpoints using IP allowlists or authentication at the reverse proxy layer.

Patch Information

No vendor patch is referenced in the available advisory data. Operators should consult the VulnCheck Advisory on Travelscape for current remediation status and replace the theme if no fix is published.

Workarounds

  • Deploy a web application firewall rule that blocks unauthenticated POST requests to Travelscape upload paths.
  • Configure the web server to deny PHP execution within wp-content/themes/travelscape/ upload directories.
  • Set filesystem permissions to prevent the web server user from writing executable scripts into theme directories.
  • Replace the Travelscape theme with a maintained alternative if no patched release becomes available.
bash
# Apache: deny PHP execution within the Travelscape upload directory
# Place this in an .htaccess file inside the vulnerable upload path
<FilesMatch "\.(php|phtml|phar|php5|php7)$">
    Require all denied
</FilesMatch>

# Nginx: equivalent configuration in the server block
location ~* /wp-content/themes/travelscape/.*\.(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/TechWordpress

  • SeverityCRITICAL

  • CVSS Score9.3

  • EPSS Probability0.15%

  • 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-434
  • Technical References
  • Exploit-DB #51969

  • VulnCheck Advisory on Travelscape
  • Related CVEs
  • CVE-2017-20251: WordPress Insert PHP Plugin RCE Flaw

  • CVE-2023-54352: WordPress Seotheme RCE Vulnerability

  • CVE-2023-54350: WordPress Augmented-Reality RCE Flaw

  • CVE-2024-58348: WordPress Background Image Cropper RCE
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