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

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

Description

A vulnerability was determined in code-projects Food Ordering System 1.0. This affects an unknown function of the file /admin/menu.php. Executing a manipulation of the argument itemPrice can lead to sql injection. The attack can be executed remotely. The exploit has been publicly disclosed and may be utilized.

AI-Powered Analysis

Machine-generated threat intelligence

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

Technical Analysis

CVE-2025-12315 identifies a SQL injection vulnerability in the code-projects Food Ordering System version 1.0, located in the /admin/menu.php file. The vulnerability arises from improper sanitization of the itemPrice parameter, which is used in SQL queries without adequate validation or parameterization. An attacker with authenticated access to the administrative interface can remotely manipulate this parameter to inject malicious SQL code. This can lead to unauthorized data disclosure, modification, or deletion within the backend database, impacting confidentiality, integrity, and availability. The CVSS 4.0 vector indicates network attack vector (AV:N), low attack complexity (AC:L), no user interaction (UI:N), but requires high privileges (PR:H), and results in low impacts on confidentiality, integrity, and availability (VC:L, VI:L, VA:L). No public exploit code is currently known, but the vulnerability has been publicly disclosed, increasing the risk of future exploitation. The lack of patches or official fixes at the time of disclosure necessitates immediate mitigation efforts. The vulnerability is limited to version 1.0 of the product, which may be deployed in niche or small to medium enterprises using this food ordering system. The attack requires administrative credentials, which reduces the likelihood of exploitation by external unauthenticated attackers but still poses a significant risk if credentials are compromised or insider threats exist.

Potential Impact

The potential impact includes unauthorized access to sensitive data stored in the backend database, such as menu pricing, order details, or customer information. Attackers could alter menu prices or order data, leading to financial discrepancies or operational disruption. Data integrity could be compromised by unauthorized modifications, and availability could be affected if destructive SQL commands are executed. Since the vulnerability requires administrative privileges, the risk is mitigated somewhat by access controls, but insider threats or credential theft could enable exploitation. Organizations relying on this system may face reputational damage, financial loss, and regulatory compliance issues if customer data is exposed or manipulated. The medium CVSS score reflects moderate risk, but the exploitability combined with the critical role of food ordering systems in business operations elevates the concern for affected entities.

Mitigation Recommendations

To mitigate this vulnerability, organizations should immediately restrict administrative access to trusted personnel and enforce strong authentication mechanisms such as multi-factor authentication. Input validation and parameterized queries should be implemented in the /admin/menu.php file to sanitize the itemPrice parameter and prevent SQL injection. If possible, upgrade to a patched version of the software once available or apply vendor-provided patches promptly. In the absence of official patches, consider deploying web application firewalls (WAFs) with rules targeting SQL injection patterns on the affected endpoint. Regularly audit and monitor database and application logs for suspicious activities indicative of SQL injection attempts. Conduct security training for administrators to recognize phishing or credential theft risks. Network segmentation can limit the exposure of the administrative interface to internal networks only. Finally, perform regular security assessments and code reviews to identify and remediate similar vulnerabilities proactively.

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:23:00.758Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 68ffd495ba6dffc5e20c6593

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

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

Last updated: 3/22/2026, 9:12:05 PM

Views: 113

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