Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1310 CNY

100%

CVE-2019-11687 PoC — NEMA DICOM 输入验证错误漏洞

Source
Associated Vulnerability
Title:NEMA DICOM 输入验证错误漏洞 (CVE-2019-11687)
Description:An issue was discovered in the DICOM Part 10 File Format in the NEMA DICOM Standard 1995 through 2019b and continuing in current implementations. The 128-byte preamble of a DICOM file that complies with this specification can contain arbitrary executable headers for multiple operating systems, including Portable Executable (PE) files for Windows and Executable and Linkable Format (ELF) files for Linux-based systems. This space is left unspecified so that dual-purpose files can be created. For example, dual-purpose TIFF/DICOM files are used in digital whole slide imaging applications in medicine. This design flaw enables system-wide compromise as malicious DICOM files are routinely shared between medical devices and hospital systems and transported via removable media for patient care coordination. To exploit this vulnerability, someone must execute the maliciously crafted file. These files can be executable even with the .dcm file extension. Anti-malware configurations at healthcare facilities often ignore medical imagery. DICOM files exist on systems that process protected health information, and successful exploitation could result in violations of regulatory compliance requirements such as HIPAA and FDA postmarket obligations.
Description
Explotation framework for CVE-2019-11687
Readme
# Bad-DICOM

PoC of my handcrafted CVE-2019-11687's exploit tool.

I've crafted this PEDICOM as a Proof of Concept for my college's capstone.


## What is a PEDICOM
DoomDicom.dcm is a PEDICOM, a polyglot file that can act as a functional PE and, at the same time, as a legit DICOM.
For more information about this files please read the [d00rt's original paper](https://github.com/d00rt/pedicom)

## How to use
You can open this file in two main ways:
1.  As a DCM: just open in with a [DicomViewer](../../blob/master/DICOMviewer.exe) as [MicroDicomViewer](http://www.microdicom.com/) or with *powershell*
2.  As a PE: open it with *CMD.exe* or rename it to *'DoomDicom.exe'*
3.  With the script loader.py from this tool (not released yet).

DoomDicom.dcm was made with my tool BAD-DICOM, but at the end *I'm not releasing it*, for ethical concerns.

In a few days I'll upload the whole capstone report from my college.

Please enjoy the [detection rules](../../blob/master/cve_2019_11687_pedicom.yar) [:closed_book:](../../blob/master/cve_2019_11687_pedicom.yar), feedback would be appreciated!
File Snapshot

Log in to view the POC file snapshot cached by Shenlong Bot

Log in to view
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →