Description
A weakness has been identified in SourceCodester Simple Online Food Ordering System 1.0. This vulnerability affects unknown code of the file /fos/admin/ajax.php?action=save_user. This manipulation of the argument Username causes sql injection. The attack may be initiated remotely. The exploit has been made available to the public and could be used for attacks.
Published: 2026-08-24
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Remote SQL Injection
Action: Patch Immediately
AI Analysis

Impact

The defect triggers a SQL injection vulnerability when the Username parameter is sent to /fos/admin/ajax.php?action=save_user. The flaw allows attacker‑supplied input to be injected into a database query, potentially enabling query modification, data exfiltration, or unauthorized data manipulation. The vulnerability resides in untrusted code paths that are not well‑protected. The impact is loss of data confidentiality, integrity, and possible availability if the database is damaged or locked.

Affected Systems

SourceCodester Simple Online Food Ordering System v1.0, specifically the administrator Ajax handler for user creation. The vulnerability is located in the file /fos/admin/ajax.php and affects any deployment of this application using that code path.

Risk and Exploitability

The CVSS score of 6.9 indicates medium severity. The EPSS score is not available, but the public availability of an exploit suggests that the likelihood of exploitation is significant. The issue is not listed in the CISA KEV catalog, so it is not a known, widely‑used exploit. Attackers can likely begin exploitation remotely, provided they can construct a request to the vulnerable endpoint. No special privileges are required beyond network access to the application.

Generated by OpenCVE AI on August 24, 2026 at 06:51 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Deploy the vendor's patch for SourceCodester Simple Online Food Ordering System when it becomes available.
  • If a patch is not yet released, modify the Username handling code in /fos/admin/ajax.php to use prepared statements or other parameterized query mechanisms, preventing unsanitized input from reaching the database.
  • Restrict write access to the admin AJAX endpoint by enforcing authentication and limiting access to trusted IP addresses or user roles.
  • Monitor web server and database logs for unusual query patterns or error messages that may indicate attempted injection attacks, and respond accordingly.

Generated by OpenCVE AI on August 24, 2026 at 06:51 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 05:15:00 +0000

Type Values Removed Values Added
Description A weakness has been identified in SourceCodester Simple Online Food Ordering System 1.0. This vulnerability affects unknown code of the file /fos/admin/ajax.php?action=save_user. This manipulation of the argument Username causes sql injection. The attack may be initiated remotely. The exploit has been made available to the public and could be used for attacks.
Title SourceCodester Simple Online Food Ordering System ajax.php save_user 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:56:52.179Z

Reserved: 2026-08-23T22:35:15.241Z

Link: CVE-2026-78197

cve-icon Vulnrichment

Updated: 2026-08-24T17:56:46.616Z

cve-icon NVD

Status : Deferred

Published: 2026-08-24T05:16:55.917

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

Link: CVE-2026-78197

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-24T07:00:09Z

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')