Total Tests:

Installation Path Disclosure Weakness in MyBB

This vulnerability was discovered by our security researchers before 2019.

Advisory ID:HTB22654
Product:MyBB
Vendor:MyBB
Vulnerable Versions:1.6 and probably prior
Tested Version:1.6
Advisory Publication:October 13, 2010 [without technical details]
Vendor Notification:October 13, 2010
Public Disclosure:October 27, 2010
Vulnerability Type:Information Exposure Through Externally-generated Error Message [CWE-211]
Risk Level:Medium
Medium Risk
CVSSv2 Base Score:5.0 (AV:N/AC:L/Au:N/C:P/I:N/A:N)
Solution Status:Fixed by Vendor
Discovered and Provided:High-Tech Bridge Security Research Lab
 

Advisory Details:

High-Tech Bridge SA Security Research Lab has discovered a weakness in MyBB which could be exploited to gain access to potentially sensitive information.

1) Installation path disclosure weakness in MyBB
The weakness exists due to application reveals the full path to installation directory in an error message. A remote attacker can directly access the forumdisplay.php script and gain knowledge of the web root directory and other potentially sensitive information. Successful exploitation requires that php_display_errors variable is on.
Exploitation example:

Cookie: mybb[forumread]=%4f%3a%31%3a%22%31%22%3a%31%3a%7b%73%3a%31%3a%22%31%22%3b%61 %3a%32%3a%7b%69%3a%30%3b%73%3a%31%3a%22%31%22%3b%69%3a%31%3b%73%3a%31%3a%22% 32%22%3b%7d%7d;


Solution:
Upgrade to the most recent version


References:
[1] High-Tech Bridge Advisory HTB22654 - https://www.immuniweb.com/advisory/HTB22654 - Installation Path Disclosure Weakness in MyBB
[2] MyBB - mybb.com - MyBB, a free PHP and MySQL based discussion system.
[3] Common Weakness Enumeration (CWE) - http://cwe.mitre.org - targeted to developers and security practitioners, CWE is a formal list of software weakness types.

Have additional information to submit?
Please feel free to send us any additional information related to this Advisory, such as vulnerable versions, additional exploitation details and conditions, patches and other relevant details.
Ask a Question