[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cross-Site Scripting (XSS) in Duplicator WordPress Plugin



Advisory ID: HTB23162
Product: Duplicator WordPress Plugin
Vendor: LifeInTheGrid 
Vulnerable Version(s): 0.4.4 and probably prior
Tested Version: 0.4.4
Vendor Notification: June 19, 2013 
Vendor Patch: July 21, 2013 
Public Disclosure: July 24, 2013 
Vulnerability Type: Cross-Site Scripting [CWE-79]
CVE Reference: CVE-2013-4625
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 XSS vulnerability in 
Duplicator WordPress plugin, which can be exploited to perform cross-site 
scripting attacks against vulnerable application.


1) Cross-Site Scripting (XSS) in Duplicator WordPress Plugin: CVE-2013-4625

The vulnerability exists due to insufficient filtration of user-supplied data 
in "package" HTTP GET parameter passed to 
"/wp-content/plugins/duplicator/files/installer.cleanup.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 administrator's cookies:

http://[host]/wp-content/plugins/duplicator/files/installer.cleanup.php?remove=1&package=%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E


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

Solution:

Upgrade to Duplicator 0.4.5

More Information:
http://support.lifeinthegrid.com/knowledgebase.php?article=20

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

References:

[1] High-Tech Bridge Advisory HTB23162 - 
https://www.htbridge.com/advisory/HTB23162 - Cross-Site Scripting (XSS) in 
Duplicator WordPress Plugin.
[2] Duplicator WordPress Plugin - http://lifeinthegrid.com/labs/duplicator/ - 
This free plugin available at wordpress.org is a powerful tool you can use to 
rapidly clone and deploy any WordPress site.
[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.