Vulnerability ID: HTB23038 Reference: https://www.htbridge.ch/advisory/xss_in_redirection_wordpress_plugin.html Product: Redirection wordpress plugin Vendor: John Godley ( http://urbangiraffe.com ) Vulnerable Version: 2.2.8 and probably prior Tested Version: 2.2.8 Vendor Notification: 10 August 2011 Vulnerability Type: XSS (Cross Site Scripting) Status: Fixed by Vendor Risk level: Medium Credit: High-Tech Bridge SA Security Research Lab ( https://www.htbridge.ch/advisory/ )
Vulnerability Details: High-Tech Bridge SA Security Research Lab has discovered vulnerability in Redirection wordpress plugin, which can be exploited to perform cross-site scripting attacks.
Input passed via the "id" GET parameter to /wp-admin/tools.php (when "page" is set to "redirection.php") is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a administrator's browser session in context of affected website.
The following PoC code is available:
http://[host]/wp-admin/tools.php?page=redirection.php&id=%22%3E%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E Solution: Upgrade to the most recent version