code-projects Inventory Management System
cpe:2.3:a:code-projects:inventory_management:*:*:*:*:*:*:*
- 1.0
A critical SQL injection vulnerability has been identified in Code-Projects Inventory Management System version 1.0. The issue resides in the file '/php_action/createUser.php', where the 'MULTIPART userName' parameter is manipulated, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely, without any authentication, potentially leading to unauthorized database access, data modification or deletion, and exposure of sensitive information.
Exploitation of this vulnerability allows for SQL injection, enabling attackers to manipulate database queries. This could result in unauthorized data access, data leakage, data modification or deletion, and in some cases, executing administrative operations on the database. Such actions could disrupt the application's normal functioning and compromise its data integrity.
To reproduce this vulnerability, send a POST request to 'createUser.php' with the 'MULTIPART userName' parameter. Inject a payload that exploits time-based blind SQL injection, such as one that uses the SQL 'SLEEP' function to demonstrate the injection's effectiveness. The request can be made using tools like 'sqlmap' or manually through a web application testing tool that allows for SQL injection exploitation.
It is recommended to use prepared statements and parameter binding to prevent SQL injection. Additionally, input validation and filtering should be implemented to ensure user input conforms to expected formats. Minimizing database user permissions and conducting regular security audits can also help enhance the application's security.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.