
CVE-2026-23009에 대한 개념 증명(PoC)으로, pynetdicom을 사용해 취약한 PACS 서버에 인증 없이 DICOM 이미지를 주입하는 방법을 시연하며, 시뮬레이션된 C-STORE SCP와 익스플로잇 스크립트를 포함합니다.
# dicom_server_sim.py - DICOM C-STORE SCP with no AE title check
from pynetdicom import AE, evt, AllStoragePresentationContexts
def handle_store(event):
ds = event.dataset
# No authentication, accepts any image from any remote
ds.save_as(f"/tmp/{ds.SOPInstanceUID}.dcm")
return 0x0000
handlers = [(evt.EVT_C_STORE, handle_store)]
ae = AE()
ae.supported_contexts = AllStoragePresentationContexts
ae.start_server(('', 11112), evt_handlers=handlers)
의료 영상 서버(PACS)가 인증 없이 원격 호스트의 DICOM 이미지를 수락합니다. 병원 네트워크의 공격자는 악성 픽셀 데이터나 환자 정보가 포함된 위조 이미지를 주입하여 오진이나 다운스트림 시스템 손상으로 이어질 수 있습니다.
pip install pynetdicom
python dicom_server_sim.py
python exploit_dicom_inject.py
파일이 /tmp에 나타납니다.