Orthanc Medical Imaging Server Flaws Allow File Overwrite and Admin Takeover on Ubuntu
Ubuntu has published security notice USN-9517-1 for Orthanc, the lightweight RESTful DICOM server widely used to store and route medical imaging studies. The notice covers two vulnerabilities. CVE-2023-33466 concerns Orthanc failing to correctly restrict the file operations reachable through its API, which an authenticated user could abuse to overwrite arbitrary files or execute arbitrary code; this issue affects Ubuntu 18.04 LTS, 20.04 LTS and 22.04 LTS only. CVE-2025-15581 concerns incorrect handling of HTTP Basic Authentication, which an attacker could use to escalate privileges and gain administrative access to the server. Fixed packages are available for Ubuntu 24.04 LTS, 22.04 LTS, 20.04 LTS and 18.04 LTS, covering both the orthanc package and the liborthancframework1 library on the newer releases.
The vendor has not published detailed exploitation mechanics or proof-of-concept code for either issue, so the attack chain can only be described at the level the advisory itself gives. For CVE-2023-33466 the weakness sits in the API's handling of file operations, meaning a user who already holds valid credentials on the server can direct writes outside the paths the application was intended to touch, leading to arbitrary file overwrite and, from there, code execution in the context of the Orthanc service. For CVE-2025-15581 the defect is in how the HTTP Basic Authentication exchange is processed, allowing privilege escalation to an administrative role. The two flaws stack logically, since an authentication weakness that yields an administrative session also supplies the authenticated access the API file-operation flaw depends on. Restarting the Orthanc service is required after the package update for the changes to take effect.
Orthanc deployments typically sit inside hospital and clinical research networks, handling DICOM studies that qualify as sensitive personal health data under most privacy regimes, which makes an administrative takeover or arbitrary code execution on the imaging server a patient-data exposure problem as much as a server compromise problem. An attacker with administrative access to a DICOM node can read, alter or delete imaging studies, and arbitrary file overwrite on the host can disrupt the availability of the service entirely. On current exploitation status, FIRST EPSS places CVE-2023-33466 at a 4.1 percent probability of exploitation in the next 30 days and CVE-2025-15581 at 0.5 percent, and neither CVE is reported as being exploited in the wild. A practical complication for exposure is that all of the listed fixes are delivered as ESM builds through Ubuntu Pro, so estates running Orthanc on these releases without Pro entitlement will not receive the updated packages until a community fix appears, leaving a known-vulnerable medical imaging service running in environments where it is often trusted implicitly by adjacent modality and PACS systems.
Attack Surface
Web Application, Server OS
Tactics
Initial Access, Privilege Escalation, Execution
Techniques
- T1190 – Exploit Public-Facing Application
- T1068 – Exploitation for Privilege Escalation
- T1078 – Valid Accounts
- T1565.001 – Data Manipulation: Stored Data Manipulation
SuperPRO's Threat Countermeasures Procedures
- Update Orthanc on Ubuntu 24.04 LTS (noble) to orthanc 1.12.2+dfsg-1ubuntu0.1~esm1 and liborthancframework1 1.12.2+dfsg-1ubuntu0.1~esm1, and on Ubuntu 22.04 LTS (jammy) to orthanc 1.10.0+dfsg-1ubuntu0.1~esm1 and liborthancframework1 1.10.0+dfsg-1ubuntu0.1~esm1, as published in USN-9517-1.
- Update Orthanc on Ubuntu 20.04 LTS (focal) to orthanc 1.5.8+dfsg-2ubuntu6+esm1 and on Ubuntu 18.04 LTS (bionic) to orthanc 1.3.1+dfsg-1ubuntu0.1~esm1; these builds are delivered through Ubuntu Pro ESM Apps, so enable Ubuntu Pro on affected hosts with 'pro attach' before running apt upgrade.
- Restart the Orthanc service after patching ('systemctl restart orthanc') — the notice states the fixes do not take effect until the service is restarted, so verify the running process version rather than only the installed package version.
- Inventory hosts running the orthanc and liborthancframework1 packages with 'dpkg -l | grep -E "orthanc|liborthancframework"' and prioritise Ubuntu 18.04, 20.04 and 22.04 systems, which are the only releases affected by the API file-operation flaw CVE-2023-33466.
- Restrict network access to the Orthanc REST API and DICOM listener (default TCP/8042 for HTTP and TCP/4242 for DICOM) to clinical VLANs, PACS hosts and approved administrative subnets, and remove any direct internet exposure while patching is scheduled.
- Harden authentication in orthanc.json by setting AuthenticationEnabled to true, removing any default or shared RegisteredUsers entries, and placing the HTTP interface behind a TLS-terminating reverse proxy so Basic Authentication credentials are not transmitted in cleartext.
- Alert on writes by the Orthanc service account to paths outside its configured StorageDirectory and IndexDirectory, and on unexpected creation of administrative users or new RegisteredUsers entries, as these would indicate abuse of the file-operation or Basic Authentication flaws.