Description
|
|
Multiple vulnerabilities have been discovered in OSClass, which can be exploited by malicious people to conduct cross-site scripting, cross-site request forgery, and SQL injection attacks.
1) Input passed via the "sCity", "sPattern", "sPriceMax", and "sPriceMin" parameters to index.php (when "page" is set to "search") and via the "id" parameter to oc-admin/index.php (when "page" is set to "ajax" and "action" is set to "enable_category") is not properly sanitised in the "getParam()" function in oc-includes/osclass/core/Params.php before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.
2) Input passed via the "sCategory" parameter to index.php (when "page" is set to "search") is not properly sanitised in the "osc_search_category_id()" function in oc-includes/osclass/helpers/hSearch.php and the "findBySlug()" function in oc-includes/osclass/model/Category.php before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
3) The application allows users to perform certain actions via HTTP requests without performing proper validity checks to verify the requests. This can be exploited to e.g. upload PHP files when a logged-in administrator visits a specially crafted web page.
The vulnerabilities are confirmed in version 2.3.4.1. Prior versions may also be affected.
|