Secunia Logo
 
MyBB "domecode()" PHP Code Execution Vulnerability
Secunia Advisory: SA20371
Release Date: 2006-06-12
Popularity: 5,876 views

Critical:
Highly critical
Impact: System access
Where: From remote
Solution Status: Vendor Patch

Software:MyBB (formerly MyBulletinBoard) 1.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-2908


Description:
Secunia Research has discovered a vulnerability in MyBB, which can be exploited by malicious people to compromise a vulnerable system.

Input passed to the username field when registering isn't properly sanitised before being used in a "preg_replace" call with the "e" modifier in the "domecode()" function in inc/functions_post.php. This can be exploited to execute arbitrary PHP code by first registering with a specially crafted username and then previewing a post containing the "/slap" string.

The vulnerability has been confirmed in version 1.1.2. Prior versions may also be affected.

Solution:
Update to version 1.1.3.
http://www.mybboard.com/downloads.php

Provided and/or discovered by:
Andreas Sandblad, Secunia Research

Original Advisory:
Secunia Research:
http://secunia.com/secunia_research/2006-40/advisory/


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. RakhiSoftware Shopping Cart Multiple Vulnerabilities // 103 views
2. Microsoft Office Communications Server SIP INVITE Denial of Service // 87 views
3. VLC Media Player Real Demuxer Integer Overflow Vulnerability // 83 views
4. Lito Lite CMS "cid" SQL Injection Vulnerability // 67 views
5. Sun Java JDK / JRE Multiple Vulnerabilities // 56 views
6. Basic PHP CMS "id" SQL Injection Vulnerability // 55 views
7. BlackBerry Desktop Software FlexNET Connect ActiveX Control Vulnerability // 54 views
8. Bluo CMS "id" SQL Injection Vulnerability // 47 views
9. Adobe Flash Player Multiple Security Issues and Vulnerabilities // 41 views
10. Active Newsletter "email" and "password" SQL Injection Vulnerabilities // 39 views