vendor:
Inventory Webapp
by:
Mohammad Zaheri
7.5
CVSS
HIGH
SQL Injection
89
CWE
Product Name: Inventory Webapp
Affected Version From: N/A
Affected Version To: N/A
Patch Exists: NO
Related CWE: N/A
CPE: N/A
Metasploit:
N/A
Other Scripts:
N/A
Platforms Tested: Windows
2019
Exploit Title: Inventory Webapp SQL injection
The Inventory Webapp is vulnerable to SQL injection. The vulnerable page is '/php/add-item.php' and the vulnerable source code is on lines 39, 40, 41, 42 and 49. An attacker can exploit this vulnerability by sending a malicious SQL query to the vulnerable page. The proof of concept is http://site.com/php/add-item.php?itemquery=[SQL]
Mitigation:
Input validation should be used to prevent SQL injection attacks. All user-supplied input should be validated and filtered before being used in an SQL query.