CVE-2023-51637 Sante PACS Server PG Patient Query SQL Injection Remote Code Execution Vulnerability
Remote attackers can execute arbitrary code via SQL injection in the DICOM service without authentication.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2023-51637?
CVE-2023-51637 is a critical SQL injection vulnerability in Sante PACS Server PG, published on 22 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Sante PACS Server PG Patient Query SQL Injection Remote Code Execution Vulnerability. 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. Was ZDI-CAN-21579.
Weakness: CWE-89
Which versions are affected by CVE-2023-51637?
It affects 1 product.
Products include Santesoft Sante Pacs Server.
How do I fix CVE-2023-51637?
No fix has been published for CVE-2023-51637 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2023-51637 being exploited?
There is no known exploitation of CVE-2023-51637 in the wild and no public exploit code.
Other vulnerabilities in Sante PACS Server PG
- CVE-2025-2263 Santesoft Sante PACS Server Stack-based Buffer Overflow
- CVE-2024-1863 Sante PACS Server Token Endpoint SQL Injection Remote Code Execution Vulnerability
- CVE-2022-2272 SQL injection in PACS Server
- CVE-2025-54156 Santesoft Sante PACS Server Cleartext Transmission of Sensitive Information
- CVE-2025-53948 Santesoft Sante PACS Server Double Free
Sources
Also known as GHSA-6hhx-576r-4c86.