OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Cross-Site Scripting (XSS) in Tweet Blender Wordpress Plugin

From: High-Tech Bridge Security Research (advisoryhtbridge.com)
Date: Fri Nov 15 2013 - 10:10:01 CST


Advisory ID: HTB23180
Product: Tweet Blender Wordpress Plugin
Vendor: kirilln
Vulnerable Version(s): 4.0.1 and probably prior
Tested Version: 4.0.1
Advisory Publication: October 25, 2013 [without technical details]
Vendor Notification: October 25, 2013
Vendor Patch: November 13, 2013
Public Disclosure: November 15, 2013
Vulnerability Type: Cross-Site Scripting [CWE-79]
CVE Reference: CVE-2013-6342
Risk Level: Low
CVSSv2 Base Score: 2.6 (AV:N/AC:H/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 Tweet Blender Wordpress Plugin, which can be exploited to perform Cross-Site Scripting (XSS) attacks.

1) Cross-Site Scripting (XSS) in Tweet Blender Wordpress Plugin: CVE-2013-6342

1.1 The vulnerability exists due to insufficient sanitisation of user-supplied data in "tb_tab_index" HTTP POST parameter passed to "/wp-admin/options-general.php" script. A remote attacker can trick a logged-in administrator 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 "alert()" JavaScript function to display "imuniweb" word:

<form action="http://[host]/wp-admin/options-general.php?page=tweet-blender/admin-page.php" method="post" name="main">
<input type="hidden" name="tb_tab_index" value='</script><script>alert("immuniweb");</script>'>
<input type="submit" id="btn">
</form>

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

Solution:

Update to Tweet Blender 4.0.2

More Information:
http://wordpress.org/plugins/tweet-blender/changelog/

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

References:

[1] High-Tech Bridge Advisory HTB23180 - https://www.htbridge.com/advisory/HTB23180 - Cross-Site Scripting (XSS) in Tweet Blender Wordpress Plugin.
[2] Tweet Blender Wordpress Plugin - http://wordpress.org/plugins/tweet-blender/ - Provides several Twitter widgets: show your own tweets, show tweets relevant to post's tags, show tweets for Twitter lists, show tweets for hasht .
[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® - http://www.htbridge.com/immuniweb/ - 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.