Sourcecodester Pharmacy Point of Sale System
cpe:2.3:a:pharmacy_point_of_sale_system_project:pharmacy_point_of_sale_system:*:*:*:*:*:*:*
- 1.0
A SQL injection vulnerability has been identified in Sourcecodester Pharmacy Point of Sale System version 1.0. The issue resides in the 'manage_stock.php' file, where user input is not properly sanitized, allowing attackers to manipulate SQL queries and potentially access or modify database information.
Exploitation of this vulnerability allows for SQL injection, where an attacker can interfere with the application's database queries. This could lead to unauthorized data access, data manipulation, or in some cases, executing administrative operations on the database.
To reproduce this vulnerability, send a GET request to 'pharmacy/manage_stock.php' with a crafted 'id' parameter that includes SQL injection payloads. For example, an injection payload could be '5' UNION SELECT 1,2,3,4,sqlite_version(),6--+. This payload exploits the SQL injection vulnerability by appending a UNION SELECT statement to the original query, allowing the attacker to extract database information, such as the SQLite version.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.