SQL injection vulnerability in index.php in AJ Shopping Cart 1.0 allows remote attackers to execute arbitrary SQL commands via the maincatid parameter in a showmaincatlanding 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 |
---|---|
http://secunia.com/advisories/39551 | third party advisory vendor advisory |
http://www.exploit-db.com/exploits/12349 | exploit |
https://exchange.xforce.ibmcloud.com/vulnerabilities/58049 | vdb entry |
http://packetstormsecurity.org/1004-exploits/ajshoppingcart-sql.txt | exploit |