[ authorization ] [ registration ] [ restore account ]
Contact us
You can contact us by:
0day Today Exploits Market and 0day Exploits Database

MyBB IP History Logs Plugin 1.0.2 - Cross-Site Scripting Vulnerability

Author
0xB9
Risk
[
Security Risk Medium
]
0day-ID
0day-ID-32079
Category
web applications
Date add
28-01-2019
CVE
CVE-2019-6979
Platform
php
# Exploit Title: MyBB IP History Logs Plugin 1.0.2 - Cross-Site Scripting
# 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

#  0day.today [2024-11-15]  #