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

Storage XSS vulnerability in /gui/accounts.php #29

Closed
Pwn2OwnEr opened this issue Jul 22, 2021 · 1 comment
Closed

Storage XSS vulnerability in /gui/accounts.php #29

Pwn2OwnEr opened this issue Jul 22, 2021 · 1 comment

Comments

@Pwn2OwnEr
Copy link

Add a user with name:"><script>alert(document.cookie)</script>。
图片
图片
xss payload was embeded in config/accounts.php:
图片
/gui/accounts.php:add() function without verify the user input!
图片

@marcantondahmen
Copy link
Owner

Hi, thanks for reporting this. However an attacker must be authenticated to use that vulnerability which somehow defeats its purpose. Stealing session IDs in that scenario would giving him the same permissions he already has to actually use that vulnerability.

Still, you are right it shouldn't be possible and therefore it is fixed in the latest release. 🙂

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