Advisory Details

May 17th, 2024

Sante PACS Server PG Patient Query SQL Injection Remote Code Execution Vulnerability

ZDI-24-468
ZDI-CAN-21579

CVE ID CVE-2023-51637
CVSS SCORE 9.8, AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
AFFECTED VENDORS Sante
AFFECTED PRODUCTS PACS Server PG
VULNERABILITY DETAILS

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Sante PACS Server PG. Authentication is not required to exploit this vulnerability.

The specific flaw exists within the implementation of the DICOM service, which listens on TCP port 11122 by default. When parsing the NAME element of the PATIENT record, the process does not properly validate a user-supplied string before using it to construct SQL queries. An attacker can leverage this vulnerability to execute code in the context of NETWORK SERVICE.

ADDITIONAL DETAILS

Fixed in version 3.3.7
https://www.santesoft.com/win/sante-pacs-server-pg/whats_new.html


DISCLOSURE TIMELINE
  • 2023-11-28 - Vulnerability reported to vendor
  • 2024-05-17 - Coordinated public release of advisory
  • 2024-07-01 - Advisory Updated
CREDIT Guillaume CHANTREL, Florent Saudel
BACK TO ADVISORIES