Secunia Logo  
 
MyBB SQL Injection and Script Insertion Vulnerabilities
Secunia Advisory: SA19061
Release Date: 2006-03-01
Last Update: 2006-07-20
Popularity: 7,704 views

Critical:
Moderately critical
Impact: Manipulation of data
Cross Site Scripting
Where: From remote
Solution Status: Vendor Patch

Software:MyBB (formerly MyBulletinBoard) 1.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-1065
CVE-2006-0959


Description:
Some vulnerabilities have been discovered in MyBB, which can be exploited by malicious people to conduct script insertion and SQL injection attacks.

1) Input passed to the "comma" cookie parameter in "misc.php" and the "forums[]" parameter in "search.php" is not properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

Example:
http://[victim]/search.php?action=do_search&postthread=1&author=[username]&matchusername=1&forums[]=[code]

Successful exploitation requires that "register_globals" is enabled (only for the "comma" parameter).

The vulnerabilities have been confirmed in version 1.04. Other versions may also be affected.

2) Input passed to the "aim", "yahoo", "msn", and "website" parameters when registering for an account isn't properly sanitised before being used. This can be exploited to inject arbitrary HTML and script code, which will be executed in a user's browser session in context of an affected site when the malicious user data is viewed via "member.php".

The vulnerabilities have been confirmed in version 1.03. Other versions may also be affected.

Solution:
The vulnerabilities have been fixed in version 1.10.

Provided and/or discovered by:
1) D3vil-0x1
2) imei addmimistrator

Changelog:
2006-03-03: Added additional vulnerability provided by D3vil-0x1.
2006-03-10: Updated "Solution" section.
2006-03-14: Added CVE reference.
2006-03-16: Added vulnerabilities provided by imei addmimistrator.
2006-07-20: Added CVE reference.

Original Advisory:
1) http://www.milw0rm.com/id.php?id=1539
2) http://kapda.ir/advisory-297.html


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Joomla! "X_CMS_LIBRARY_PATH" Directory Traversal Vulnerability // 86 views
2. OpenSSL DSA / ECDSA "EVP_VerifyFinal()" Spoofing Vulnerability // 81 views
3. Symantec Mail Security for SMTP Response Handling Denial of Service // 63 views
4. SAP GUI TabOne ActiveX Control Caption List Buffer Overflow // 54 views
5. Red Hat update for openssl // 53 views
6. Red Hat update for xterm // 46 views
7. vBulletin Personal Sticky Threads Add-on Security Bypass Vulnerability // 42 views
8. ComponentOne SizerOne CTab ActiveX Control Caption List Buffer Overflow // 40 views
9. TSC2 Help Desk CTab ActiveX Control Caption List Buffer Overflow // 37 views
10. PollHelper "poll.inc" Information Disclosure Security Issue // 35 views