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-12314: SQL Injection in code-projects Food Ordering System

0
Medium
VulnerabilityCVE-2025-12314cvecve-2025-12314
Published: Mon Oct 27 2025 (10/27/2025, 20:02:09 UTC)
Source: CVE Database V5
Vendor/Project: code-projects
Product: Food Ordering System

Description

A vulnerability was found in code-projects Food Ordering System 1.0. The impacted element is an unknown function of the file /admin/deleteitem.php. Performing a manipulation of the argument itemID results in sql injection. Remote exploitation of the attack is possible. The exploit has been made public and could be used.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/24/2026, 21:43:40 UTC

Technical Analysis

CVE-2025-12314 identifies a SQL injection vulnerability in the code-projects Food Ordering System version 1.0. The flaw exists in the /admin/deleteitem.php file, where the itemID parameter is not properly sanitized before being used in SQL queries. This allows an attacker with administrative privileges to inject malicious SQL code remotely, potentially manipulating the database. The vulnerability does not require user interaction but does require the attacker to have high-level privileges, which limits the attack surface. The CVSS 4.0 vector indicates network attack vector (AV:N), low attack complexity (AC:L), no authentication required (AT:N) but with high privileges (PR:H), no user interaction (UI:N), and low impact on confidentiality, integrity, and availability (VC:L, VI:L, VA:L). Although no exploits are currently observed in the wild, the public disclosure of exploit code increases the risk of exploitation. The vulnerability could allow unauthorized data modification or deletion, potentially disrupting business operations or exposing sensitive information. No official patches have been linked yet, so mitigation relies on secure coding practices and access controls.

Potential Impact

The vulnerability could allow attackers with administrative access to execute arbitrary SQL commands, leading to unauthorized data manipulation or deletion. This compromises the integrity and availability of the food ordering system's database, potentially disrupting order processing and business operations. Confidentiality impact is low to moderate since the vulnerability requires admin privileges, limiting unauthorized data exposure. However, if exploited, attackers could alter menu items, prices, or delete critical data, causing financial loss and reputational damage. Organizations relying on this system for customer orders and inventory management could face operational downtime and customer trust issues. The medium CVSS score reflects the balance between the ease of exploitation (no user interaction, network accessible) and the requirement for high privileges, which reduces the overall risk but still demands attention.

Mitigation Recommendations

1. Apply patches or updates from the vendor as soon as they become available to fix the SQL injection vulnerability. 2. Implement strict input validation and parameterized queries or prepared statements in the /admin/deleteitem.php code to prevent SQL injection. 3. Restrict administrative access to the food ordering system using network segmentation, VPNs, or IP whitelisting to reduce exposure. 4. Employ web application firewalls (WAFs) with SQL injection detection rules to block malicious payloads targeting the itemID parameter. 5. Conduct regular security code reviews and penetration testing focusing on admin functionalities to identify similar vulnerabilities. 6. Monitor database logs and application logs for suspicious queries or unauthorized changes to detect potential exploitation attempts early. 7. Enforce the principle of least privilege for admin accounts and consider multi-factor authentication to reduce the risk of credential compromise.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
VulDB
Date Reserved
2025-10-26T17:22:58.228Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 68ffd495ba6dffc5e20c658c

Added to database: 10/27/2025, 8:22:45 PM

Last enriched: 2/24/2026, 9:43:40 PM

Last updated: 3/26/2026, 8:01:25 AM

Views: 90

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 more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses