MyBB Global Variable Overwrite Vulnerability

BID:17564

Info

MyBB Global Variable Overwrite Vulnerability

Bugtraq ID: 17564
Class: Design Error
CVE:
Remote: Yes
Local: No
Published: Apr 17 2006 12:00AM
Updated: Apr 18 2006 06:51PM
Credit: imei addmimistrator is credited with the discovery of this vulnerability.
Vulnerable: MyBulletinBoard MyBulletinBoard 1.1
Not Vulnerable: MyBulletinBoard MyBulletinBoard 1.1.1

Discussion

MyBB Global Variable Overwrite Vulnerability

MyBB is prone to a vulnerability that permits an attacker to overwrite global variables. This issue is due to a design flaw in handling HTTP GET and POST variables.

An attacker can exploit this issue to overwrite the global variables with arbitrary input. Through control of the global variables, the attacker may be able to perform cross-site scripting, SQL-injection, and other attacks.

Exploit / POC

MyBB Global Variable Overwrite Vulnerability

Attackers may exploit this issue with a web browser.

The following example URI will perform an SQL-injection attack by overwriting the '_SERVER[HTTP_CLIENT_IP]' variable:

http://www.example.com/mybb/global.php?_SERVER[HTTP_CLIENT_IP]=â??sql

Solution / Fix

MyBB Global Variable Overwrite Vulnerability

Solution:
The vendor has released an update addressing this issue:


MyBulletinBoard MyBulletinBoard 1.1

References

MyBB Global Variable Overwrite Vulnerability

References:
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report