vendor:
Pharmacy Store Management System
by:
Aydın Baran Ertemir
7.5
CVSS
HIGH
SQL Injection
89
CWE
Product Name: Pharmacy Store Management System
Affected Version From: 1.0
Affected Version To: 1.0
Patch Exists: NO
Related CWE: N/A
CPE: a:sourcecodester:pharmacy_store_management_system:1.0
Metasploit:
N/A
Other Scripts:
N/A
Platforms Tested: Kali Linux
2020
Pharmacy Store Management System 1.0 – ‘id’ SQL Injection
This exploit allows an attacker to inject malicious SQL code into the 'id' parameter of the Pharmacy Store Management System 1.0. This can be done by using the SQLMAP tool, which can be used to identify databases and tables in the system. The command to use is 'sqlmap -u 'http://localhost/pharmacy1/admin/edituser?id=1' --dbs --batch'
Mitigation:
Input validation should be used to prevent SQL injection attacks. All user-supplied input should be validated and filtered before being used in SQL queries.