
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 に現れます。