# Exploit Title: Moodle Atto Editor Cross Site Scripting
# Date: 26.03.2021
# Author: Vincent666 ibn Winnie
# Software Link: https://moodle.org/plugins/editor_atto
# Tested on: Windows 10
# Web Browser: Mozilla Firefox
# Google Dorks: inurl:/lib/editor/atto/plugins/managefiles/ or
calendar/view.php?view=month
# My Youtube Channel: https://www.youtube.com/channel/UCZOWpC2dW9sipPq5z63C2rQ
PoC:
Video PoC: (Update)
https://www.youtube.com/watch?v=vnyo48KImvg
https://www.youtube.com/watch?v=fUWGRqT7lDU
Moodle Atto Editor Stored XSS Problem (Test on euipo.europa.eu)
https://www.youtube.com/watch?v=xaqZagyzTeo
Use Demo:
https://school.moodledemo.net/
Choose a role : Student (example)
Open calendar :
https://school.moodledemo.net/calendar/view.php?view=month
Create new event:
Example:
Event Title "Test"
Description :Choose Insert Video File and choose Video:
Video Source Url you can paste video link from youtube
And open Subtitles and Captions:
Subtitle track URL use video link from youtube
Field Label : There is we can use xss code:
or try in base64
Insert Media and save this.
Open event and get stored xss.
Or we can use Profile:
https://sandbox.moodledemo.net/user/edit.php?id=4&returnto=profile
Field Label in the Editor vulnerable to XSS.
We can use XSS and js redirect in the profile:
">