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_purchase.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 injection techniques.
Successful exploitation allows attackers to inject SQL commands that can be executed by the application's database, potentially leading to unauthorized data access, data manipulation, or other malicious database operations.
To reproduce this vulnerability, log into the application and send a crafted HTTP GET request to 'update_purchase.php' with a SQL injection 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.