-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2022.3081
                  Advisory (icsma-22-174-01) OFFIS DCMTK
                               24 June 2022

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           OFFIS DCMTK
Publisher:         ICS-CERT
Operating System:  Network Appliance
Resolution:        Patch/Upgrade
CVE Names:         CVE-2022-2121 CVE-2022-2120 CVE-2022-2119

Original Bulletin: 
   https://us-cert.cisa.gov/ics/advisories/icsma-22-174-01

Comment: CVSS (Max):  7.5 CVE-2022-2120 (CVSS:3.0/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H)
         CVSS Source: ICS-CERT
         Calculator:  https://www.first.org/cvss/calculator/3.0#CVSS:3.0/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

- --------------------------BEGIN INCLUDED TEXT--------------------

ICS Medical Advisory (ICSMA-22-174-01)

OFFIS DCMTK

Original release date: June 23, 2022

Legal Notice

All information products included in https://us-cert.cisa.gov/ics are provided
"as is" for informational purposes only. The Department of Homeland Security
(DHS) does not provide any warranties of any kind regarding any information
contained within. DHS does not endorse any commercial product or service,
referenced in this product or otherwise. Further dissemination of this product
is governed by the Traffic Light Protocol (TLP) marking in the header. For more
information about TLP, see https://us-cert.cisa.gov/tlp/ .



1. EXECUTIVE SUMMARY

  o CVSS v3 7.5
  o ATTENTION: Exploitable from an adjacent network/low attack complexity
  o Vendor: OFFIS
  o Equipment: DCMTK
  o Vulnerabilities: Path Traversal, Relative Path Traversal, NULL Pointer
    Dereference

2. RISK EVALUATION

Successful exploitation of these vulnerabilities could allow an attacker to
cause a denial-of-service condition, write malformed DICOM files into arbitrary
directories, and gain remote code execution.

3. TECHNICAL DETAILS

3.1 AFFECTED PRODUCTS

The following versions of DCMTK, libraries and software that process DICOM
image files, are affected:

  o DCMTK: All versions prior to 3.6.7

3.2 VULNERABILITY OVERVIEW

3.2.1 IMPROPER LIMITATION OF A PATHNAME TO A RESTRICTED DIRECTORY ('PATH
TRAVERSAL') CWE-22

The affected product's service class provider (SCP) is vulnerable to path
traversal, allowing an attacker to write DICOM files into arbitrary directories
under controlled names. This could allow remote code execution.

CVE-2022-2119 has been assigned to this vulnerability. A CVSS v3 base score of
7.5 has been calculated; the CVSS vector string is ( AV:A/AC:H/PR:N/UI:N/S:U/
C:H/I:H/A:H ).

3.2.2 RELATIVE PATH TRAVERSAL CWE-23

The affected product's service class user (SCU) is vulnerable to relative path
traversal, allowing an attacker to write DICOM files into arbitrary directories
under controlled names. This could allow remote code execution.

CVE-2022-2120 has been assigned to this vulnerability. A CVSS v3 base score of
7.5 has been calculated; the CVSS vector string is ( AV:A/AC:H/PR:N/UI:N/S:U/
C:H/I:H/A:H ).

3.2.3 NULL POINTER DEREFERENCE CWE-476

The affected product has a NULL pointer dereference vulnerability while
processing DICOM files, which may result in a denial-of-service condition.

CVE-2022-2121 has been assigned to this vulnerability. A CVSS v3 base score of
6.5 has been calculated; the CVSS vector string is ( AV:A/AC:L/PR:N/UI:N/S:U/
C:N/I:N/A:H ).

3.3 BACKGROUND

  o CRITICAL INFRASTRUCTURE SECTORS: Healthcare and Public Health
  o COUNTRIES/AREAS DEPLOYED: Worldwide
  o COMPANY HEADQUARTERS LOCATION: Germany

3.4 RESEARCHER

Noam Moshe of Claroty reported these vulnerabilities to CISA.

4. MITIGATIONS

OFFIS recommends all users update to Version 3.6.7 or later. For more
information see Bug #1021

CISA recommends users take defensive measures to minimize the risk of
exploitation of this vulnerability. Specifically, users should:

  o Minimize network exposure for all control system devices and/or systems,
    and ensure they are not accessible from the Internet .
  o Locate control system networks and remote devices behind firewalls and
    isolate them from the business network.
  o When remote access is required, use 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 its 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 . Several recommended practices are available
for reading and download, including Improving Industrial Control Systems
Cybersecurity with Defense-in-Depth Strategies .

Additional mitigation guidance and recommended practices are publicly available
on the ICS webpage on cisa.gov in the Technical Information Paper,
ICS-TIP-12-146-01B--Targeted Cyber Intrusion Detection and Mitigation
Strategies .

Organizations observing any suspected malicious activity should follow their
established internal procedures and report their findings to CISA for tracking
and correlation against other incidents.

No known public exploits specifically target these vulnerabilities.

For any questions related to this report, please contact the CISA at:

Email: CISAservicedesk@cisa.dhs.gov
Toll Free: 1-888-282-0870

CISA continuously strives to improve its products and services. You can help by
choosing one of the links below to provide feedback about this product.

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        https://www.auscert.org.au/bulletins/

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: https://auscert.org.au/gpg-key/

iQIVAwUBYrURoskNZI30y1K9AQj2Mw//RJWzJmFsZ15HA0O5/EbMPCBI8hR31+kK
80HXJuXWRKjImCSFx+Q+u/zxIq3iHX9/fPgjHoNEGJq3KKVwHxv9A8fOxRjk0q0k
B1KcMDTWUJqW90oNe4qpyGMu9uCriKk+0I2V8p9hVwyaMYf9pmYv3sWUZM3fb4b9
FbeZ1Yso/S3+fAc9WeXLJAbvhtG2qc2z3S54J2mgiPek8DhnUwGxX7OwWrfE/i1J
7SErKqLqvKK30HO1gSa2SPbydfDQwsUk69yBEuMFOS0FB490gtkmY8YWXpzPvCIO
UbmOg39yva7c/JE6W5CIA6lkryUagB1YBGu+2XSxdiYPK05xQ2XVZp0eEuaproxH
mJStuzHL4GhPAHGigI3hUZ0TXWJLWUsNDcBiFUUpICfhb/sZtZidTvuMZ7Z9V8ro
E6x4kTRJkHB+uHC+CnlaGcyLd7k2Yths3KOfkgyfjJNqU3rk4DaXXZbsJSHgbcZs
cwUxOzSBe6yKc0L27GvRrrPBkVmdqPHpHi+8B52L84LPY+R3bJz84aZdbfXfCyl2
WX+cAs7pg2Cwt1dvg9+TaRat2DxOMQHokhZnce7kEhHoJ4xtbkSyzrwV72tXfScI
hhTYCuEL27xQsS01ECh4KP74dzHSyqQiSEH4Va1WO/0kQWLpZd31G1I2GtcFKhk1
7BITpiRMoLM=
=Egsq
-----END PGP SIGNATURE-----