CVE-2026-78198
Received Received - Intake

SQL Injection in Simple Online Food Ordering System

Vulnerability report for CVE-2026-78198, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-24

Last updated on: 2026-08-24

Assigner: VulDB

Description

A security vulnerability has been detected in SourceCodester Simple Online Food Ordering System 1.0. This issue affects some unknown processing of the file /fos/admin/ajax.php?action=add_to_cart. Such manipulation of the argument pid leads to sql injection. The attack may be launched remotely. The exploit has been disclosed publicly and may be used.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-24
Last Modified
2026-08-24
Generated
2026-08-24
AI Q&A
2026-08-24
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
sourcecodester simple_online_food_ordering_system 1.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
CWE-74 The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a SQL injection vulnerability in SourceCodester Simple Online Food Ordering System 1.0. It affects the file /fos/admin/ajax.php?action=add_to_cart where the 'pid' parameter is not properly validated. Attackers can inject malicious SQL queries remotely without authentication. The exploit is a time-based blind SQL injection.

Detection Guidance

To detect this SQL injection vulnerability, you can use tools like sqlmap to test the affected endpoint. Example command: sqlmap -u 'http://target.com/fos/admin/ajax.php?action=add_to_cart&pid=1' --batch --dbs. Ensure you have permission to test the system.

Impact Analysis

This vulnerability allows unauthorized database access, data manipulation, sensitive information leakage, and potential system compromise. Attackers could steal, alter, or delete data, including user credentials and orders.

Compliance Impact

This vulnerability could lead to non-compliance with GDPR and HIPAA due to unauthorized data access or leakage. GDPR requires protection of personal data, while HIPAA mandates safeguards for health-related information. Exploitation may result in legal penalties and reputational damage.

Mitigation Strategies

Immediately update the application to use prepared statements with parameter binding for all database queries. Implement strict input validation for the 'pid' parameter. Restrict database user permissions to the minimum required. Conduct a security audit to identify other potential vulnerabilities.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-78198. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart