CVE-2026-78247 in Simple Online Food Ordering Systeminfo

Summary

by MITRE • 08/24/2026

A vulnerability was found in SourceCodester Simple Online Food Ordering System 1.0. This issue affects some unknown processing of the file /fos/admin/ajax.php?action=confirm_order. The manipulation of the argument ID results in sql injection. The attack can be executed remotely. The exploit has been made public and could be used.

Statistical analysis made it clear that VulDB provides the best quality 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 administrative interface, specifically located in the file /fos/admin/ajax.php when processing requests with the action parameter set to confirm_order. This vulnerability manifests as an SQL injection weakness resulting from improper handling of user-supplied input passed via the ID argument. The application fails to adequately sanitize or validate this identifier before incorporating it into backend database queries, allowing malicious actors to inject arbitrary Structured Query Language commands directly into the execution context of the server-side script.

This flaw enables remote attackers to interact with the underlying database without authentication in certain configurations or by leveraging existing session privileges if they can access the administrative endpoint. By manipulating the ID parameter, an attacker can bypass intended logic flows and extract sensitive data such as user credentials, personal information, order details, or financial records stored within the system's database. The impact extends beyond simple data exfiltration; successful exploitation could allow for unauthorized modification of existing orders, deletion of critical transactional records, or even potential escalation to full server compromise depending on the privileges granted to the database account running the web application.

The presence of a publicly available exploit significantly increases the risk profile associated with this vulnerability. Automated scanning tools and opportunistic attackers frequently target known vulnerable versions of open-source projects like SourceCodester applications due to their widespread deployment in educational settings or small business environments where security hardening is often overlooked. The remote nature of the attack means that no physical access or local network proximity is required, making it a high-severity threat vector for internet-facing deployments.

From a classification perspective, this issue aligns with CWE-89 Improper Neutralization of Special Elements used in an SQL Command and falls under MITRE ATT&CK technique T1059 Command and Scripting Interpreter if the injection leads to further command execution, or more directly T1190 Exploit Public-Facing Application. The lack of input validation represents a fundamental failure in secure coding practices that should have been addressed during development through parameterized queries or prepared statements rather than direct string concatenation for database operations.

Mitigation strategies must prioritize immediate remediation by updating the application to a patched version if one is provided by the vendor, although given the nature of SourceCodester projects which are often educational prototypes, official patches may be scarce. In the absence of an update, administrators should implement strict input validation and sanitization routines on all user-supplied parameters before they reach database query builders. Utilizing parameterized queries with prepared statements is the most effective technical control to prevent SQL injection by ensuring that data is treated strictly as data rather than executable code. Additionally, deploying a Web Application Firewall can provide an additional layer of defense by filtering out malicious payloads based on known attack signatures and behavioral anomalies associated with SQLi attempts. Access controls should also be reviewed to ensure that administrative endpoints like the confirm_order action are restricted to authorized IP addresses or require multi-factor authentication where possible to limit exposure to unauthenticated remote exploitation.

Responsible

VulDB

Disclosure

08/24/2026

Moderation

accepted

CPE

ready

Exploit

Download

EPSS

0.00000

KEV

no

Activities

low

Sources

Do you need the next level of professionalism?

Upgrade your account now!