SQL injection vulnerability in index.php in PHPShop 0.8.1 allows remote attackers to execute arbitrary SQL commands via the product_id parameter, as demonstrated by a shop/flypage action.
The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
Link | Tags |
---|---|
https://www.exploit-db.com/exploits/5041 | exploit |
http://www.securityfocus.com/bid/27570 | vdb entry |
http://www.securityfocus.com/archive/1/487435/100/0/threaded | mailing list |
http://securityreason.com/securityalert/3628 | third party advisory |