Description
A vulnerability was determined in SourceCodester Simple Online Food Ordering System 1.0. Impacted is an unknown function of the file /fos/admin/ajax.php?action=save_settings. This manipulation of the argument Name causes sql injection. The attack is possible to be carried out remotely. The exploit has been publicly disclosed and may be utilized.
Published: 2026-08-24
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Remote SQL Injection
Action: Immediate Patch
AI Analysis

Impact

The vulnerability occurs when the "Name" argument in /fos/admin/ajax.php?action=save_settings is passed directly into an SQL query without proper neutralization of special characters. This flaw allows an attacker to inject arbitrary SQL commands, potentially modifying or extracting sensitive data from the database and compromising the integrity and confidentiality of the system. The flaw is a classic example of CWE‑74 (Improper Neutralization of Special Elements used in an SQL Command) and CWE‑89 (SQL Injection). The vulnerability can be exploited remotely by sending a crafted HTTP request to the affected endpoint.

Affected Systems

SourceCodester Simple Online Food Ordering System version 1.0 is the only identified affected release. No public patch or version update information is available in the vendor data, so the problem remains present in the current distribution.

Risk and Exploitability

The CVSS score of 6.9 indicates moderate severity. The EPSS score is not available, so the current likelihood of exploitation is unknown, and the vulnerability is not catalogued by CISA in the KEV list. Attackers can reach the vulnerable endpoint from any location with network access to the web application, but the description does not specify whether authentication is required to trigger the injection. Given the lack of publicly disclosed exploits, the risk is considered moderate, yet it should be treated as a high priority because a successful injection could lead to server compromise or data exfiltration.

Generated by OpenCVE AI on August 24, 2026 at 17:19 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Acquire and apply the vendor's official patch or upgrade to the latest release that corrects input handling in the ajax.php endpoint.
  • Modify the application code to use prepared statements or parameterized queries for all SQL statements involving user-supplied data, especially the "Name" field, which directly addresses CWE‑74 and CWE‑89.
  • Restrict access to the /fos/admin/ajax.php endpoint to authenticated administrators and enforce the principle of least privilege, ideally with multi‑factor authentication.
  • If immediate patching is not possible, implement a web application firewall rule that blocks SQL injection patterns targeting the "Name" parameter to mitigate the risk of exploitation.

Generated by OpenCVE AI on August 24, 2026 at 17:19 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 24 Aug 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 24 Aug 2026 13:30:00 +0000

Type Values Removed Values Added
Description A vulnerability was determined in SourceCodester Simple Online Food Ordering System 1.0. Impacted is an unknown function of the file /fos/admin/ajax.php?action=save_settings. This manipulation of the argument Name causes sql injection. The attack is possible to be carried out remotely. The exploit has been publicly disclosed and may be utilized.
Title SourceCodester Simple Online Food Ordering System ajax.php save_settings sql injection
First Time appeared Sourcecodester
Sourcecodester simple Online Food Ordering System
Weaknesses CWE-74
CWE-89
CPEs cpe:2.3:a:sourcecodester:simple_online_food_ordering_system:*:*:*:*:*:*:*:*
Vendors & Products Sourcecodester
Sourcecodester simple Online Food Ordering System
References
Metrics cvssV2_0

{'score': 7.5, 'vector': 'AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 7.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 6.9, 'vector': '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'}


Subscriptions

Sourcecodester Simple Online Food Ordering System
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-08-24T17:27:52.920Z

Reserved: 2026-08-24T05:49:36.012Z

Link: CVE-2026-78248

cve-icon Vulnrichment

Updated: 2026-08-24T17:27:48.445Z

cve-icon NVD

Status : Deferred

Published: 2026-08-24T14:17:04.050

Modified: 2026-08-24T18:17:31.623

Link: CVE-2026-78248

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-24T17:30:06Z

Weaknesses
  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')