vendor:
Shop Script Pro
by:
Ams
9.8
CVSS
CRITICAL
SQL Injection
89
CWE
Product Name: Shop Script Pro
Affected Version From: Shop Script Pro 2.12
Affected Version To: Shop Script Pro 2.12 (possibly other versions as well)
Patch Exists: NO
Related CWE:
CPE: a:shop_script:pro:2.12
Platforms Tested:
Unknown
Shop Script Pro 2.12 SQL Injection Exploit
The Shop Script Pro 2.12 application is vulnerable to SQL injection. The vulnerability exists in the 'index.php' file at line 101, where the '$current_currency' variable is set from the unfiltered value of the '$_SESSION["current_currency"]' variable. An attacker can exploit this vulnerability to upload a malicious shell script by sending a POST request with a SQL injection payload. This allows the attacker to execute arbitrary code on the server.
Mitigation:
To mitigate this vulnerability, ensure that input values are properly filtered and validated before being used in SQL queries. Additionally, enable magic_quotes_gpc or use prepared statements to prevent SQL injection attacks.