Skip to main content

Simple Online Food Ordering System EUVDEUVD-2026-64732

| CVE-2026-78198 MEDIUM
SQL Injection (CWE-89)
2026-08-24 VulDB GHSA-2hwj-pvrj-8rcc
5.5
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify exposed /fos/admin/ajax.php endpoint
  2. Delivery
    Send crafted HTTP request with malicious pid value
  3. Exploit
    Unsanitized input reaches SQL query
  4. Execution
    Execute arbitrary SQL against database
  5. Impact
    Extract or modify application data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The /fos/admin/ajax.php endpoint must be network-reachable - no authentication is required based on the CVSS 4.0 PR:N metric. The add_to_cart action must be enabled (it is part of the default application). No special configuration, non-default setting, or user interaction is required. Exploitation is constrained by the product's extremely limited real-world deployment footprint and its hobbyist/educational nature; organizations running production workloads on this software are the realistic target population. Local network or perimeter firewall rules blocking HTTP access to the admin path would prevent exploitation.

Impact

The CVSS 4.0 score of 6.9 with vector AV:N/AC:L/AT:N/PR:N/UI:N reflects low-complexity, remote, unauthenticated exploitation with no attack requirements - a straightforward risk profile. However, all three CIA impact metrics are rated Low (VC:L/VI:L/VA:L) at the vulnerable system level, and subsequent-system impact is None, capping real-world damage below what a full database compromise would entail. The E:P modifier confirms publicly available exploit code, which meaningfully raises the likelihood of opportunistic scanning and exploitation. There is no CISA KEV listing, suggesting exploitation has not yet been confirmed at scale in production environments. The product is a hobbyist-grade PHP script with negligible enterprise deployment footprint, which substantially limits the population of exposed targets - the aggregate real-world risk is low even though the individual exploitation conditions are trivial. No EPSS score was provided in the source data, so probability-of-exploitation estimates cannot be independently validated.

Exploit ScenarioDerived

An unauthenticated attacker sends a crafted HTTP POST or GET request to /fos/admin/ajax.php?action=add_to_cart with a SQL payload in the pid parameter (e.g., pid=1 UNION SELECT ...). Because the parameter is interpolated directly into a SQL query without sanitization, the injected statement executes against the backend database, allowing the attacker to extract user credentials, order data, or other stored records. A public exploit demonstrating this technique is available at https://github.com/wsx138/cve/issues/4.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 24, 2026

SQL injection in SourceCodester Simple Online Food Ordering System 1.0 exposes the /fos/admin/ajax.php?action=add_to_cart endpoint to unauthenticated remote attackers who can manipulate the pid parameter to execute arbitrary SQL queries against the backend database. The CVSS 4.0 vector (PR:N) confirms no authentication is required despite the admin path, and a public exploit has been disclosed via GitHub. The CIA impact is rated limited across all three dimensions, consistent with a read/write SQL injection that does not achieve full system compromise.

RemediationAI

No vendor-released patch has been identified at the time of analysis. The primary remediation is to replace direct SQL string concatenation with parameterized queries or prepared statements in the add_to_cart handler within /fos/admin/ajax.php. As a compensating control, access to the /fos/admin/ path should be restricted at the web server or network perimeter level to trusted IP ranges only, which limits the attack surface to authenticated network segments and mitigates the PR:N exposure - trade-off: this may break legitimate admin workflows if not scoped correctly. A web application firewall rule blocking SQL metacharacter sequences in the pid parameter is a lower-confidence secondary control, as WAF bypasses for basic SQL injection are well-documented. Given the educational nature of the software, replacing it with a maintained alternative should be considered. References: https://vuldb.com/vuln/394575 and public exploit at https://github.com/wsx138/cve/issues/4.

Affected VersionsENISA

Simple Online Food Ordering System 1.0

Affected Packages

euvd simple_online_food_ordering_system no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected product is a PHP-based web application distributed by SourceCodester as an educational/hobbyist food ordering system (CPE: cpe:2.3:a:sourcecodester:simple_online_food_ordering_system:*:*:*:*:*:*:*:*). The vulnerability class is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command), indicating that user-supplied input - specifically the pid parameter in the AJAX cart handler - is concatenated directly into a SQL query without parameterization or sanitization. The admin AJAX endpoint (/fos/admin/ajax.php) appears reachable without authentication based on the PR:N metric in the CVSS 4.0 vector, which is a secondary design flaw compounding the injection risk.

Know when Simple Online Food Ordering System gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 5.5 MEDIUM
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:P
vuln.today AI 7.3 HIGH

Network-reachable endpoint, no authentication per CVSS 4.0 PR:N, limited CIA impact consistent with partial SQL read/write access.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
CVSS changed
Aug 24, 2026 - 06:22 NVD
6.9 (MEDIUM) 5.5 (MEDIUM)
CVE Published
Aug 24, 2026 - 05:15 cve.org
MEDIUM 6.9

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.3%
Top 82% exploitable
Prevalence
Rare
educational hobbyist PHP script, negligible production enterprise deployment
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

CVE-2026-78248 MEDIUM POC
5.5 Aug 24

Unauthenticated SQL injection in SourceCodester Simple Online Food Ordering System 1.0 allows remote attackers to manipu

CVE-2026-78247 MEDIUM POC
5.5 Aug 24

SQL injection in SourceCodester Simple Online Food Ordering System 1.0 exposes the `/fos/admin/ajax.php?action=confirm_o

CVE-2026-76050 MEDIUM POC
5.5 Aug 19

SQL injection in SourceCodester Simple Online Food Ordering System 1.0 exposes the `/admin/ajax.php?action=delete_menu`

CVE-2026-76049 MEDIUM POC
5.5 Aug 19

SQL injection in SourceCodester Simple Online Food Ordering System 1.0 exposes backend database contents through the uns

CVE-2026-76048 MEDIUM POC
5.5 Aug 19

SQL injection in SourceCodester Simple Online Food Ordering System 1.0 exposes the unauthenticated admin login endpoint

CVE-2026-78199 MEDIUM POC
5.5 Aug 24

SQL injection in SourceCodester Simple Online Food Ordering System 1.0 exposes the `/fos/view_prod.php` endpoint to remo

CVE-2026-76998 MEDIUM POC
5.5 Aug 20

SQL injection in SourceCodester Simple Online Food Ordering System 1.0 exposes the `/admin/ajax.php?action=delete_catego

CVE-2026-76996 MEDIUM POC
5.5 Aug 20

SQL injection in SourceCodester Simple Online Food Ordering System 1.0 exposes the `/fos/admin/view_order.php` endpoint

CVE-2026-76997 LOW POC
2.1 Aug 20

SQL injection in SourceCodester Simple Online Food Ordering System 1.0 exposes the admin panel's category management end

CVE-2026-76995 LOW POC
2.0 Aug 20

Unrestricted file upload in SourceCodester Simple Online Food Ordering System 1.0 allows authenticated administrators to

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy