Title: Reflected XSS in wordpress plugin reusables v3.1.0 |
Author: Larry W. Cashdollar, @_larry0 |
Date: 2016-02-09 |
Download Site: https://wordpress.org/plugins/reusables |
Downloads: 7968 |
Vendor Notified: 2016-02-09 |
Export: Json |
Vendor Contact: plugins@wordpress.org |
Plugin Name: reusables |
Vulnerability: There is a reflected XSS vulnerability in the following php code ./reusables/screens/page-insert-post.php:
60:<a href="admin.php?page=<?php echo $reusables->directory;?>/insert&f=post®ion_id=<?php echo $_GET["region_id"];?>&paged=<?php echo $_REQUEST["paged"]-1;?>&n=<?php echo $numberposts?>&n=<?php echo $numberposts?>" class="previous page-numbers">«</a>
68:<a href="admin.php?page=<?php echo $reusables->directory;?>/insert&f=post®ion_id=<?php echo $_GET["region_id"];?>&paged=<?php echo $i;?>&n=<?php echo $numberposts?>" class="page-numbers"><?php echo $i?></a>
74:<a href="admin.php?page=<?php echo $reusables->directory;?>/insert&f=post®ion_id=<?php echo $_GET["region_id"];?>&paged=<?php echo $_REQUEST["paged"]+1;?>&n=<?php echo $numberposts?>" class="next page-numbers">»</a>
141:<a href="admin.php?page=<?php echo $reusables->directory;?>/insert&f=post®ion_id=<?php echo $_GET["region_id"];?>&paged=<?php echo $_REQUEST["paged"]-1;?>&n=<?php echo $numberposts?>&n=<?php echo $numberposts?>" class="previous page-numbers">«</a>
149:<a href="admin.php?page=<?php echo $reusables->directory;?>/insert&f=post®ion_id=<?php echo $_GET["region_id"];?>&paged=<?php echo $i;?>&n=<?php echo $numberposts?>" class="page-numbers"><?php echo $i?></a>
155:<a href="admin.php?page=<?php echo $reusables->directory;?>/insert&f=post®ion_id=<?php echo $_GET["region_id"];?>&paged=<?php echo $_REQUEST["paged"]+1;?>&n=<?php echo $numberposts?>" class="next page-numbers">»</a>
The variable region_id appears to send unsanitized data back to the users browser.
|
CVE-ID: Not Released |
File:./reusables/screens/page-insert-post.php |
Exploit Code: Exploit was derived from appearance of first vulnerable parameter in code, there could be more shown above.
|