DefenseCode ThunderScan SAST Advisory WordPress PressForward Plugin Security Vulnerability Advisory ID: DC-2017-05-007 Advisory Title: WordPress PressForward Plugin Security Vulnerability Advisory URL: http://www.defensecode.com/advisories.php Software: WordPress PressForward plugin Language: PHP Version: 4.3.0 and below Vendor Status: Vendor contacted Release Date: 2017/08/07 Risk: Medium 1. General Overview =================== During the security audit of PressForward plugin for WordPress CMS, security vulnerability was discovered using DefenseCode ThunderScan application source code security analysis platform. More information about ThunderScan is available at URL: http://www.defensecode.com 2. Software Overview ==================== According to the plugin developers, PressForward provides an editorial workflow for content aggregation and curation within the WordPress dashboard. It is designed for bloggers and editorial teams who wish to collect, discuss, and share content from a variety of sources on the open web. It's users and partners include numerous universities, centers, laboratories, colleges and various kinds of organizations. Homepage: https://wordpress.org/plugins/pressforward/ http://pressforward.org/ 3. Vulnerability Description ============================ During the security analysis, ThunderScan discovered Cross-Site Scripting vulnerability in PressForward WordPress plugin. The Cross-Site Scripting vulnerability can enable the attacker to construct the URL that contains malicious JavaScript code. If the administrator of the site makes a request to such an URL, the attacker's code will be executed, with unrestricted access to the WordPress site in question. The attacker can entice the administrator to visit the URL in various ways, including sending the URL by email, posting it as a part of the comment on the vulnerable site or another forum. The vulnerability was tested using Apache web server. 3.1 Cross-Site Scripting Vulnerable Function: echo Vulnerable Variable: $_SERVER['PHP_SELF'] Vulnerable URL: http://vulnerablesite.com/wp-admin/admin.php/%22%3E%3Cimg%20src=x%20onerror=alert(42)%3E/?page=pf-menu#ready File: pressforward-master\Core\Admin\PFTemplater.php --------- 198