what you don't know can hurt you

TinyMCE 5 HTML Injection

TinyMCE 5 HTML Injection
Posted Oct 19, 2020
Authored by Vincent666 ibn Winnie

TinyMCE 5 suffers from an html injection vulnerability.

tags | exploit
MD5 | db96a6d696ca571cea80c3938213806e

TinyMCE 5 HTML Injection

Change Mirror Download
# Exploit Title: iframe Injection\Html Injection TinyMCE 5 HTML WYSIWYG
# Date:18.10.2020
# Author: Vincent666 ibn Winnie
# Software Link: https://www.tiny.cloud/features/
# Tested on: Windows 10
# Web Browser: Mozilla Firefox
# Blog : https://pentest-vincent.blogspot.com/
# PoC: https://pentest-vincent.blogspot.com/2020/10/iframehtml-injection-tinymce-5-html.html

PoC:

We have iframe and html injection in TinyMCE 5.

Iframe allow in the TinyMCE:

https://www.tiny.cloud/docs/advanced/security/

I wrote to support TinyMCE with this question and got a helpful answer:

If you wish to disallow this, you can set invalid_elements: 'iframe'
in the parameters object passed to the tinymce.init function. (c)

I use for example demo TinyMCE and Plone Cms with TinyMCE.

Our iframe and html injection on the demo:

Insert - Media - Embed - our iframe code or html.

In the demo Plone Cms:

Insert - Image - Caption - our iframe code or html.

We can also inject code into the Table.

If a simple user can inject his code into these fields, then he can
use it for phishing,deface and other things.

Picture:

https://imgur.com/a/IM6PBQh

Iframe injection video:

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

Html injection video :

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

I did another interesting test.

I used for test www.project.co in "Discussion", because they use
TinyMCE. On the demo panel we have simple editor without
media,pictures and table. You have limited options.

Picture:
https://imgur.com/a/SGdLhbJ

But we can try use method POST. This works in the 70%. In the example
we will use the div tag and attributes for tag.

Video:
https://www.youtube.com/watch?v=wswNNxdorlY
Login or Register to add favorites

File Archive:

November 2020

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Nov 1st
    2 Files
  • 2
    Nov 2nd
    9 Files
  • 3
    Nov 3rd
    15 Files
  • 4
    Nov 4th
    90 Files
  • 5
    Nov 5th
    22 Files
  • 6
    Nov 6th
    16 Files
  • 7
    Nov 7th
    1 Files
  • 8
    Nov 8th
    1 Files
  • 9
    Nov 9th
    40 Files
  • 10
    Nov 10th
    27 Files
  • 11
    Nov 11th
    28 Files
  • 12
    Nov 12th
    13 Files
  • 13
    Nov 13th
    18 Files
  • 14
    Nov 14th
    2 Files
  • 15
    Nov 15th
    2 Files
  • 16
    Nov 16th
    29 Files
  • 17
    Nov 17th
    15 Files
  • 18
    Nov 18th
    15 Files
  • 19
    Nov 19th
    21 Files
  • 20
    Nov 20th
    16 Files
  • 21
    Nov 21st
    1 Files
  • 22
    Nov 22nd
    0 Files
  • 23
    Nov 23rd
    19 Files
  • 24
    Nov 24th
    32 Files
  • 25
    Nov 25th
    9 Files
  • 26
    Nov 26th
    11 Files
  • 27
    Nov 27th
    15 Files
  • 28
    Nov 28th
    9 Files
  • 29
    Nov 29th
    0 Files
  • 30
    Nov 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2020 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close