Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-12931: SQL Injection in SourceCodester Food Ordering System

0
Medium
VulnerabilityCVE-2025-12931cvecve-2025-12931
Published: Mon Nov 10 2025 (11/10/2025, 04:32:06 UTC)
Source: CVE Database V5
Vendor/Project: SourceCodester
Product: Food Ordering System

Description

A vulnerability was found in SourceCodester Food Ordering System 1.0. Affected by this vulnerability is an unknown functionality of the file /routers/edit-orders.php. The manipulation of the argument ID results in sql injection. It is possible to launch the attack remotely. The exploit has been made public and could be used.

AI-Powered Analysis

AILast updated: 11/17/2025, 05:39:52 UTC

Technical Analysis

CVE-2025-12931 identifies a SQL injection vulnerability in SourceCodester Food Ordering System version 1.0, located in the /routers/edit-orders.php script. The vulnerability is triggered by manipulation of the 'ID' parameter, which is not properly sanitized or validated before being used in SQL queries. This flaw allows remote attackers to inject arbitrary SQL commands, potentially enabling unauthorized data retrieval, modification, or deletion within the application's database. The attack vector is network accessible without requiring authentication or user interaction, increasing the ease of exploitation. The CVSS 4.0 base score of 5.3 reflects a medium severity, considering the low complexity and no need for privileges, but limited impact on confidentiality, integrity, and availability. No patches or vendor fixes are currently linked, and no confirmed exploits are reported in the wild, though a public exploit exists. The vulnerability affects only version 1.0 of the product, which may limit exposure depending on deployment. The risk is heightened for organizations relying on this system for order management, as database compromise could disrupt operations and expose sensitive customer or business data.

Potential Impact

For European organizations using SourceCodester Food Ordering System 1.0, this vulnerability could lead to unauthorized access to order data, customer information, and potentially payment details stored in the backend database. This compromises confidentiality and integrity, risking data breaches and fraud. Availability could also be impacted if attackers modify or delete critical order records, disrupting business operations. Given the remote exploitability without authentication, attackers can launch attacks from anywhere, increasing exposure. The medium CVSS score suggests moderate impact, but the actual damage depends on the sensitivity of data stored and the presence of compensating controls. Food service providers and online ordering platforms in Europe relying on this system may face reputational damage, regulatory penalties under GDPR if personal data is exposed, and operational downtime. The lack of patches increases the urgency for mitigation. Organizations with limited IT security maturity or those that have not updated their systems are particularly vulnerable.

Mitigation Recommendations

Organizations should immediately audit their deployments of SourceCodester Food Ordering System version 1.0 to identify affected instances. Since no official patches are currently available, implement the following mitigations: 1) Apply strict input validation and sanitization on the 'ID' parameter in /routers/edit-orders.php to prevent SQL injection. 2) Refactor database queries to use parameterized statements or prepared queries to eliminate direct concatenation of user inputs. 3) Restrict network access to the vulnerable endpoint by implementing firewall rules or access control lists limiting traffic to trusted IPs. 4) Monitor logs for suspicious SQL errors or unusual database activity indicative of exploitation attempts. 5) Consider deploying Web Application Firewalls (WAFs) with SQL injection detection and prevention capabilities tailored to block attacks targeting this parameter. 6) Plan for upgrading to a newer, patched version of the software once available or consider alternative solutions. 7) Conduct security awareness training for developers and administrators on secure coding practices and vulnerability management. 8) Regularly back up databases to enable recovery in case of data tampering or loss.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulDB
Date Reserved
2025-11-09T20:10:26.712Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 69116eded0f5adfa3d7d797f

Added to database: 11/10/2025, 4:49:34 AM

Last enriched: 11/17/2025, 5:39:52 AM

Last updated: 12/23/2025, 12:58:16 PM

Views: 64

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats