Advisory #: 449
Title: Reflected XSS in wordpress plugin defa-online-image-protector v3.3
Author: Larry W. Cashdollar, @_larry0
Date: 2016-02-09
Download Site: https://wordpress.org/plugins/defa-online-image-protector
Downloads: 530
Vendor Notified: 2016-02-09
Export: Json
Vendor Contact: plugins@wordpress.org
Plugin Name: defa-online-image-protector
Vulnerability:
There is a reflected XSS vulnerability in the following php code ./defa-online-image-protector/redirect.php: 1:<h1> We detect that you edit our website so we redirect you to this page. <a href="<?php echo $_GET['r']; ?>">Click Here to Rediect Back to your page</a></h1> The variable r appears to send unsanitized data back to the users browser.
CVE-ID: 2016-1000129
File:./defa-online-image-protector/redirect.php
Exploit Code:
Exploit was derived from appearance of first vulnerable parameter in code, there could be more shown above.
  1. This is an untested autogenerated exploit:
  2. http://[target]/wp-content/plugins/defa-online-image-protector/redirect.php?r="><script>alert(1);</script><"