Multiple SQL injection vulnerabilities in OSClass before 2.3.5 allow remote attackers to execute arbitrary SQL commands via the sCategory parameter to index.php, which is not properly handled by the (1) osc_search_category_id function in oc-includes/osclass/helpers/hSearch.php and (2) findBySlug function oc-includes/osclass/model/Category.php. NOTE: some of these details are obtained from third party information.
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://github.com/osclass/OSClass/commit/ff7ef8a97301aaaf6a97fe46c2c27981a86b4e2f#diff-73 | |
http://osclass.org/2012/01/16/osclass-2-3-5/ | vendor advisory |
http://www.securityfocus.com/bid/51662 | vdb entry |
https://www.htbridge.ch/advisory/multiple_vulnerabilities_in_osclass.html | |
http://secunia.com/advisories/47697 | third party advisory vendor advisory |
http://archives.neohapsis.com/archives/bugtraq/2012-01/0157.html | mailing list |