WordPress Pretty Link Plugin Multiple Cross-Site Scripting Vulnerabilities


Description   High-Tech Bridge SA has discovered multiple vulnerabilities in the Pretty Link plugin for WordPress, which can be exploited by malicious people to conduct cross-site scripting attacks.
1) Input passed via the "min_date" parameter to wp-content/plugins/pretty-link/classes/views/prli-clicks/head.php, the "message" parameter to wp-content/plugins/pretty-link/classes/views/prli-dashboard-widget/widget.php, the "errors[]" parameter to wp-content/plugins/pretty-link/classes/views/shared/errors.php, and the "page_first_record", "page_last_record", "record_count", "controller_file", and "page_params" parameters to wp-content/plugins/pretty-link/classes/views/shared/table-nav.php is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.
2) Input passed via various parameters to wp-content/plugins/pretty-link/classes/views/prli-links/form.php is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.
Examples:
http://[host]/wp-content/plugins...s/form.php?prli_blogurl=[script]
http://[host]/wp-content/plugins...s/form.php?values[slug]=[script]
http://[host]/wp-content/plugins...ues[redirect_type][307]=[script]
Successful exploitation requires that "register_globals" is enabled.
The vulnerabilities are confirmed in version 1.4.56. Other versions may also be affected.
     
Vulnerable Products   Vulnerable Software:
WordPress Pretty Link Plugin 1.x
     
Solution   Update to version 1.5.0.
     
CVE  
     
References   HTB23049:
https://www.htbridge.ch/advisory/multiple_vulnerabilities_in_pretty_link_wordpress_plugin.html
Pretty Link Changelog:
http://wordpress.org/extend/plugins/pretty-link/changelog/
     
Vulnerability Manager Detection   No
     
IPS Protection  
ASQ Engine alarm Available Since
XSS - Prevention - GET : suspicious 'iframe' tag found in URL
3.2.0
XSS - Prevention - GET : suspicious 'meta' tag found in URL
3.2.0
XSS - Prevention - GET : suspicious tag with event found in URL
3.2.0
XSS - Prevention - GET : suspicious 'applet' tag found in URL
3.2.0
XSS - Phishing : suspicious 'div' tag found in URL
3.2.0
XSS - Prevention - GET : suspicious 'style' attribute found in URL
3.2.0
XSS - Prevention - GET : suspicious 'img' tag found in URL
3.2.0
XSS - Phishing : suspicious 'a' tag found in URL
3.2.0
XSS - Prevention - GET : cookie access attempt using script language found in URL
3.2.0
XSS - Prevention - GET : suspicious 'embed' tag found in URL
3.2.0
XSS - Prevention - GET : suspicious 'object' tag found in URL
3.2.0
XSS - Phishing : suspicious 'form' tag found in URL
3.2.0
XSS - Prevention - GET : javascript code found in URL
3.2.0
XSS - Prevention - GET : evasion attempt using tag characters encoding in URL
3.2.0
XSS - Prevention - GET : suspicious 'style' tag found in URL
3.2.0
XSS - Phishing : suspicious 'link' tag found in URL
3.2.0
XSS - Prevention - GET : 'script' tag found in URL
3.2.0
XSS - Prevention - GET : 'location' javascript object found in URL
3.2.0
XSS - Prevention - GET : suspicious 'div' tag found in URL
3.2.0
     


 
 
 
 
 Risk level 
Low 

 Vulnerability First Public Report Date 
2011-10-13 

 Target Type 
Server 

 Possible exploit 
Remote