SourceCodester Sales and Inventory System
cpe:2.3:a:sales_and_inventory_system_project:sales_and_inventory_system:*:*:*:*:*:*:*
- 1.0
A SQL injection vulnerability has been identified in SourceCodester Sales and Inventory System version 1.0. The issue arises in the 'update_customer_details.php' file, where the 'sid' parameter in the HTTP GET request is not properly sanitized. This flaw allows authenticated attackers to inject arbitrary SQL commands, exploiting the application’s MySQL database. The vulnerability supports UNION-based injections, enabling direct retrieval of sensitive database information, as well as Boolean-based and time-based blind SQL injection techniques.
Successful exploitation allows attackers to execute arbitrary SQL commands, potentially leading to unauthorized data access, data manipulation, or database enumeration.
To reproduce this vulnerability, log into the application and send a crafted HTTP GET request to 'update_customer_details.php' with an injected SQL payload in the 'sid' parameter. Alternatively, use SQLMap to automate the exploitation.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.