OpenMRS 2.3 1.11.4 - Local File Disclosure Vulnerability

ID EDB-ID:38899
Type exploitdb
Reporter LiquidWorm
Modified 2015-12-08T00:00:00


OpenMRS 2.3 (1.11.4) - Local File Disclosure Vulnerability. Webapps exploit for xml platform

                                            OpenMRS 2.3 (1.11.4) Local File Disclosure Vulnerability

Vendor: OpenMRS Inc.
Product web page:
Affected version: OpenMRS 2.3, 2.2, 2.1, 2.0 (Platform 1.11.4 (Build 6ebcaf), 1.11.2 and 1.10.0)
                  OpenMRS-TB System (OpenMRS 1.9.7 (Build 60bd9b))

Summary: OpenMRS is an application which enables design
of a customized medical records system with no programming
knowledge (although medical and systems analysis knowledge
is required). It is a common framework upon which medical
informatics efforts in developing countries can be built.

Desc: OpenMRS suffers from a file disclosure vulnerability
when input passed thru the 'url' parameter to viewPortlet.htm
script is not properly verified before being used to include
files. This can be exploited to include files from local
resources with directory traversal attacks.

Tested on: Ubuntu 12.04.5 LTS
           Apache Tomcat/7.0.26
           Apache Tomcat/6.0.36
           Apache Coyote/1.1

Vulnerability discovered by Gjoko 'LiquidWorm' Krstic

Advisory ID: ZSL-2015-5286
Advisory URL: