Code-Projects Product Inventory System SQL Injection Vulnerability

Vulnerability

A critical SQL injection vulnerability has been identified in Code-Projects Product Inventory System version 1.0. The issue resides in the Login component, specifically within the '/index.php' file. The vulnerability is triggered by manipulating the 'username' parameter, allowing attackers to inject malicious SQL queries. This injection occurs without proper validation or sanitization of user input, enabling unauthorized database access and manipulation of sensitive data. The vulnerability can be exploited remotely, without any authentication requirements.

Impact

Exploitation of this vulnerability allows for unauthorized database access, manipulation of data, and potential disruption of services.

Reproduction

The vulnerability can be reproduced by sending a POST request to the '/index.php' file with the 'username' parameter. The injection can be crafted using various payloads, such as boolean-based blind, error-based, or time-based blind SQL injection techniques. This can be done using tools like sqlmap, which automates the process of finding and exploiting SQL injection vulnerabilities.

Remediation

It is recommended to use prepared statements and parameter binding to prevent SQL injection, validate and filter user input, minimize database user permissions, and conduct regular security audits.

Added: Jun 29, 2025, 3:20 AM
Updated: Jun 29, 2025, 3:20 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
3.1
exploitability
8.7
remediation
0.0
relevance
0.2
threat
6.4
urgency
2.9
incentive
5.8

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