CVE-2023-33466
High · 8.8CVSS
8.8
EPSS
4.2%
Published
Jun 29, 2023
CISA due date
—
Cloudanix analysis
Users who can reach the system's API could replace important files and potentially take full control of the server if certain setup conditions are met.
- Exploitation
- Remote Authenticated
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Remote Code Execution
- Component
- Application
- Class
- Path Traversal
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Authenticated API users can supply crafted paths that traverse the filesystem and overwrite arbitrary files, including Orthanc configuration files in certain deployments, enabling subsequent remote code execution.
Why it matters to the business
Attackers with limited API access can achieve full system takeover, disrupt medical imaging workflows, exfiltrate patient data, or persist on servers handling sensitive healthcare records; the issue is long-public with low but steady exploitation probability.
How an attack unfolds
An attacker who obtains valid API credentials sends specially constructed requests that abuse path traversal to replace configuration or executable files; when the server restarts or reloads the overwritten files, arbitrary commands execute under the Orthanc process privileges.
How to fix it
Upgrade Orthanc to version 1.12.0 or later. Restrict API access to trusted sources, enforce least-privilege file permissions on the Orthanc data directory, and monitor for unexpected file modifications in configuration paths.
How to confirm the fix worked
Confirm the running Orthanc version is 1.12.0 or newer; review server configuration to ensure API authentication and path restrictions are active; test by attempting a controlled traversal request from an authenticated account and verifying the request is rejected.
Typical attack path
- Obtain valid Orthanc API credentials
- Identify writable paths via API endpoints handling file or configuration operations
- Craft requests containing directory traversal sequences to target desired files
- Overwrite configuration or plugin binaries
- Trigger service restart or configuration reload to execute attacker-controlled code
How to detect it
Search Orthanc API access logs for requests containing sequences such as ../ or unusual file paths; inspect file timestamps on configuration and executable directories for unexpected modifications after 2023-06-29; review process creation events for Orthanc launching unexpected child processes.
What your security team should do
- Immediately upgrade all Orthanc instances to 1.12.0 or newer
- Audit API access logs for suspicious path patterns since publication date
- Apply network segmentation and strict firewall rules around Orthanc deployments
- Implement file integrity monitoring on configuration and plugin directories
The record
Orthanc before 1.12.0 allows authenticated users with access to the Orthanc API to overwrite arbitrary files on the file system, and in specific deployment scenarios allows the attacker to overwrite the configuration, which can be exploited to trigger Remote Code Execution (RCE).
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:10 | orthanc | 0 | 1.5.6+dfsg-1+deb10u1 |
| Debian:11 | orthanc | 0 | 1.9.2+really1.9.1+dfsg-1+deb11u1 |
| Debian:12 | orthanc | 0 | 1.10.1+dfsg-2+deb12u1 |
| Debian:13 | orthanc | 0 | 1.12.1+dfsg-1 |
| Ubuntu:16.04:LTS | orthanc | 0 | No fix |
| Ubuntu:18.04:LTS | orthanc | 0 | No fix |
| Ubuntu:20.04:LTS | orthanc | 0 | No fix |
| Ubuntu:22.04:LTS | orthanc | 0 | No fix |
| Ubuntu:24.04:LTS | orthanc | 0 | No fix |
| Ubuntu:24.10 | orthanc | 0 | No fix |
| Ubuntu:25.04 | orthanc | 0 | No fix |
| Ubuntu:25.10 | orthanc | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | orthanc | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | orthanc | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | orthanc | 0 | No fix |