Sante PACS Server DCM File Parsing Directory Traversal Arbitrary File Write Vulnerability
The Sante PACS Server does not properly validate a user-supplied path when parsing DCM files, allowing an attacker to write arbitrary files. An unauthenticated remote attacker could exploit this to create files with the privileges of the current user.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to create arbitrary files on affected installations of Sante PACS Server. Authentication is not required to exploit this vulnerability.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Impact
An unauthenticated remote attacker could create arbitrary files on the server, potentially leading to further compromise.
What the attacker needed
Network access to the server; no authentication required
The fix
The vulnerability was fixed in Sante PACS Server version 4.0.10.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A DCM file is a medical image format. The server fails to check that a file path inside the DCM file stays within the intended folder, so an attacker can use a path like '../../something' to write files anywhere the server process can write. This is called a directory traversal attack.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.