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

[SELF-XSS] Cross site scripting vulnerabilty found in add page #67

Closed
riteshgupta1993 opened this issue Aug 12, 2018 · 1 comment
Closed

Comments

@riteshgupta1993
Copy link

• Wonder cms: v-2.5.2
• PHP Version: 5.6.35
• Apache Version: 2.4.33
• Operating system: microsoft windows v10

Vulnerabilty name: cross site scripting.

Steps to reproduce:

1: go in settings->general->addpage.
2: In the content of page execute malicious javascript "><script>alert(1)</script> and save the page.
3: XSS payload will be reflected to the browser.

POC:
Type payload ">script>alert(1)</script>
ss

Regards
RItesh Kumar

@robiso
Copy link
Collaborator

robiso commented Aug 12, 2018

Hi @riteshgupta1993.

This is considered SELF-XSS. In short, this is a feature which enables admins to post JavaScript anywhere, not just in the add page field.

A visitor can not execute JavaScript anywhere and the fields are sanitised from the visitor layer.

Please check #57 for more info, this has been reported a few times, you can also check the closed tickets.

Feel free to comment to keep the discussion going.

Additional note: this bug has been reported to Mitre and also been disputed. The admin can also not be tricked to post XSS via a malicious web site, as the admin is also protected by a CSRF token.

@robiso robiso closed this as completed Aug 12, 2018
@robiso robiso changed the title Cross site scripting vulnerabilty found in add page Cross site scripting vulnerabilty found in add page [SELF-XSS] Aug 12, 2018
@robiso robiso changed the title Cross site scripting vulnerabilty found in add page [SELF-XSS] [SELF-XSS] Cross site scripting vulnerabilty found in add page Aug 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants