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-2025-12378

CVE-2025-12378: Simple Food Ordering System RCE Vulnerability

CVE-2025-12378 is a remote code execution vulnerability in Simple Food Ordering System 1.0 caused by unrestricted file upload in addproduct.php. This article covers technical details, affected versions, and mitigation.

Published: March 24, 2026

CVE-2025-12378 Overview

A security vulnerability has been discovered in Fabian Simple Food Ordering System version 1.0. This issue affects the file /addproduct.php where improper validation of the photo argument allows attackers to upload arbitrary files without restrictions. The vulnerability can be exploited remotely over the network, and public exploit information is available, increasing the risk of widespread exploitation.

Critical Impact

Attackers can upload malicious files including web shells, potentially leading to complete server compromise, data theft, or use of the system as a pivot point for further attacks.

Affected Products

  • Fabian Simple Food Ordering System 1.0
  • code-projects Simple Food Ordering System 1.0

Discovery Timeline

  • 2025-10-28 - CVE-2025-12378 published to NVD
  • 2025-11-03 - Last updated in NVD database

Technical Details for CVE-2025-12378

Vulnerability Analysis

This vulnerability represents an Unrestricted File Upload weakness (CWE-434) combined with improper access control (CWE-284) in the product image upload functionality. The /addproduct.php endpoint fails to properly validate uploaded files through the photo parameter, allowing attackers to bypass intended file type restrictions.

The vulnerability exists because the application does not implement proper server-side validation of uploaded file content, file extensions, or MIME types. This allows an attacker to upload executable scripts (such as PHP web shells) disguised as legitimate image files or with directly executable extensions.

Root Cause

The root cause lies in insufficient input validation and access control mechanisms within the /addproduct.php file handling routine. The application appears to accept and store uploaded files without:

  • Validating file extensions against an allowlist of permitted image types
  • Verifying the actual file content matches the claimed file type (MIME type validation)
  • Implementing proper access controls to restrict who can upload files
  • Sanitizing filenames to prevent directory traversal or special character injection

Attack Vector

The attack can be initiated remotely over the network without requiring authentication. An attacker can craft a malicious HTTP POST request to the /addproduct.php endpoint with a specially crafted file in the photo parameter. The malicious file could be a PHP web shell or other server-side script that, once uploaded and accessed, provides the attacker with arbitrary code execution capabilities on the target server.

The attack flow typically involves:

  1. Identifying the vulnerable upload endpoint at /addproduct.php
  2. Crafting a malicious payload (e.g., PHP web shell) with an executable extension
  3. Submitting the malicious file via the photo parameter
  4. Locating and accessing the uploaded file to execute the payload

Technical details and proof-of-concept information are available through the GitHub CVE Issue Tracker and VulDB #330214.

Detection Methods for CVE-2025-12378

Indicators of Compromise

  • Unusual file uploads to the product image directory with executable extensions (.php, .phtml, .asp, .jsp)
  • Web server access logs showing POST requests to /addproduct.php with suspicious filenames
  • Presence of unexpected files in upload directories with PHP code or web shell signatures
  • Anomalous outbound connections from the web server to unknown IP addresses

Detection Strategies

  • Monitor file system changes in upload directories for newly created executable files
  • Implement web application firewall (WAF) rules to detect and block file upload attacks
  • Analyze HTTP request payloads for common web shell signatures and suspicious file extensions
  • Review web server access logs for repeated POST requests to /addproduct.php from unusual sources

Monitoring Recommendations

  • Enable detailed logging for all file upload operations including source IP, filename, and file size
  • Configure file integrity monitoring (FIM) on web-accessible directories to detect unauthorized file changes
  • Set up alerts for execution of newly uploaded files in the web root directory
  • Monitor for unusual process spawning from the web server process

How to Mitigate CVE-2025-12378

Immediate Actions Required

  • Remove or restrict access to the /addproduct.php endpoint until a patch is available
  • Implement IP-based access controls to limit upload functionality to trusted administrators only
  • Review upload directories for any suspicious files and remove unauthorized content
  • Deploy a Web Application Firewall (WAF) with rules to block malicious file uploads

Patch Information

No official vendor patch information is currently available for this vulnerability. Organizations using Fabian Simple Food Ordering System should implement the workarounds listed below and monitor the Code Projects Resource page for updates. Additional vulnerability details can be found at VulDB CTI ID #330214.

Workarounds

  • Implement server-side file extension allowlisting to only permit image files (.jpg, .jpeg, .png, .gif)
  • Add MIME type validation to verify uploaded file content matches expected image formats
  • Store uploaded files outside the web root directory to prevent direct execution
  • Rename uploaded files using random identifiers to prevent predictable file access
  • Configure the web server to prevent script execution in upload directories
bash
# Apache configuration to prevent PHP execution in uploads directory
# Add to .htaccess or Apache configuration
<Directory /var/www/html/uploads>
    php_admin_flag engine off
    <FilesMatch "\.ph(p[345]?|t|tml)$">
        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/TechFabian Simple Food Ordering System

  • SeverityMEDIUM

  • CVSS Score6.9

  • EPSS Probability0.08%

  • 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:P/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-284

  • CWE-434
  • Technical References
  • Code Projects Resource

  • GitHub CVE Issue Tracker

  • VulDB CTI ID #330214

  • VulDB #330214

  • VulDB Submission #674562
  • Related CVEs
  • CVE-2025-6161: Simple Food Ordering System RCE Vulnerability

  • CVE-2025-11396: Simple 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