CVE-2025-12378CWE-284CWE-434broken-access-controlunrestricted-file-upload

CVE-2025-12378

High · published October 28, 2025

CVSS v3.1
7.3
EPSS
1%
Percentile
44.1
In the wild
Unconfirmed
What it is

⚠️ An unrestricted upload vulnerability lurks in the Simple Food Ordering System! Just by manipulating a single argument, an attacker can upload anything they want through /addproduct.php. 🍔 Think of it like a restaurant allowing anyone to change the recipe notes without checking the ingredients — if the staff isn't vigilant, they could end up serving something dangerous! This flaw opens the door for attackers to upload malicious files remotely, potentially compromising the server and even gaining control of it. It’s like leaving the back door of the restaurant unlocked — the consequences could be quite disastrous!

Put simply

Think of it like a restaurant allowing anyone to change the recipe notes without checking the ingredients — if the staff isn't vigilant, they could end up serving something dangerous! This flaw allows for unrestricted file uploads by manipulating the 'photo' argument in the /addproduct.php file, which means attackers can upload any file type, including harmful scripts.

What to do

This flaw opens the door for attackers to upload malicious files remotely, potentially compromising the server and even gaining control of it. It’s like leaving the back door of the restaurant unlocked — the consequences could be quite disastrous! To secure your system, update to the latest version of the Simple Food Ordering System as soon as possible and implement file type validation on uploads. Regularly audit your server for any unauthorized files to ensure it remains safe! You've got this! With the right updates and vigilance, you can turn this situation around and keep your system secure. 🛡️

The record
Technical detail
CVSS v3.1
7.3 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
CVSS v4.0
Not supplied
EPSS
0.00532 · 44.1th percentile
Weaknesses
CWE-284 · Improper Access Control; CWE-434 · Unrestricted Upload of File with Dangerous Type
Published
2025-10-28T10:15Z
Affected products (1)
ProductVersionsFixed in
fabian/simple_food_ordering_systemall versions—
References (5)
EPSS history
Timeline
  • 28 OCT 05:32Z
    code-projects Simple Food Ordering System addproduct.php unrestricted upload
    cvelistv5