Secunia Logo
Netsikker nu! 2008
 
MyBB SQL Injection and Cross-Site Request Forgery Vulnerabilities
Secunia Advisory: SA28572
Release Date: 2008-01-21
Last Update: 2008-02-19
Popularity: 3,595 views

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

Software:MyBB (formerly MyBulletinBoard) 1.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2008-0787
CVE-2008-0788


Description:
Some vulnerabilities have been reported in MyBB, which can be exploited by malicious users to conduct SQL injection or cross-site request forgery attacks.

1) Input passed to the "options[disablesmilies]" parameter through private.php to inc/datahandlers/pm.php is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

Successful exploitation of this vulnerability requires valid user credentials, that the private message system is enabled, and knowledge of a valid username to send the message to.

2) The application allows users to perform certain actions via HTTP requests, without performing any validity checks to verify the request. This can be exploited to e.g. delete threads by tricking a moderator into visiting a malicious site.

The vulnerabilities are reported in version 1.2.11 and prior.

Solution:
Update to version 1.2.12.

Provided and/or discovered by:
1) Janek Vind a.k.a. waraxe
2) nbbn

Changelog:
2008-01-23: Updated vulnerability #1 with more information. Updated the "Provided and/or discovered by" and "Original Advisory" sections.
2008-02-19: Added CVE reference.

Original Advisory:
Janek Vind:
http://www.waraxe.us/advisory-64.html

MyBB:
http://community.mybboard.net/showthread.php?tid=27675


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. phpBB Avatar Script Insertion Vulnerability // 118 views
2. phpBB Avatar Functions Information Disclosure and Deletion // 73 views
3. phpBB Multiple Vulnerabilities // 53 views
4. VMware ESX Server Sun Java JDK / JRE Multiple Vulnerabilities // 44 views
5. Microsoft Windows Vista Page Fault Handling Denial of Service // 44 views
6. phpBB "url" bbcode Script Insertion Vulnerability // 41 views
7. VMware VirtualCenter Multiple Vulnerabilities // 37 views
8. VMware ESX / ESXi "JMP" Privilege Escalation Vulnerability // 33 views
9. JMweb MP3 Script "src" File Inclusion Vulnerabilities // 29 views
10. phpBB BBcode "url" Script Insertion Vulnerability // 29 views