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

Reflected Cross Site Scripting(XSS)-/ndxzsite/plugin/ajax.php #20

Closed
zyfyc opened this issue Feb 17, 2019 · 1 comment
Closed

Reflected Cross Site Scripting(XSS)-/ndxzsite/plugin/ajax.php #20

zyfyc opened this issue Feb 17, 2019 · 1 comment

Comments

@zyfyc
Copy link

zyfyc commented Feb 17, 2019

In page localhost//ndxzsite/plugin/ajax.php, the POST function can change the function used in PHP, the user/attacker can modify the parament and add the script which will be shown without filtering. They can use the script to steal the cookie or some things worse.
Payload used:
jxs=slideshow&i=0&z=<img src="a" onerror=alert(1)>&z=<img src="a" onerror=alert(2)>
Affected URL: http://localhost//ndxzsite/plugin/ajax.php
so,when we visit this url:localhost//ndxzsite/plugin/ajax.php and POST data:
jxs=slideshow&i=0&z=<img src="a" onerror=alert(1)>&z=<img src="a" onerror=alert(2)>
The js will executes.

y3db2 e7 n5sr o30g5a 8

@Vaska
Copy link
Collaborator

Vaska commented Feb 21, 2019

Fixed.

@Vaska Vaska closed this as completed Feb 21, 2019
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

2 participants