CVE-2025-12931: SQL Injection in SourceCodester Food Ordering System
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 Analysis
Technical Summary
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.
Affected Countries
Germany, France, United Kingdom, Italy, Spain, Netherlands, Poland
CVE-2025-12931: SQL Injection in SourceCodester 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
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.
Affected Countries
For access to advanced analysis and higher rate limits, contact root@offseq.com
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/25/2025, 1:22:55 PM
Views: 65
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
LastPass 2022 Breach Led to Years-Long Cryptocurrency Thefts, TRM Labs Finds
MediumCVE-2025-66378: CWE-863 Incorrect Authorization in Pexip Infinity
MediumCVE-2025-66377: CWE-306 Missing Authentication for Critical Function in Pexip Infinity
HighCVE-2025-59683: CWE-863 Incorrect Authorization in Pexip Infinity
HighCVE-2025-48704: CWE-617 Reachable Assertion in Pexip Infinity
HighActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need enhanced features?
Contact root@offseq.com for Pro access with improved analysis and higher rate limits.