404 page have Stored XSS Vulnerability
Waterpaste opened this issue · 0 comments
Waterpaste commented
Stored-XSS reported #427(title section) Ƴ (content section) ƴ(title section)
I found another stored-XSS in 404page(name field),the Vulnerability source in monstra-3.0.4/plugins/box/pages/pages.admin.php.
Affected Version:
3.0.4 or before
Payload:
<a href="javascript:alert(/xss/)">xss</a>
Steps to replicate:
- Goto http://<your_site>/monstra/admin/index.php?id=pages
- Click Edit 404 page(http://<your_site>/monstra/admin/index.php?id=pages&action=edit_page&name=error404)
- Enter payload in title section and save
- Visit http://<your_site>/monstra/bilibili.php
- You will triage Javascript execution
Impacts:
A user with editor level privileges can make JavaScript code execution in admin's session.
Testing Environment:
PHP/5.5.38 + Apache/2.4.23