Skip to main content

CVE-2025-6482: SQL Injection in code-projects Simple Pizza Ordering System

Medium
VulnerabilityCVE-2025-6482cvecve-2025-6482
Published: Sun Jun 22 2025 (06/22/2025, 15:31:07 UTC)
Source: CVE Database V5
Vendor/Project: code-projects
Product: Simple Pizza Ordering System

Description

A vulnerability, which was classified as critical, was found in code-projects Simple Pizza Ordering System 1.0. Affected is an unknown function of the file /edituser-exec.php. The manipulation of the argument userid leads to sql injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.

AI-Powered Analysis

AILast updated: 06/22/2025, 16:04:36 UTC

Technical Analysis

CVE-2025-6482 is a SQL Injection vulnerability identified in version 1.0 of the code-projects Simple Pizza Ordering System, specifically within the /edituser-exec.php file. The vulnerability arises from improper sanitization or validation of the 'userid' parameter, which is directly used in SQL queries. This flaw allows an unauthenticated remote attacker to inject malicious SQL code, potentially manipulating the backend database. Exploitation does not require any user interaction or authentication, making it accessible to any remote attacker who can reach the affected endpoint. The vulnerability has been publicly disclosed, increasing the risk of exploitation, although no known active exploits have been reported in the wild yet. The CVSS 4.0 base score is 6.9 (medium severity), reflecting the network attack vector, low attack complexity, no privileges or user interaction required, and limited impact on confidentiality, integrity, and availability. The vulnerability could allow attackers to read or modify user data, escalate privileges, or disrupt service depending on the database permissions and application logic. However, the scope is limited to the Simple Pizza Ordering System version 1.0, which is a niche web application primarily used for pizza ordering management. The lack of patch links indicates that no official fix has been released at the time of publication, increasing the urgency for mitigation by other means.

Potential Impact

For European organizations, the impact depends on the adoption of the Simple Pizza Ordering System within their operations. If used by small to medium-sized food service businesses, this vulnerability could lead to unauthorized access to customer data, manipulation of orders, or disruption of business operations. Given the nature of SQL injection, attackers could extract sensitive customer information, including personal details and order histories, potentially violating GDPR regulations and leading to legal and reputational consequences. Additionally, attackers might alter user accounts or escalate privileges within the system, causing further operational damage. While the system itself is not a critical infrastructure component, the compromise of customer data and service availability could have significant business impacts, especially for companies relying heavily on online ordering. The medium CVSS score suggests moderate risk, but the public disclosure and ease of exploitation elevate the threat level. Organizations using this system should consider the risk of data breaches and service interruptions, which could also affect customer trust and compliance with European data protection laws.

Mitigation Recommendations

Since no official patches are currently available, European organizations should implement immediate compensating controls. First, apply strict input validation and parameterized queries or prepared statements in the /edituser-exec.php script to prevent SQL injection. If source code modification is not feasible, deploy a Web Application Firewall (WAF) with specific rules to detect and block SQL injection attempts targeting the 'userid' parameter. Conduct thorough code reviews and penetration testing focused on SQL injection vectors in the application. Limit database user permissions to the minimum necessary to reduce the impact of a successful injection. Monitor logs for suspicious activities related to the vulnerable endpoint, such as unusual query patterns or repeated access attempts. Additionally, organizations should isolate the affected system from critical internal networks to contain potential breaches. Finally, maintain regular backups of the database to enable recovery in case of data tampering or loss. Organizations should also track vendor communications for forthcoming patches and plan timely updates once available.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
VulDB
Date Reserved
2025-06-21T05:52:43.989Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 685826b8179a4edd60b4a588

Added to database: 6/22/2025, 3:52:24 PM

Last enriched: 6/22/2025, 4:04:36 PM

Last updated: 8/12/2025, 11:28:06 PM

Views: 42

Actions

PRO

Updates to AI analysis are available only with a Pro account. Contact root@offseq.com for access.

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