Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Vuln-Dev
[Top] [All Lists]

[KAPDA::#53] MYBB XSS and Dir Traversal in usercp.php

Subject: [KAPDA::#53] MYBB XSS and Dir Traversal in usercp.php
Date: 29 Jul 2006 06:41:46 -0000

Vulnerable products : MYBB 1.x
Vendor: http://www.mybboard.net
Risk: Low
Vulnerabilities: MYBB XSS and Dir Traversal in usercp.php 

Date :
--------------------
Found : Feb 22 2006
Vendor Contacted : N/A
Release Date : N/A

About :
--------------------
MyBB is a powerful, efficient and free forum package developed in PHP and 
MySQL.MyBB has been designed with the end users in mind, you and your 
subscribers. Full control over your discussion system is p resented right at 
the tip of your fingers, from multiple styles and themes to the ultimate 
customisation of your forums using the template system.



Vulnerability:
--------------------
Cross_Site_Scripting (XSS,CSS):

MYBB is affected by a cross-site scripting vulnerability. This issue is due to 
the failure of the application to properly sanitize user-
supplied input.

As a result of this vulnerability, it is possible for a remote attacker to 
create a malicious link containing script code that will be executed
in the browser of an unsuspecting user when followed.


Detail and PoC :
--------------------

Cross_Site_Scripting:

The application does not validate the "gallery" variable upon submission to the 
usercp.php script. 

POC:
/usercp.php?action=avatar&gallery=%22%3E%3Cscript%3Ealert(1)%3C/script%3E



Dir Traversal For images:

POC:
/usercp.php?action=avatar&gallery=../../uploads
usercp.php?action=do_avatar&gallery=../../../../../../..dir&avatar=myfile

Solution :
--------------------
N/A

Credit :
--------------------
Discoverd by : Roozbeh Afrasiabi
roozbeh_afrasiabi[at]yahoo[dot]com
black_death[at]kapda[dot]net

POC by : imei addmimistrator
addmimistrator[at]gmail[dot]com
imei[at]Kapda[dot]net


--------------------

<Prev in Thread] Current Thread [Next in Thread>
  • [KAPDA::#53] MYBB XSS and Dir Traversal in usercp.php, roozbeh_afrasiabi <=