header-logo
Suggest Exploit
vendor:
MyBB
by:
0xB9
6.1
CVSS
MEDIUM
Cross-Site Scripting
79
CWE
Product Name: MyBB
Affected Version From: 1.0.2
Affected Version To: 1.0.2
Patch Exists: YES
Related CWE: CVE-2019-6979
CPE: 2.3:a:mybb_group:mybb:1.0.2
Metasploit: N/A
Other Scripts: N/A
Platforms Tested: Ubuntu 18.04
2018

MyBB IP History Logs Plugin 1.0.2 – Cross-Site Scripting

This plugin keeps a record of a users IP & User-Agent history. The User-Agent isn't sanitized to user input allowing for an XSS via ACP.

Mitigation:

Update to 1.0.3 or later
Source

Exploit-DB raw data:

# Exploit Title: MyBB IP History Logs Plugin 1.0.2 - Cross-Site Scripting
# Date: 1/25/2018
# Author: 0xB9
# Twitter: @0xB9Sec
# Contact: 0xB9[at]pm.me
# Software Link: https://community.mybb.com/mods.php?action=view&pid=1213
# Version: 1.0.2
# Tested on: Ubuntu 18.04
# CVE: CVE-2019-6979


1. Description:
This plugin keeps a record of a users IP & User-Agent history. The User-Agent isn't sanitized to user input allowing for an XSS via ACP.
 

2. Proof of Concept:

- Change your User-Agent to a payload   <script>alert('XSS')</script>
- Log into an account

When admin visits the IP/User-Agent history page the payload will execute
http://localhost/[path]/admin/index.php?module=tools-ip_history_logs



3. Solution:
Update to 1.0.3