WordPress WP External Links 1.80 Cross Site Scripting

Type packetstorm
Reporter Cr4sh.0x
Modified 2016-03-24T00:00:00


                                            `Document Title:  
WP External Links v1.80 - Cross Site Scripting  
References (Source):  
Release Date:  
Vulnerability Laboratory ID (VL-ID):  
Common Vulnerability Scoring System:  
Product & Service Introduction:  
Open external links in a new window or tab, adding "nofollow", set  
link icon, styling, SEO friendly options and more. Easy install and  
Configure settings for all external links on your site. After  
activating the plugin all options are already set to make your  
external links SEO friendly.  
Optionally you can also set the target for opening in a new window or  
tab or styling options, like adding an icon.  
(Copy of the Homepage: https://wordpress.org/plugins/wp-external-links/ )  
Abstract Advisory Information:  
An independent vulnerability laboratory researcher discovered multiple  
cross site scripting vulnerabilities in the official WP External Links  
v1.80 wordpress plugin.  
Vulnerability Disclosure Timeline:  
2016-03-24: Public Disclosure (Vulnerability Laboratory)  
Discovery Status:  
Affected Product(s):  
Product: WP External Links - WordPress Plugin (Web-Application) 1.8  
Exploitation Technique:  
Severity Level:  
Technical Details & Description:  
Multiple client-side web vulnerabilities has been discovered in the  
official WP External Links v1.80 wordpress plugin.  
The vulnerability allows remote attackers to inject malicious script  
codes to the application-side of the vulnerable modules.  
The vulnerabilities are located in the  
`[ignore]`,`[title]`,`[no_icon_class]` and `[class_name]` values of  
the `wp_external_links-main`,  
`wp_external_links-seo` or `wp_external_links-style` module POST  
method request. Remote attackers are able to inject script codes to  
application-side of the affected modules. The attack vector of the  
issues are persistent and the request method to inject is POST.  
The injection point are the input fields and the execution occurs in  
the main context sub menu after the inject.  
The security risk of the application-side vulnerabilities are  
estimated as medium with a cvss (common vulnerability scoring system)  
count of 3.5.  
Exploitation of the persistent web vulnerabilities requires a  
privileged web application user account and low or medium user  
Successful exploitation of the vulnerability results in session  
hijacking, persistent phishing, persistent external redirects,  
persistent load  
of malicious script codes or persistent web module context manipulation.  
Request Method(s):  
[+] POST  
Vulnerable Module(s):  
[+] wp_external_links-main  
[+] wp_external_links-seo  
[+] wp_external_links-style  
Vulnerable Parameter(s):  
[+] [ignore]  
[+] [title]  
[+] [no_icon_class]  
[+] [class_name]  
Proof of Concept (PoC):  
The vulnerability can be exploited by remote attackers with low  
privileged or restricted user account and with low user interaction.  
For security demonstration or to reproduce the vulnerability follow  
the provided information and steps below to continue.  
# PoC :http://localhost/wordpress/wp-admin/admin.php?page=wp_external_links  
wp_external_links-main[ignore] = "></textarea><script>alert('Cr4sh.0x')</script>  
wp_external_links-seo[title] = "><script>alert('Cr4sh.0x')</script>  
wp_external_links-style[no_icon_class] = "><script>alert('Cr4sh.0x')</script>  
wp_external_links-style[class_name] = "><script>alert('Cr4sh.0x')</script>  
Security Risk:  
The security risk of the application-side cross site scripting web  
vulnerabilities in the wordpress plugin are estimated as medium. (CVSS  
Credits & Authors:  
Iran Cyber Security Group - Cr4sh.0x [Iran-Cyber.Net]  
Special Tnx To : NOFOZI , root3r , Sir.H4m1d , 0day , pi.hack , 0x3a,  
s4jj4d , whitewolf , jok3r , MoHaMaD-BlAcK ,l3gi0 n , mr.turk ,0xdevil  
& king_k4li