Secunia CSI 5.0
Overview
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading

Secunia Advisory SA28509

MyBB PHP Code Execution and SQL Injection Vulnerabilities
Secunia Advisory SA28509
Get alerted and manage the vulnerability life cycle
Free Trial

Release Date 2008-01-17
Last Update 2008-02-04
   
Popularity 9,430 views
Comments 0 comments

Criticality level Highly criticalHighly critical
Impact Manipulation of data
Exposure of sensitive information
System access
Where From remote
Authentication level Available in Customer Area
   
Report reliability Available in Customer Area
Solution Status Vendor Patch
   
Systems affected Available in Customer Area
Approve distribution Available in Customer Area
   
Software:
MyBB (formerly MyBulletinBoard) 1.x

Secunia CVSS Score Available in Customer Area
CVE Reference(s) CVE-2008-0382 CVSS available in Customer Area
CVE-2008-0383 CVSS available in Customer Area
  

Description

Some vulnerabilities have been reported in MyBB, which can be exploited by malicious users to conduct SQL injection attacks, and by malicious people to compromise a vulnerable system.

1) Input passed to the "sortby" parameter in forumdisplay.php and search.php (when "action" is set to "results") is not properly sanitised before being used in "eval()" calls. This can be exploited to inject and execute arbitrary PHP code via a specially crafted parameter value.

Successful exploitation of this vulnerability requires knowledge of valid "fid" values for forumdisplay.php and valid "sid" values for search.php.

2) Input passed to the "mergepost" array parameter (when "action" is set to "do_mergeposts"), "rid" (when "action" is set to "allreports"), and "threads" (when "action" is set to "do_multimovethreads") in moderation.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 moderator credentials.

3) Input passed to the "request" array parameter and "gid" in admin/usergroups.php (when "action" is set to "do_joinrequests") 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 admin credentials.

The vulnerabilities are reported in version 1.2.10 and all previous 1.2.x releases. Other versions may also be affected.


Solution
Update to version 1.2.11.
Further details available in Customer Area

Provided and/or discovered by
1) Janek Vind a.k.a. waraxe, koziolek
2) Janek Vind a.k.a. waraxe
3) Janek Vind a.k.a. waraxe

Changelog
Further details available in Customer Area

Original Advisory
MyBB:
http://community.mybboard.net/showthread.php?tid=27227

Janek Vind:
1) http://www.waraxe.us/advisory-61.html
2, 3) http://www.waraxe.us/advisory-62.html

Deep Links
Links available in Customer Area


Do you have additional information related to this advisory?

Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this information to vuln@secunia.com

Subject: MyBB PHP Code Execution and SQL Injection Vulnerabilities
 
No posts yet

-

You must be logged in to post a comment.




 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports & Papers
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2012 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability