code-projects Medical Store Management System
cpe:2.3:a:medical_store_management_system_project:medical_store_management_system:*:*:*:*:*:*:*
A SQL injection vulnerability has been identified in version 1.0 of the Code-Projects Medical Store Management System. The issue resides in the UpdateMedicines.java file, specifically within the Update Medicines Page component. This vulnerability allows remote attackers to manipulate the productNameTxt argument, injecting malicious SQL queries that could be executed by the application's database. The lack of proper input validation is the root cause of this vulnerability.
Exploitation of this vulnerability allows for unauthorized database access, potential leakage or manipulation of sensitive data, and could disrupt normal service operations.
To reproduce this vulnerability, navigate to the Update Medicines page in the application. Once there, send a request that includes a crafted payload in the productNameTxt parameter. The payload should be designed to exploit the SQL injection vulnerability, such as by appending SQL commands that could be 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.