Code-Projects Vehicle Showroom Management System SQL Injection Vulnerability

Vulnerability

A SQL injection vulnerability has been identified in the Vehicle Showroom Management System version 1.0. The issue resides in the '/util/AddVehicleFunction.php' file, where the 'BRANCH_ID' parameter is manipulated, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely, without any authentication, leading to unauthorized database access, data modification or deletion, and exposure of sensitive information.

Impact

Exploitation of this vulnerability allows for SQL injection, enabling attackers to manipulate database queries. This could result in unauthorized data access, data manipulation, and in some cases, executing administrative operations on the database.

Reproduction

The vulnerability can be reproduced by sending a POST request to the '/util/AddVehicleFunction.php' file with a crafted 'BRANCH_ID' parameter. The injected SQL payload can be designed to exploit the application's SQL query handling, such as using boolean-based blind injection techniques or time-based blind injection techniques, where the SQL injection is used to extract data or manipulate the database by, for example, using the SQL 'SLEEP' function.

Remediation

It is recommended to use prepared statements and parameter binding to prevent SQL injection vulnerabilities. Additionally, input validation and filtering should be implemented to ensure that user input conforms to expected formats. Minimizing database user permissions and conducting regular security audits can also help mitigate such vulnerabilities.

Added: Apr 10, 2026, 10:53 AM
Updated: Apr 10, 2026, 10:53 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
5.6
exploitability
8.7
remediation
0.0
relevance
5.6
threat
6.4
urgency
2.9
incentive
4.2

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.