Bugtraq mailing list archives

Cross-Site Scripting (XSS) in Open Classifieds


From: High-Tech Bridge Security Research <advisory () htbridge com>
Date: Wed, 12 Mar 2014 14:11:46 +0100 (CET)

Advisory ID: HTB23204
Product: Open Classifieds
Vendor: Open Classifieds Team
Vulnerable Version(s): 2-2.1.2 and probably prior
Tested Version: 2-2.1.2
Advisory Publication:  February 19, 2014  [without technical details]
Vendor Notification: February 19, 2014 
Vendor Patch: February 20, 2014 
Public Disclosure: March 12, 2014 
Vulnerability Type: Cross-Site Scripting [CWE-79]
CVE Reference: CVE-2014-2024
Risk Level: Medium 
CVSSv2 Base Score: 4.3 (AV:N/AC:M/Au:N/C:N/I:P/A:N)
Solution Status: Fixed by Vendor
Discovered and Provided: High-Tech Bridge Security Research Lab ( https://www.htbridge.com/advisory/ ) 

-----------------------------------------------------------------------------------------------

Advisory Details:

High-Tech Bridge Security Research Lab discovered vulnerability in Open Classifieds, which can be exploited to perform 
Cross-Site Scripting (XSS) attacks.


1) Cross-Site Scripting (XSS) in Open Classifieds: CVE-2014-2024

The vulnerability exists due to insufficient sanitisation of user-supplied data passed via the URI to 
"/shared-apartments-rooms/" URL. A remote attacker can trick a logged-in user to open a specially crafted link and 
execute arbitrary HTML and script code in browser in context of the vulnerable website.

The exploitation example below uses the JavaScript "alert()" function to display "immuniweb" word:

http://[host]/shared-apartments-rooms/</title><script>alert(%22immuniweb%22)</script>


-----------------------------------------------------------------------------------------------

Solution:

Update to Open Classifieds 2-2.1.3

More Information:
https://github.com/open-classifieds/openclassifieds2/issues/556
https://github.com/open-classifieds/openclassifieds2/commit/45ee8fb601a91b8a4238229580a32a4fd8d96ef9

-----------------------------------------------------------------------------------------------

References:

[1] High-Tech Bridge Advisory HTB23204 - https://www.htbridge.com/advisory/HTB23204 - Cross-Site Scripting (XSS) in 
Open Classifieds.
[2] Open Classifieds - http://open-classifieds.com - Open Classifieds is web software you can use to create a beautiful 
classifieds or listings.
[3] Common Vulnerabilities and Exposures (CVE) - http://cve.mitre.org/ - international in scope and free for public 
use, CVE® is a dictionary of publicly known information security vulnerabilities and exposures.
[4] Common Weakness Enumeration (CWE) - http://cwe.mitre.org - targeted to developers and security practitioners, CWE 
is a formal list of software weakness types.
[5] ImmuniWeb® - https://portal.htbridge.com/ - is High-Tech Bridge's proprietary web application security assessment 
solution with SaaS delivery model that combines manual and automated vulnerability testing.

-----------------------------------------------------------------------------------------------

Disclaimer: The information provided in this Advisory is provided "as is" and without any warranty of any kind. Details 
of this Advisory may be updated in order to provide as accurate information as possible. The latest version of the 
Advisory is available on web page [1] in the References.


Current thread: