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

Open
HLHai opened this Issue Dec 14, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment