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 'view_product.php' file within the 'pharmacy' directory. This vulnerability allows 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/view_product.php' with a crafted 'id' parameter that includes SQL injection payloads. For example, an injection payload could be '1' union select 1,2,3,sqlite_version(),5,6,7,8--. This payload exploits the application's SQL query handling by injecting malicious SQL code that is executed by the database.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.