Full Report
View CSAF 1. EXECUTIVE SUMMARY CVSS v3 7.1 ATTENTION: Exploitable remotely/low attack complexity Vendor: Orthanc Equipment: Osimis Web Viewer Vulnerability: Cross-site Scripting 2. RISK EVALUATION Successful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code inside the victim's browser. 3. TECHNICAL DETAILS 3.1 AFFECTED PRODUCTS The following versions of Osimis Web Viewer are affected: Osimis WebViewer: Version 1.4.2.0-9d9eff4 3.2 Vulnerability Overview 3.2.1 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') A XSS payload can be uploaded as a DICOM study and when a user tries to view the infected study inside the Osimis WebViewer the XSS vulnerability gets triggered. If exploited, the attacker will be able to execute arbitrary JavaScript code inside the victim's browser. CVE-2023-7238 has been assigned to this vulnerability. A CVSS v3.1 base score of 7.1 has been calculated; the CVSS vector string is (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L). 3.3 BACKGROUND CRITICAL INFRASTRUCTURE SECTORS: Healthcare and Public Health COUNTRIES/AREAS DEPLOYED: Worldwide COMPANY HEADQUARTERS LOCATION: Belgium 3.4 RESEARCHER Noam Moshe of Claroty Team82 reported this vulnerability to CISA. 4. MITIGATIONS Orthanc recommends users mitigate this vulnerability by updating to the Docker images and Windows installers to Orthanc version 24.1.2 or greater. Review Orthanc's security bullentin for more details. CISA recommends users take defensive measures to minimize the risk of exploitation of this vulnerability, such as: Minimize network exposure for all control system devices and/or systems, ensuring they are not accessible from the internet. Locate control system networks and remote devices behind firewalls and isolating them from business networks. When remote access is required, use more secure methods, such as Virtual Private Networks (VPNs), recognizing VPNs may have vulnerabilities and should be updated to the most current version available. Also recognize VPN is only as secure as the connected devices. CISA reminds organizations to perform proper impact analysis and risk assessment prior to deploying defensive measures. CISA also provides a section for control systems security recommended practices on the ICS webpage on cisa.gov/ics. Several CISA products detailing cyber defense best practices are available for reading and download, including Improving Industrial Control Systems Cybersecurity with Defense-in-Depth Strategies. CISA encourages organizations to implement recommended cybersecurity strategies for proactive defense of ICS assets. Additional mitigation guidance and recommended practices are publicly available on the ICS webpage at cisa.gov/ics in the technical information paper, ICS-TIP-12-146-01B--Targeted Cyber Intrusion Detection and Mitigation Strategies. Organizations observing suspected malicious activity should follow established internal procedures and report findings to CISA for tracking and correlation against other incidents. CISA also recommends users take the following measures to protect themselves from social engineering attacks: Do not click web links or open attachments in unsolicited email messages. Refer to Recognizing and Avoiding Email Scams for more information on avoiding email scams. Refer to Avoiding Social Engineering and Phishing Attacks for more information on social engineering attacks. No known public exploitation specifically targeting this vulnerability has been reported to CISA at this time. 5. UPDATE HISTORY January 23, 2024: Initial Publication
Analysis Summary
# Vulnerability: Stored Cross-Site Scripting in Osimis Web Viewer
## CVE Details
- CVE ID: CVE-2023-7238
- CVSS Score: 7.1 (High)
- CWE: CWE-79 (Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'))
## Affected Systems
- Products: Osimis Web Viewer (Vendor: Orthanc)
- Versions: Version 1.4.2.0-9d9eff4
- Configurations: Viewing a malicious DICOM study within the affected web viewer.
## Vulnerability Description
This vulnerability is a Cross-Site Scripting (XSS) flaw. An attacker can inject an XSS payload into a DICOM study file. When a victim user views this infected study using the Osimis WebViewer, the embedded script executes within the victim's browser context. This allows the attacker to potentially execute arbitrary JavaScript code.
## Exploitation
- Status: PoC available (Implied through the vulnerability's technical nature and CVSS score calculation, but the article explicitly states "No known public exploitation specifically targeting this vulnerability has been reported to CISA at this time.")
- Complexity: Low (CVSS vector indicates AC:L - Attack Complexity: Low)
- Attack Vector: Network (CVSS vector indicates AV:N - Attack Vector: Network)
## Impact
- Confidentiality: Low
- Integrity: Low
- Availability: Low
## Remediation
### Patches
- Update to **Orthanc version 24.1.2 or greater** (Applies to Docker images and Windows installers).
### Workarounds
CISA recommends defensive measures to minimize risk:
1. Minimizing network exposure for all systems, ensuring they are not accessible from the internet.
2. Locating control system networks and remote devices behind firewalls and isolating them from business networks.
3. Using secure methods like Virtual Private Networks (VPNs) for required remote access (ensuring VPNs are updated and connected devices are secure).
## Detection
- **Indicators of compromise (IOCs):** Not specifically listed, but typical XSS indicators might involve unusual network communication originating from the web viewer context or unexpected browser behavior for users accessing infected studies.
- **Detection methods and tools:** None explicitly detailed, but defensive measures focus on network isolation and access control.
## References
- Vendor Advisory (Security Bulletin): hxxps://discourse.orthanc-server.org/t/osimis-web-viewer-1-4-3/4206
- CISA Advisories: hxxps://www.cisa.gov/topics/industrial-control-systems
- CISA ICS Best Practices: hxxps://www.cisa.gov/uscert/ics/alerts/ICS-ALERT-10-301-01