subrion
subrion copied to clipboard
Stored Xss Vulnerability through Iframe Injection on subrion CMS ver 4.0.3
Hello
I have found stored cross site scripting bug in subrion CMS version 4.0.3 in the Create Page functionality of the admin Account.
Steps to Reproduce:
- Go to https://demos.subrion.org/?demo=core&admin=1
- As an admin Create a page
- In the Add a Page section go to the page content block and select IFRAME from the toolbar
- In the IFRAME box give URL as javascript:prompt("xss")
- Click on Add button at the bottom , a page will be created
- Search for the Page using the Name and click on search
- Xss prompt box will pop up
Impact: Session cookies can be stolen , user can be redirected to phishing pages , browser of the user visiting this page can be controlled etc.
POC's have been uploaded.
Fix: Please sanitize the input taken from the user before directly storing the input at the backend.