PDA

Bekijk Volledige Versie : [myimei]MyBB 1.0.2 XSS attack in search.php



addmimistrator@gmail.com
08/02/06, 00:45
original advisory:
http://myimei.com/security/2006-01-14-mybb-102searchphpxss-attackandmore/index.html
---------------
—————-Summary—————-
Software: MyBB
Sowtware’s Web Site: http://mybboard.com
Versions: 1.0.2
Class: Remote
Status: patched in 1.0.3
Exploit: Available
Solution: Available
Discovered by: imei
Risk: low
—————–Description—————
mybb has a security bug that allows hacker to know that what is the table perfix value in database also can perform a XSS attack.
bug is in result of leaving some unneeded codes in search.php file.
————–Exploit———————-
go to this url in forum
search.php?s=de1aaf9b&action=do_search&keywords=%3Cscript%3E
alert(1)%3C/script%3E&srchtype=3
————–Solution———————
No Patch available.
(bug reported to vendor today)
————–Credit———————–
Discovered by: imei addmimistrator
addmimistrator[4]gmail[O]com
www.myimei.com
security.myimei.com

Steven M. Christey
08/02/06, 18:45
The advisory says:

>Status: patched in 1.0.3
....
>?????Solution???????
>No Patch available.
>(bug reported to vendor today)

I'm confused. One part of this advisory says there's a patch
available, one part says there isn't. (By the way, this is an example
of the "inconsistent" property of security advisories, in which most
advisories are either incomplete, inaccurate, inconsistent, or
incomprehensible, i.e. the Four I's principle)

It does not appear to be fixed, or at least the MyBB community forums
do not say anything.

For those keeping track at home, this is a different attack vector
than the sortby/sortorder (sorder) vectors identified by
CVE-2006-0470, which also happened to affect search.php in MyBB 1.0.2,
and appear to have been fixed by the vendor along with some other
issues if you review the manual patch [1].

- Steve

[1] http://community.mybboard.net/showthread.php?tid=6418