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
    • 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-6373

CVE-2024-6373: Online Food Ordering System RCE Vulnerability

CVE-2024-6373 is a remote code execution vulnerability in Kevinwong Online Food Ordering System caused by unrestricted file upload. This post covers technical details, affected versions, impact, and mitigation steps.

Published: April 8, 2026

CVE-2024-6373 Overview

A critical unrestricted file upload vulnerability has been discovered in itsourcecode Online Food Ordering System version 1.0. This vulnerability affects the /addproduct.php file, where improper validation of the photo argument allows attackers to upload arbitrary files to the web server. The attack can be initiated remotely without authentication, potentially leading to remote code execution if an attacker uploads a malicious web shell or script.

Critical Impact

Remote attackers can upload malicious files to the server, potentially leading to complete system compromise through web shell deployment or arbitrary code execution.

Affected Products

  • Kevinwong Online Food Ordering System version 1.0
  • itsourcecode Online Food Ordering System up to version 1.0

Discovery Timeline

  • June 27, 2024 - CVE-2024-6373 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2024-6373

Vulnerability Analysis

This vulnerability stems from a classic unrestricted file upload flaw (CWE-434) in the product management functionality of the Online Food Ordering System. The /addproduct.php endpoint accepts file uploads through the photo parameter without implementing proper server-side validation of file types, content, or extensions.

The lack of input validation means the application trusts user-supplied data, allowing an attacker to bypass any client-side restrictions and upload files with dangerous extensions such as .php, .phtml, or other executable file types. Once uploaded, these malicious files can be accessed directly through the web server, enabling code execution in the context of the web application.

The vulnerability is particularly concerning because it can be exploited remotely without any authentication requirements, making it accessible to any attacker with network access to the vulnerable application.

Root Cause

The root cause is improper input validation in the file upload handling logic within /addproduct.php. The application fails to:

  • Validate file extensions against a whitelist of allowed image types
  • Check the MIME type of uploaded files server-side
  • Sanitize or rename uploaded files to prevent execution
  • Store uploaded files outside the web root or in a non-executable directory

Attack Vector

The attack vector is network-based and requires no authentication or user interaction. An attacker can exploit this vulnerability by:

  1. Accessing the /addproduct.php endpoint directly
  2. Crafting a malicious HTTP POST request with a file upload containing a web shell or malicious script disguised as or in place of an image
  3. Manipulating the photo parameter to upload the malicious file
  4. Accessing the uploaded file through the web server to execute arbitrary commands

The vulnerability has been publicly disclosed and exploit details are available through the GitHub Issue Tracker and VulDB, increasing the risk of exploitation in the wild.

Detection Methods for CVE-2024-6373

Indicators of Compromise

  • Unexpected files with executable extensions (.php, .phtml, .asp, .jsp) in upload directories
  • HTTP POST requests to /addproduct.php containing non-image file types or suspicious payloads
  • Web server logs showing access to newly uploaded files with script extensions
  • Unusual process spawning from web server processes (e.g., www-data user executing shell commands)

Detection Strategies

  • Monitor file system changes in web application upload directories for non-image file types
  • Implement web application firewall (WAF) rules to detect file upload attempts with dangerous extensions
  • Review HTTP access logs for requests to /addproduct.php followed by requests to suspicious file paths
  • Deploy file integrity monitoring on web server directories to detect unauthorized file creation

Monitoring Recommendations

  • Enable detailed logging for all file upload operations in the web application
  • Configure intrusion detection systems (IDS) to alert on web shell signatures and suspicious file uploads
  • Monitor outbound network connections from web server processes for command-and-control activity
  • Implement real-time alerting for new executable files created in web-accessible directories

How to Mitigate CVE-2024-6373

Immediate Actions Required

  • Restrict access to /addproduct.php through IP whitelisting or authentication requirements
  • Disable the file upload functionality until a patch can be applied
  • Review upload directories for any existing malicious files and remove them immediately
  • Implement web application firewall rules to block file uploads with executable extensions

Patch Information

No official vendor patch has been released for this vulnerability at the time of publication. Organizations using the affected Online Food Ordering System should contact the vendor or consider implementing the workarounds below. Monitor the VulDB entry for updates on available patches.

Workarounds

  • Implement server-side file type validation by checking file extensions against a strict whitelist (e.g., .jpg, .jpeg, .png, .gif)
  • Validate file MIME types server-side using functions like finfo_file() or getimagesize() in PHP
  • Rename uploaded files to random, non-executable names and store them outside the web root
  • Configure the web server to disable script execution in upload directories
  • Implement authentication requirements for all product management endpoints
bash
# Apache configuration to prevent script execution in uploads directory
<Directory "/var/www/html/uploads">
    Options -ExecCGI -Indexes
    AllowOverride None
    <FilesMatch "\.(php|phtml|php3|php4|php5|pl|py|jsp|asp|sh|cgi)$">
        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/TechKevinwong Online Food Ordering System

  • SeverityMEDIUM

  • CVSS Score6.9

  • EPSS Probability0.14%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/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
  • AvailabilityLow
  • CWE References
  • CWE-434
  • Technical References
  • GitHub Issue Tracker

  • VulDB CTI ID #269806

  • VulDB #269806

  • VulDB Submission #364646
  • Related CVEs
  • CVE-2024-6253: Online Food Ordering System SQL Injection

  • CVE-2024-7838: Online Food Ordering System SQLi 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