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

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
SHA-256 | f4606ee42af326a27a988314b90ddeb0afd39eb8873424891cf40300433ed9ce

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:

December 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Dec 1st
    0 Files
  • 2
    Dec 2nd
    41 Files
  • 3
    Dec 3rd
    0 Files
  • 4
    Dec 4th
    0 Files
  • 5
    Dec 5th
    0 Files
  • 6
    Dec 6th
    0 Files
  • 7
    Dec 7th
    0 Files
  • 8
    Dec 8th
    0 Files
  • 9
    Dec 9th
    0 Files
  • 10
    Dec 10th
    0 Files
  • 11
    Dec 11th
    0 Files
  • 12
    Dec 12th
    0 Files
  • 13
    Dec 13th
    0 Files
  • 14
    Dec 14th
    0 Files
  • 15
    Dec 15th
    0 Files
  • 16
    Dec 16th
    0 Files
  • 17
    Dec 17th
    0 Files
  • 18
    Dec 18th
    0 Files
  • 19
    Dec 19th
    0 Files
  • 20
    Dec 20th
    0 Files
  • 21
    Dec 21st
    0 Files
  • 22
    Dec 22nd
    0 Files
  • 23
    Dec 23rd
    0 Files
  • 24
    Dec 24th
    0 Files
  • 25
    Dec 25th
    0 Files
  • 26
    Dec 26th
    0 Files
  • 27
    Dec 27th
    0 Files
  • 28
    Dec 28th
    0 Files
  • 29
    Dec 29th
    0 Files
  • 30
    Dec 30th
    0 Files
  • 31
    Dec 31st
    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