Skip to content
Path traversal Advisory Intermediate CVE-2025-0572

Sante PACS Server Web Portal DCM File Parsing Directory Traversal Arbitrary File Write Vulnerability

The Sante PACS Server Web Portal does not properly validate a user-supplied path when parsing DCM files, allowing an authenticated remote attacker to write arbitrary files. The attacker can create files with the privileges of the current user.

Chizuru Toyama Follow

Originally disclosed on Zero Day Initiative

Medium 4.3 View original

This vulnerability allows remote attackers to create arbitrary files on affected installations of Sante PACS Server. Authentication is required to exploit this vulnerability.

Chizuru Toyama of TXOne Networks, on the Zero Day Initiative

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

Root cause

Likely the application fails to sanitise a path taken from a DCM file before using it in file write operations.

Impact

An authenticated remote attacker could write arbitrary files on the server, potentially leading to further compromise.

What the attacker needed

Authentication required; ability to upload or supply a DCM file

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 file. The server reads a path from inside that file and uses it to decide where to save something, without checking that the path stays inside the intended folder. An attacker who can log in can craft a DCM file that makes the server write a file to a location of their choosing.

What is Path traversal?

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.

More by Chizuru Toyama

View all

11 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Path traversal and file inclusion

The lesson behind this report.

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.