Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stored Xss Vulnerability through Iframe Injection on subrion CMS ver 4.0.3 #881

Open
viperbluff opened this issue Dec 27, 2020 · 0 comments

Comments

@viperbluff
Copy link

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:

  1. Go to https://demos.subrion.org/?demo=core&admin=1
  2. As an admin Create a page
  3. In the Add a Page section go to the page content block and select IFRAME from the toolbar
  4. In the IFRAME box give URL as javascript:prompt("xss")
  5. Click on Add button at the bottom , a page will be created
  6. Search for the Page using the Name and click on search
  7. 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.

stored_xss_subrion_cms_4
stored_xss_subrion_cms_1
stored_xss_subrion_cms_2
stored_xss_subrion_cms_3

Fix: Please sanitize the input taken from the user before directly storing the input at the backend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant