Code-projects Simple Stock System
cpe:2.3:a:code-projects:simple_stock_system:*:*:*:*:*:*:*
- 1.0
A SQL injection vulnerability exists in Code-Projects Simple Stock System version 1.0, specifically within the update.php file. The issue arises because the application improperly sanitizes the 'email' parameter, allowing attackers to inject malicious SQL code. This vulnerability can be exploited remotely, without any authentication requirements.
Exploitation of this vulnerability allows attackers to manipulate SQL queries, potentially leading to unauthorized data access, data modification, or execution of administrative operations on the database. Such actions could disrupt normal application functionality and compromise overall system security.
To reproduce this vulnerability, send a GET request to the 'market/update.php' endpoint with an 'email' parameter. The injected SQL payload can be crafted to manipulate the SQL query execution. The absence of input validation on the 'email' parameter facilitates this SQL injection.
It is recommended to use prepared statements and parameterized queries to prevent SQL injection. Additionally, input validation should be implemented to ensure that user-provided data conforms to expected formats before being processed or included in SQL queries.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.