CVE-2025-6161: SourceCodester Simple Food Ordering System · Unrestricted Upload
Affects SourceCodester Simple Food Ordering SystemSource CVE Database V5
Not known to be exploited · CVSS 6.9 Medium.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 52% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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:PExploitation evidence
Disclosed: evidence found.
CVE published 17 Jun 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| SourceCodester Simple Food Ordering System | Affected
| Fixed in– |
AI-suggested
Immediately restrict file upload functionality in /editproduct.php by implementing strict server-side validation of uploaded files, including checking MIME types, file extensions, and file content signatures.
Implement authentication and authorization checks to ensure only authorized users can upload or modify product photos.
Deploy a web application firewall (WAF) with custom rules to detect and block suspicious file upload attempts targeting the vulnerable endpoint.
Isolate the file upload directory with minimal permissions and disable execution rights to prevent execution of uploaded malicious scripts.
Regularly monitor server logs for unusual upload activity or access patterns related to /editproduct.php.
Conduct a security audit of the entire web application to identify and remediate other potential vulnerabilities.
Educate staff on the risks of using outdated software and the importance of timely updates and security best practices.
Description
A vulnerability, which was classified as critical, was found in SourceCodester Simple Food Ordering System 1.0. Affected is an unknown function of the file /editproduct.php. The manipulation of the argument photo leads to unrestricted upload. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.