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

MiniCMS reflective XSS in domain.com/mc-admin/post-edit.php #27

Closed
HLHai opened this issue Dec 14, 2018 · 0 comments
Closed

MiniCMS reflective XSS in domain.com/mc-admin/post-edit.php #27

HLHai opened this issue Dec 14, 2018 · 0 comments

Comments

@HLHai
Copy link

HLHai commented Dec 14, 2018

This is a reflective XSS vulnerability because "echo $_SERVER['REQUEST_URI'];" in post-edit.php 152 line

post-edit.php

image

In Firefox and chrome, URL will be URLencoded.
In IE, if has Redirection,URL will not be URLencoded.

After logging in, XSS is triggered using exp

Exp:

http://127.0.0.1/MiniCMS1/mc-admin/post-edit.php?520=\"><script>alert("dudu")</script>

Result:

image

@bg5sbk bg5sbk closed this as completed in f8fc729 Jul 19, 2021
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