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 220.127.116.11. Prior versions may also be affected.
Solution: Update to version 2.3.5.
Provided and/or discovered by: 1) Independently discovered by High-Tech Bridge SA and Filippo Cavallarin
2) High-Tech Bridge SA
3) Filippo Cavallarin
Original Advisory: High-Tech Bridge SA:
Do you have additional information related to this advisory?
Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this
information to email@example.com
Subject: OSClass Multiple Vulnerabilities
No posts yet
You must be logged in to post a comment.
Secunia Customer Login
Not a customer already?
Learn more about how our market leading Vulnerability Management solutions can help you manage risk and ensure compliance.