Skip to main content

Simple Food Ordering CVE-2026-78247

| EUVDEUVD-2026-64838 MEDIUM
SQL Injection (CWE-89)
2026-08-24 VulDB GHSA-r65h-jfv3-75q6
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 internet-exposed SOFOS 1.0 instance
  2. Exploit
    Send crafted HTTP request to /fos/admin/ajax.php
  3. Execution
    Inject SQL payload via ID parameter
  4. Impact
    Extract or manipulate backend database contents

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 specific vulnerable endpoint is /fos/admin/ajax.php?action=confirm_order, with the ID request parameter as the injection point. Per the CVSS 4.0 vector (PR:N, UI:N), no authentication or user interaction is required, though the /admin/ path suggests the endpoint may be intended for authenticated administrative use - whether session authentication is actually enforced in default deployments is unconfirmed and likely absent given the PR:N rating from the original researcher. Exploitation requires HTTP/HTTPS network access to TCP port 80 or 443 on the target host. No special configuration setting, non-default feature flag, or specific deployment mode is needed. Exploitation is strictly limited to systems running SourceCodester Simple Online Food Ordering System 1.0 with network exposure; air-gapped or localhost-only deployments are not exploitable via this vector.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) classifies this as low-complexity, zero-prerequisite remote exploitation with E:P (proof-of-concept exists), all of which are high-risk indicators. Impact is rated Limited across Vulnerable System Confidentiality, Integrity, and Availability (VC:L/VI:L/VA:L), with no subsequent-system impact, which is consistent with database-layer access without OS-level escalation. The presence of a public exploit on GitHub (https://github.com/huliangjia/cve/issues/1) is a concrete signal that exploitation requires minimal attacker skill. However, a key tension exists: the endpoint path contains /admin/, which typically implies session-gated access; if the admin panel enforces authentication, effective exploitation would require at least PR:L. Sourcecodester demo applications frequently ship with weak or missing access controls, making PR:N plausible but not independently confirmed beyond the reporter's CVSS assignment. No EPSS data was provided, and the absence of a CISA KEV listing suggests no confirmed widespread exploitation campaigns, though this does not rule out opportunistic targeting. The narrow deployment footprint of this niche educational product limits aggregate blast radius.

Exploit ScenarioDerived

A remote attacker locates an internet-exposed instance of Simple Online Food Ordering System 1.0 via search engine dorking or automated scanning, then submits a crafted HTTP GET or POST request to /fos/admin/ajax.php?action=confirm_order&ID=1 UNION SELECT ... using the publicly available proof-of-concept from GitHub. Without any authentication barrier, the injected SQL payload is executed against the backend database, allowing the attacker to enumerate table structures, extract user credentials and customer order data, or - if the database account has write permissions - modify records.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.4% 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=confirm_order endpoint to arbitrary database query manipulation via the unsanitized ID parameter. A public proof-of-concept exploit is available on GitHub, materially elevating exploitation risk beyond the base CVSS 4.0 score of 6.9, though no CISA KEV listing has been confirmed at time of analysis. Any internet-exposed deployment running this PHP application is at immediate risk of database enumeration and data exfiltration by unauthenticated remote attackers.

RemediationAI

No vendor-released patch or fixed version has been identified at time of analysis. Organizations running this application in any production or internet-facing context should treat it as end-of-life and replace it with an actively maintained alternative, as Sourcecodester educational scripts are not subject to formal security maintenance cycles. As an immediate compensating control, restrict access to /fos/admin/ajax.php via web server-level IP allowlisting (e.g., Apache Require ip directive or nginx allow/deny blocks), limiting reachability to trusted administrative networks only - this eliminates the PR:N network attack surface but requires maintaining an accurate allowlist. Alternatively, enforce HTTP basic authentication at the web server layer for the /admin/ directory as an additional barrier. Developers maintaining forks should refactor all database interactions in the AJAX handler to use PDO prepared statements with bound parameters, eliminating the SQL injection root cause entirely. Vulnerability details and the public exploit reference are documented at https://vuldb.com/vuln/394597 and https://github.com/huliangjia/cve/issues/1.

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 software (CPE: cpe:2.3:a:sourcecodester:simple_online_food_ordering_system:*:*:*:*:*:*:*:*) is a PHP-based web application distributed by Sourcecodester as an open-source educational script, typically backed by a MySQL database. The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command), a failure to use parameterized queries or prepared statements when constructing SQL from the user-supplied ID parameter in the AJAX handler at /fos/admin/ajax.php. PHP applications in this category frequently concatenate user input directly into query strings, enabling classic UNION-based, error-based, or blind SQL injection techniques. The tags confirm the PHP and SQLi attack surface, and the wildcard CPE version field indicates all known sub-versions of 1.0 are affected.

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 SQL injection with no confirmed auth enforcement (PR:N per VulDB CVSS 4.0), limited CIA impact consistent with database-layer access and no OS or scope escalation.

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 - 13:22 NVD
6.9 (MEDIUM) 5.5 (MEDIUM)
CVE Published
Aug 24, 2026 - 12:45 cve.org
MEDIUM 5.5

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.4%
Top 66% exploitable
Prevalence
Rare
niche educational PHP demo script, minimal enterprise footprint
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.4%
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
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

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-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-78198 MEDIUM POC
5.5 Aug 24

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

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