← Advisories

Orthanc DICOM Server 1.1.0 Unquoted Service Path Privilege Escalation

Low
Advisory ID
ZSL-2016-5379
Release Date
16 December 2016
Vendor
Sébastien Jodogne - http://www.orthanc-server.com
Affected Version
1.1.0
CVE
N/A
Tested On
Microsoft Windows 7 Professional SP1 (EN), Microsoft Windows 7 Ultimate SP1 (EN)
Summary

Orthanc is a Belgian, open-source, lightweight RESTful DICOM server for healthcare and medical research with an ubiquitous web interface that enables you to upload, receive and transfer DICOM images. It comes with a REST API to automate imaging flows and an SDK to integrate with native applications.

Description

The application suffers from an unquoted search path issue impacting the service 'orthanc' for Windows deployed as part of Orthanc DICOM server solution. This could potentially allow an authorized but non-privileged local user to execute arbitrary code with elevated privileges on the system. A successful attempt would require the local user to be able to insert their code in the system root path undetected by the OS or other security applications where it could potentially be executed during application startup or reboot. If successful, the local user’s code would execute with the elevated privileges of the application.

Proof of Concept
Disclosure Timeline
22.11.2016Vulnerability discovered.
28.11.2016Vendor contacted.
28.11.2016Vendor responds asking more details.
28.11.2016Sent details to the vendor.
01.12.2016Asked vendor for status update.
01.12.2016Vendor confirms the vulnerability both under Windows and Linux.
02.12.2016Vendor creates a patch for DCMTK 3.6.0 and for the Windows service.
13.12.2016Vendor releases version 1.2.0 to address these issues.
16.12.2016Coordinated public security advisory released.
Credits
Vulnerability discovered by Gjoko Krstic
References
Changelog
16.12.2016Initial release
20.12.2016Added reference [2] and [3]
24.12.2016Added reference [4]