Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-0352

CVE-2024-0352: Likeshop RCE Vulnerability

CVE-2024-0352 is a critical remote code execution flaw in Likeshop allowing unrestricted file uploads via FileServer::userFormImage. This article covers technical details, affected versions, impact, and mitigation.

Published: April 1, 2026

CVE-2024-0352 Overview

A critical unrestricted file upload vulnerability has been identified in Likeshop e-commerce platform versions up to 2.5.7.20210311. This vulnerability exists in the FileServer::userFormImage function within the file server/application/api/controller/File.php, which is part of the HTTP POST Request Handler component. The flaw allows attackers to upload arbitrary files without proper validation, potentially leading to remote code execution on affected systems.

Critical Impact

This unrestricted file upload vulnerability can be exploited remotely without authentication, allowing attackers to upload malicious files (such as web shells) and achieve complete system compromise with high impact on confidentiality, integrity, and availability.

Affected Products

  • Likeshop versions up to and including 2.5.7.20210311
  • Likeshop e-commerce platform installations using the vulnerable File.php controller
  • Systems exposing the userFormImage endpoint to untrusted networks

Discovery Timeline

  • 2024-01-09 - CVE-2024-0352 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2024-0352

Vulnerability Analysis

This vulnerability falls under CWE-434 (Unrestricted Upload of File with Dangerous Type), a well-known weakness class that occurs when applications fail to properly validate file uploads. The vulnerable FileServer::userFormImage function processes user-submitted files through HTTP POST requests without adequate security controls.

The attack can be initiated remotely over the network with low complexity, requiring no privileges or user interaction. When exploited, attackers can upload arbitrary file types, including executable scripts such as PHP web shells. Once uploaded to a web-accessible directory, these malicious files can be executed by accessing them directly, granting the attacker full control over the web application and potentially the underlying server.

The vulnerability has been publicly disclosed, and exploit details have been made available, significantly increasing the risk of active exploitation in the wild.

Root Cause

The root cause of this vulnerability lies in the insufficient validation within the FileServer::userFormImage function. The file parameter accepts user-controlled input without properly verifying the file type, extension, or content. This allows an attacker to bypass any intended restrictions on file uploads and submit dangerous file types such as .php, .phtml, or other server-side executable scripts.

Proper file upload security should include validation of MIME types, file extensions, file content (magic bytes), and storage of uploaded files outside the web root or with non-executable permissions.

Attack Vector

The attack is executed remotely via HTTP POST requests to the vulnerable endpoint. An attacker crafts a malicious request containing a dangerous file (such as a PHP web shell) in the file parameter. The server processes this request through the FileServer::userFormImage function, which stores the file without proper validation.

The exploitation flow typically involves:

  1. Identifying a Likeshop installation running a vulnerable version
  2. Crafting an HTTP POST request to the file upload endpoint
  3. Uploading a malicious PHP file disguised or submitted as an image
  4. Accessing the uploaded file directly to execute arbitrary code on the server

For technical details about the exploitation mechanism, refer to the Zhaoj Blog Post and VulDB Entry #250120.

Detection Methods for CVE-2024-0352

Indicators of Compromise

  • Unexpected PHP files or other executable scripts appearing in upload directories (e.g., /uploads/, /images/, or similar paths)
  • HTTP POST requests to the FileServer::userFormImage endpoint containing non-image file extensions
  • Web shell signatures or suspicious file content in recently uploaded files
  • Unusual outbound network connections or command execution from the web server process

Detection Strategies

  • Implement web application firewall (WAF) rules to detect file upload requests containing PHP or other executable file extensions
  • Monitor file system events for creation of new executable files in web-accessible directories
  • Deploy endpoint detection solutions like SentinelOne to identify web shell execution and post-exploitation activities
  • Review web server access logs for requests to newly created files in upload directories

Monitoring Recommendations

  • Enable file integrity monitoring (FIM) on upload directories to alert on creation of new files
  • Configure alerting for HTTP 200 responses to POST requests against vulnerable file upload endpoints
  • Monitor process execution chains originating from web server processes (e.g., php-fpm, apache2, nginx)
  • Track network connections initiated by web application processes for potential command-and-control activity

How to Mitigate CVE-2024-0352

Immediate Actions Required

  • Upgrade Likeshop to a version newer than 2.5.7.20210311 if a patched version is available from the vendor
  • Restrict network access to the file upload endpoint using firewall rules or application-level access controls
  • Audit existing upload directories for any suspicious or unexpected files and remove them immediately
  • Implement application-level file type validation as an interim measure until patching is complete

Patch Information

Organizations running affected versions of Likeshop should check with the vendor for security updates addressing CVE-2024-0352. Consult the VulDB entry for the latest information on available patches and remediation guidance.

Workarounds

  • Disable the affected file upload functionality by removing or restricting access to the File.php controller if not required
  • Implement server-side file validation that checks MIME types, extensions, and file content (magic bytes)
  • Configure the web server to prevent execution of uploaded files by denying script execution in upload directories
  • Store uploaded files outside the web root directory or use a separate storage service with restricted access
bash
# Apache configuration to prevent script execution in upload directories
<Directory "/var/www/html/uploads">
    # Disable PHP execution
    php_admin_flag engine off
    
    # Deny access to script files
    <FilesMatch "\.(php|phtml|php3|php4|php5|phps)$">
        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/TechLikeshop

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability91.89%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-434
  • Technical References
  • Zhaoj Blog Post

  • VulDB CTI ID #250120

  • VulDB #250120
  • Latest CVEs
  • CVE-2025-52793: Esselink.nu Settings CSRF Vulnerability

  • CVE-2025-52772: Virtual Moderator CSRF Vulnerability

  • CVE-2025-48279: WC MyParcel Belgium XSS Vulnerability

  • CVE-2025-39381: KiotViet Sync CSRF 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