Multiple SQL injection vulnerabilities in the getGalleryImage function in st_admin/gallery_output.php in ST-Gallery 0.1 alpha, when magic_quotes_gpc is disabled, allow remote attackers to execute arbitrary SQL commands via the (1) gallery_category or (2) gallery_show parameter to example.php.
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/8636 | exploit |
http://marc.info/?l=bugtraq&m=124171333011782&w=2 | exploit mailing list |
http://www.securityfocus.com/bid/34875 | vdb entry exploit |
https://exchange.xforce.ibmcloud.com/vulnerabilities/50378 | vdb entry |