the internet's safety

kapda-50.txt

kapda-50.txt
Posted Jul 2, 2006
Authored by imei addmimistrator | Site kapda.ir

MyBB version 1.1.4 is susceptible to cross site scripting and SQL injection vulnerabilities.

tags | exploit, vulnerability, xss, sql injection
MD5 | 5e6b1fd0df15ee8629af06781255d3e0

kapda-50.txt

Change Mirror Download
[KAPDA::#50]MyBB 1.1.4 Multiple Vuln

SQL_Injection & XSS

-------

KAPDA New Advisory .
http://www.kapda.ir/advisory-349.html

ORIGINAL ADVISORY:
http://myimei.com/security/2006-06-24/mybb...verwriting.html
http://myimei.com/security/2006-06-22/mybb...in-url-tag.html

-Summary-
Software: MyBB
Sowtwares Web Site: http://www.mybboard.com
Versions: 1.1.3 And 1.1.4
Class: Remote
Status: Patched
Exploit: Available
Discovered by: imei addmimistrator
Risk Level: Medium
Description
Variable-overwriting :
There is a security bug in MyBB 1.1.4 software (latest version fully patched) that allows attacker initualize arbitary varables with arbitary values and perform many attck kinds same SQLINJECTION attack.

bug is in result of Extracting values. In fact forgetting to define KILL_GLOBALS constant in /archive/index.php file is reason of this weakness. cause of this flew, an attacker can insert his varables and overwrite his values.
XSS :
Mybb has a security bug that allows hackers run unwanted scripts into clients browser that well known as XSS Cross_Site_Scripting attack.
bug is in result of poor cheknig for unicode inputs in url, that results to executing javascript direct call in some common beowser, as IE, FF and etc this is cause of this fact that browsers pay attention to unicode data but mybb dont.
See Also
Variable-overwriting :
{inc/init.php}near 28
if(!defined(KILL_GLOBALS))
{
@extract($_POST, EXTR_OVERWRITE);
@extract($_GET, EXTR_OVERWRITE);
}
XSS:
{inc/functions_post.php}near 138
function fixjavascript($message)
{
$message = preg_replace(#javascript:#i, java script:, $message);
/* .. */

{alos near 19}
$message = preg_replace(#&(?!\#[0-9]+;)#si, &, $message); // fix & but allow unicode.
Exploit-
Variable-overwriting : mybb/archive/index.php?_SERVER[HTTP_CLIENT_IP]=sql
XSS :
post this message:
[url]javascript:alert(imei is Here);//://ddd[/url]
Solution
upgrade to vendors provided patch
Credit
Discovered by: imei addmimistrator
addmimistrator(4}gmail(O}com
imei(4}Kapda(O}IR
www.myimei.com
myimei.com/security
www.kapda.ir/advisory-349.html

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