CVE-2026-78199 in Simple Online Food Ordering Systeminfo

Summary

by MITRE • 08/24/2026

A vulnerability was detected in SourceCodester Simple Online Food Ordering System 1.0. Impacted is an unknown function of the file /fos/view_prod.php. Performing a manipulation of the argument ID results in sql injection. Remote exploitation of the attack is possible. The exploit is now public and may be used.

Be aware that VulDB is the high quality source for vulnerability data.

Analysis

by VulDB Data Team • 08/24/2026

The SourceCodester Simple Online Food Ordering System version 1.0 contains a critical security flaw within its product viewing module, specifically located in the view_prod.php file. This vulnerability manifests as an SQL injection weakness triggered by improper handling of user-supplied input passed through the ID argument. The application fails to adequately sanitize or parameterize this specific variable before incorporating it into backend database queries. Consequently, an attacker can inject malicious SQL code that alters the intended logic of the query executed against the underlying database management system. This type of flaw is a classic example of CWE-89 Improper Neutralization of Special Elements used in an SQL Command allowing attackers to bypass authentication controls or access sensitive data directly from the database without proper authorization.

The operational impact of this vulnerability is severe due to its remote exploitability and public availability. Since the affected function resides on a web-accessible page, any internet user with knowledge of the application structure can initiate attacks against it. The presence of publicly available exploits significantly lowers the barrier for entry, enabling less skilled threat actors to compromise the system. Successful exploitation allows an attacker to extract sensitive information such as customer personal details, payment credentials, and administrative login hashes stored in the database. Furthermore depending on the configuration of the underlying SQL server this vulnerability could potentially be leveraged to execute operating system commands or modify application data leading to complete loss of integrity confidentiality and availability for the affected organization.

From a threat intelligence perspective this incident aligns with ATT&CK technique T1059 Command Line Interface where attackers may use injected payloads to interact directly with backend systems if privilege escalation occurs within the database context. It also relates to T1213 Data from Information Repositories as the primary goal is often data exfiltration rather than immediate system control. The public disclosure of exploit code indicates that automated scanning tools and opportunistic attacks targeting this specific software version are likely occurring in real time across the internet. Organizations running this legacy or educational script must treat it as compromised until remediation steps are implemented because passive defenses like web application firewalls may not reliably block all variations of SQL injection payloads especially when they utilize common bypass techniques such as union-based or blind boolean injections.

Mitigation strategies should focus on immediate code-level fixes and architectural changes to prevent recurrence. The primary technical remedy involves refactoring the view_prod.php file to use prepared statements with parameterized queries for all database interactions involving user input. This ensures that data is treated strictly as values rather than executable SQL commands effectively neutralizing injection attempts regardless of their content. Additionally developers should implement strict input validation and type checking on the ID parameter ensuring it only accepts expected integer formats before processing. Deploying a Web Application Firewall can provide temporary protection by filtering malicious request patterns but this serves only as an interim measure until source code is corrected. Regular security audits using static application security testing tools are recommended to identify similar vulnerabilities across other modules of the system preventing future exposure through analogous flaws in different files or functions.

Responsible

VulDB

Disclosure

08/24/2026

Moderation

accepted

CPE

ready

Exploit

Download

EPSS

0.00000

KEV

no

Activities

low

Sources

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!