what you don't know can hurt you

WordPress Strong Testimonials 2.31.4 Cross Site Scripting

WordPress Strong Testimonials 2.31.4 Cross Site Scripting
Posted Jul 27, 2018
Authored by DefenseCode, Neven Biruski

WordPress Strong Testimonials plugin version 2.31.4 suffers from a cross site scripting vulnerability.

tags | exploit, xss
MD5 | a133893c4212712101407d506a534550

WordPress Strong Testimonials 2.31.4 Cross Site Scripting

Change Mirror Download
DefenseCode ThunderScan SAST Advisory: WordPress Strong Testimonials
Plugin Multiple XSS Security Vulnerabilities


Advisory ID: DC-2018-05-007
Advisory Title: WordPress Strong Testimonials Plugin Multiple XSS
Vulnerabilities
Advisory URL: http://www.defensecode.com/advisories.php
Software: WordPress Strong Testimonials plugin
Language: PHP
Version: 2.31.4 and below
Vendor Status: Vendor contacted, update released
Release Date: 2018/07/24
Risk: Medium



1. General Overview
===================
During the security audit of Strong Testimonials plugin for WordPress
CMS, multiple XSS vulnerabilities were 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, with Strong Testimonials plugin
you will be collecting and publishing your testimonials or reviews.
Beginners and pros alike will appreciate the wealth of flexible
features refined over 4 years from user feedback and requests.

According to wordpress.org, it has more than 50,000 active installs.

Homepage:
https://wordpress.org/plugins/strong-testimonials/


3. Vulnerability Description
============================
During the security analysis, ThunderScan discovered Cross-Site
Scripting vulnerabilities in Strong Testimonials 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.

3.1 Cross-Site Scripting
Vulnerable Function: echo()
Vulnerable Variable: $_REQUEST['id']
Vulnerable URL:
http://vulnerablesite.com/wp-admin/edit.php?post_type=wpm-testimonial&page=testimonial-views&action=edit&id=2"></script><script>alert(42)</script>
File: strong-testimonials/admin/views.php
---------
48 wpmtst_view_settings( $_REQUEST['action'], $_REQUEST['id'] );
...
106 function wpmtst_view_settings( $action = '', $view_id = null ) {
...
213 <input type="hidden" name="view[id]" value="<?php echo $view_id; ?>">
---------

3.2 Cross-Site Scripting
Vulnerable Function: echo()
Vulnerable Variable: $_REQUEST['id']
Vulnerable URL:
http://vulnerablesite.com/wp-admin/edit.php?post_type=wpm-testimonial&page=testimonial-views&action=edit&id=2"></script><script>alert(42)</script>
File: strong-testimonials/admin/views.php
---------
48 wpmtst_view_settings( $_REQUEST['action'], $_REQUEST['id'] );
...
106 function wpmtst_view_settings( $action = '', $view_id = null ) {
...
219 <?php include( 'partials/views/view-shortcode.php' ); ?>
---------
File:
strong-testimonials/admin/partials/views/view-shortcode.php
---------
5 $shortcode .= '<input id="view-shortcode" type="text"
value="[testimonial_view id="' . $view_id . '"]" readonly
/>';
...
21 <?php echo $shortcode; ?>
---------


4. Solution
===========
After the vulnerabilities were reported the vendor resolved the
security issues. All users are strongly advised to update WordPress
Strong Testimonials plugin to the latest available version.


5. Credits
==========
Discovered by Neven Biruski using DefenseCode ThunderScan source code
security analyzer.


6. Disclosure Timeline
======================
2018/05/24 Vulnerabilities discovered
2018/05/29 Vendor contacted
2018/06/01 Update released
2018/07/24 Advisory released to the public


7. About DefenseCode
====================
DefenseCode L.L.C. delivers products and services designed to analyze
and test web, desktop and mobile applications for security
vulnerabilities.

DefenseCode ThunderScan is a SAST (Static Application Security
Testing, WhiteBox Testing) solution for performing extensive security
audits of application source code. ThunderScan SAST performs fast and
accurate analyses of large and complex source code projects delivering
precise results and low false positive rate.

DefenseCode WebScanner is a DAST (Dynamic Application Security
Testing, BlackBox Testing) solution for comprehensive security audits
of active web applications. WebScanner will test a website's security
by carrying out a large number of attacks using the most advanced
techniques, just as a real attacker would.

Subscribe for free software trial on our website
http://www.defensecode.com/ .

E-mail: defensecode[at]defensecode.com

Website: http://www.defensecode.com
Twitter: https://twitter.com/DefenseCode/

Login or Register to add favorites

File Archive:

July 2020

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Jul 1st
    15 Files
  • 2
    Jul 2nd
    19 Files
  • 3
    Jul 3rd
    11 Files
  • 4
    Jul 4th
    0 Files
  • 5
    Jul 5th
    0 Files
  • 6
    Jul 6th
    0 Files
  • 7
    Jul 7th
    0 Files
  • 8
    Jul 8th
    0 Files
  • 9
    Jul 9th
    0 Files
  • 10
    Jul 10th
    0 Files
  • 11
    Jul 11th
    0 Files
  • 12
    Jul 12th
    0 Files
  • 13
    Jul 13th
    0 Files
  • 14
    Jul 14th
    0 Files
  • 15
    Jul 15th
    0 Files
  • 16
    Jul 16th
    0 Files
  • 17
    Jul 17th
    0 Files
  • 18
    Jul 18th
    0 Files
  • 19
    Jul 19th
    0 Files
  • 20
    Jul 20th
    0 Files
  • 21
    Jul 21st
    0 Files
  • 22
    Jul 22nd
    0 Files
  • 23
    Jul 23rd
    0 Files
  • 24
    Jul 24th
    0 Files
  • 25
    Jul 25th
    0 Files
  • 26
    Jul 26th
    0 Files
  • 27
    Jul 27th
    0 Files
  • 28
    Jul 28th
    0 Files
  • 29
    Jul 29th
    0 Files
  • 30
    Jul 30th
    0 Files
  • 31
    Jul 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2020 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close