CVE Vulnerabilities

CVE-2020-8479

XML Injection (aka Blind XPath Injection)

Published: Apr 29, 2020 | Modified: Oct 28, 2022
CVSS 3.x
9.8
CRITICAL
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
7.5 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu

For the Central Licensing Server component used in ABB products ABB Ability™ System 800xA and related system extensions versions 5.1, 6.0 and 6.1, Compact HMI versions 5.1 and 6.0, Control Builder Safe 1.0, 1.1 and 2.0, Symphony Plus -S+ Operations 3.0 to 3.2 Symphony Plus -S+ Engineering 1.1 to 2.2, Composer Harmony 5.1, 6.0 and 6.1, Melody Composer 5.3, 6.1/6.2 and SPE for Melody 1.0SPx (Composer 6.3), Harmony OPC Server (HAOPC) Standalone 6.0, 6.1 and 7.0, ABB Ability™ System 800xA/ Advant® OCS Control Builder A 1.3 and 1.4, Advant® OCS AC100 OPC Server 5.1, 6.0 and 6.1, Composer CTK 6.1 and 6.2, AdvaBuild 3.7 SP1 and SP2, OPCServer for MOD 300 (non-800xA) 1.4, OPC Data Link 2.1 and 2.2, Knowledge Manager 8.0, 9.0 and 9.1, Manufacturing Operations Management 1812 and 1909, ABB AbilityTM SCADAvantage versions 5.1 to 5.6.5. an XML External Entity Injection vulnerability exists that allows an attacker to read or call arbitrary files from the license server and/or from the network and also block the license handling.

Weakness

The product does not properly neutralize special elements that are used in XML, allowing attackers to modify the syntax, content, or commands of the XML before it is processed by an end system.

Affected Software

Name Vendor Start Version End Version
800xa_system Abb 5.1 (including) 5.1 (including)
800xa_system Abb 5.1-feature_pack_4 (including) 5.1-feature_pack_4 (including)
800xa_system Abb 5.1-feature_pack_4_revision_d (including) 5.1-feature_pack_4_revision_d (including)
800xa_system Abb 5.1-revision_a (including) 5.1-revision_a (including)
800xa_system Abb 5.1-revision_b (including) 5.1-revision_b (including)
800xa_system Abb 5.1-revision_c (including) 5.1-revision_c (including)
800xa_system Abb 5.1-revision_d (including) 5.1-revision_d (including)
800xa_system Abb 5.1-revision_e (including) 5.1-revision_e (including)
800xa_system Abb 5.1-revision_e_feature_pack_4 (including) 5.1-revision_e_feature_pack_4 (including)
800xa_system Abb 6.0 (including) 6.0 (including)
800xa_system Abb 6.0.1 (including) 6.0.1 (including)
800xa_system Abb 6.0.3 (including) 6.0.3 (including)
800xa_system Abb 6.1 (including) 6.1 (including)
Compact_hmi Abb 5.1 (including) 5.1 (including)
Compact_hmi Abb 5.1-feature_pack_4_revision_d (including) 5.1-feature_pack_4_revision_d (including)
Compact_hmi Abb 5.1-revision_b (including) 5.1-revision_b (including)
Compact_hmi Abb 5.1-revision_d (including) 5.1-revision_d (including)
Compact_hmi Abb 6.0.1-1 (including) 6.0.1-1 (including)
Compact_hmi Abb 6.0.3-2 (including) 6.0.3-2 (including)
Control_builder_safe Abb 1.0 (including) 1.0 (including)
Control_builder_safe Abb 1.1 (including) 1.1 (including)
Control_builder_safe Abb 2.0 (including) 2.0 (including)

Potential Mitigations

  • Assume all input is malicious. Use an “accept known good” input validation strategy, i.e., use a list of acceptable inputs that strictly conform to specifications. Reject any input that does not strictly conform to specifications, or transform it into something that does.
  • When performing input validation, consider all potentially relevant properties, including length, type of input, the full range of acceptable values, missing or extra inputs, syntax, consistency across related fields, and conformance to business rules. As an example of business rule logic, “boat” may be syntactically valid because it only contains alphanumeric characters, but it is not valid if the input is only expected to contain colors such as “red” or “blue.”
  • Do not rely exclusively on looking for malicious or malformed inputs. This is likely to miss at least one undesirable input, especially if the code’s environment changes. This can give attackers enough room to bypass the intended validation. However, denylists can be useful for detecting potential attacks or determining which inputs are so malformed that they should be rejected outright.

References