Luxor Forums - White Hat & Community Forums
MyBB Latest Posts on Profile Plugin v1.1 - Cross-Site Scripting
#1
# Exploit Title: MyBB Latest Posts on Profile Plugin v1.1 - Cross-Site Scripting
# Date: 4/20/2018
# Author: 0xB9
# Contact: @0xB9 or 0xB9[at]pm.me
# Software Link: https://community.mybb.com/mods.php?action=view&pid=914
# Version: 1.1
# Tested on: Ubuntu 17.10
# CVE: CVE-2018-10580


1. Description:
Adds a new section to user profiles that will display their last posts.


2. Proof of Concept:
  1. Create a thread with the following subject
    Code:
    <script>alert('XSS')</script>
  2. Now visit your profile to see the alert.


3. Solution:
I reported the plugin twice over the past 3 weeks and recieved no response.


The following should be added in line 236 to properly sanitize thread subjects.
PHP Code:
$d['tsubject'] = htmlspecialchars_uni($d['tsubject']); 



[Exploits-DB.com...]
Possibly Related Threads...
Thread
Author
  /  
Last Post
Replies: 0
Views: 39
05-16-2018, 05:20 PM
Last Post0xB9
Replies: 0
Views: 116
04-26-2018, 03:30 PM
Last Post0xB9
Replies: 0
Views: 109
04-26-2018, 03:04 PM
Last Post0xB9
Replies: 0
Views: 151
04-05-2018, 01:20 PM
Last Post0xB9