# ICS Advisory (ICSA-19-255-02)
## 3S-Smart Software Solutions GmbH CODESYS V3 Library Manager (Update A)
Original release date: May 12, 2020
[Print Document](javascript:window.print\(\);)
[Tweet](https://twitter.com/share?url=https%3A%2F%2Fus-
cert.cisa.gov%2Fics%2Fadvisories%2Ficsa-19-255-02)
[Like Me](https://www.facebook.com/sharer.php?u=https%3A%2F%2Fus-
cert.cisa.gov%2Fics%2Fadvisories%2Ficsa-19-255-02)
[Share](http://www.addthis.com/bookmark.php?url=https%3A%2F%2Fus-
cert.cisa.gov%2Fics%2Fadvisories%2Ficsa-19-255-02)
### Legal Notice
All information products included in [https://us-cert.gov/ics](/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://www.us-
cert.gov/tlp/](/tlp/).
* * *
## 1\. EXECUTIVE SUMMARY
* **CVSS v3 8.6**
* **ATTENTION:** Low skill level to exploit
* **Vendor:** 3S-Smart Software Solutions GmbH
* **Equipment:** CODESYS V3 Library Manager
* **Vulnerability:** Cross-site Scripting
## 2\. UPDATE INFORMATION
This updated advisory is a follow-up to the original advisory titled
ICSA-19-255-02 3S-Smart Software Solutions GmbH CODESYS V3 Library Manager
that was published September 12, 2019, to the ICS webpage on us-cert.gov.
## 3\. RISK EVALUATION
Successful exploitation of this vulnerability may allow malicious content from
manipulated libraries to be displayed or executed.
## 4\. TECHNICAL DETAILS
### 4.1 AFFECTED PRODUCTS
**\--------- Begin Update A Part 1 of 3 ---------**
All 32 and 64 bit CODESYS Development System V3 versions prior to 3.5.16.0 are
affected by this vulnerability.
**\--------- End Update A Part 1 of 3 ---------**
### 4.2 VULNERABILITY OVERVIEW
#### 4.2.1 [IMPROPER NEUTRALIZATION OF INPUT DURING WEB PAGE GENERATION
('CROSS-SITE SCRIPTING')
CWE-79](https://cwe.mitre.org/data/definitions/79.html)
The system displays active library content without checking the validity,
which may allow the contents of manipulated libraries to be displayed or
executed. The issue also exists for source libraries, but 3S-Smart Software
Solutions GmbH strongly recommends distributing compiled libraries only.
[CVE-2019-13538](http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2019-13538)
has been assigned to this vulnerability. A CVSS v3 base score of 8.6 has been
calculated; the CVSS vector string is
([AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H](https://www.first.org/cvss/calculator/3.0#CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H)).
### 4.3 BACKGROUND
* **CRITICAL INFRASTRUCTURE SECTORS:** Critical Manufacturing
* **COUNTRIES/AREAS DEPLOYED:** Worldwide
* **COMPANY HEADQUARTERS LOCATION:** Germany
### 4.4 RESEARCHER
Heinz Fuglister of WRH Walter Reist Holding AG reported this vulnerability to
3S-Smart Software Solutions GmbH.
## 5\. MITIGATIONS
**\--------- Begin Update A Part 2 of 3 ---------**
3S-Smart Software Solutions GmbH continued investigating the issue after
Version 3.5.15.0 was released as an initial mitigation. They have released
version 3.5.16.0 as a more complete resolution for this vulnerability in all
affected CODESYS products.
**\--------- End Update A Part 2 of 3 ---------**
Please visit the CODESYS update page for more information on how to obtain the
software update: <https://www.codesys.com/download/>[
](https://www.codesys.com/download/)
As part of a security strategy, 3S-Smart Software Solutions GmbH recommends
the following general defense measures to reduce the risk of exploits:
* Use controllers and devices only in a protected environment to minimize network exposure and ensure that they are not accessible from outside.
* Use firewalls to protect and separate the control system network from other networks.
* Use VPN (virtual private networks) tunnels if remote access is required.
* Activate and apply user management and password features.
* Limit the access to both development and control system by physical means, operating system features, etc.
* Protect both development and control system by using up to date virus detecting solutions. For more information and general recommendations for protecting machines and plants, see also the [CODESYS security whitepaper](https://customers.codesys.com/fileadmin/data/customers/security/CODESYS-Security-Whitepaper.pdf).
**\--------- Begin Update A Part 3 of 3 ---------**
For more information, 3S-Smart Software Solutions GmbH has released a
[security
report](https://customers.codesys.com/index.php?eID=dumpFile&t=f&f=12940&token=7723e5ed99830656f487e218e73dce2de751102f&download=).
**\--------- End Update A Part 3 of 3 ---------**
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](https://www.us-cert.gov/ics/recommended-practices) on the ICS
webpage on [us-cert.gov](https://www.us-cert.gov/ics). Several recommended
practices are available for reading and download, including [Improving
Industrial Control Systems Cybersecurity with Defense-in-Depth
Strategies](https://www.us-
cert.gov/sites/default/files/recommended_practices/NCCIC_ICS-
CERT_Defense_in_Depth_2016_S508C.pdf).
Additional mitigation guidance and recommended practices are publicly
available on the [ICS webpage on us-cert.gov](https://www.us-cert.gov/ics) in
the Technical Information Paper, [ICS-TIP-12-146-01B--Targeted Cyber Intrusion
Detection and Mitigation Strategies](https://www.us-cert.gov/ics/tips/ICS-
TIP-12-146-01B).
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 this vulnerability. This
vulnerability is not exploitable remotely.
暂无评论