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 Vulnerabilities(Administrator Privilege) #2

Closed
starnightcyber opened this issue Apr 25, 2018 · 0 comments
Closed

Stored-XSS Vulnerabilities(Administrator Privilege) #2

starnightcyber opened this issue Apr 25, 2018 · 0 comments

Comments

@starnightcyber
Copy link

Stored-XSS found in content field when post a site news

Steps To Reproduce:
1、Login the backstage:
http://localhost/hongcms-master/admin/
2、[Sidebar] Choose Others -->Site News, and then post a news
image
3、Set content field to the following payload
<script>alert(document.cookie)</script>
image
4、On the site front page, we can see the news we just posted
image

The Same with following

[Sidebar] Choose Others -->Normal Content --> Edit "About Us"
image
Set content field to same payload, (a lot of aaa... is for discrimination)
`aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

<script>alert(document.cookie)</script>`

Go to: http://localhost/hongcms-master/index.php/about
image

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