Hirschmann HiOS Switches Integer Underflow (CVE-2019-12255)

critical Tenable OT Security Plugin ID 502262

Synopsis

The remote OT asset is affected by a vulnerability.

Description

An attacker can either hijack an existing TCP-session and inject bad TCP-segments or establish a new TCP-session on any TCP-port listened to by the target.

This vulnerability could lead to a buffer overflow of up to a full TCP receive-window (by default, 10k-64k depending on version). The buffer overflow occurs in the task calling recv()/recvfrom()/recvmsg().

Applications that pass a buffer equal to or larger than a full TCP-window are not susceptible to this attack. Applications passing a stack-allocated variable as a buffer are the easiest to exploit.

The most likely outcome is a crash of the application reading from the affected socket, which could result in remote code execution.

This plugin only works with Tenable.ot.
Please visit https://www.tenable.com/products/tenable-ot for more information.

Solution

The following text was originally created by the Cybersecurity and Infrastructure Security Agency (CISA). The original can be found at CISA.gov.

Wind River has produced controls and patches to mitigate the reported vulnerabilities. To obtain patches, email [email protected] and indicate the VxWorks major version for which you need source patches.

For more detailed information on the vulnerabilities and the mitigating controls, please see the Wind River advisory at:
https://www.windriver.com/security/announcements/tcp-ip-network-stack-ipnet-urgent11/

Additional vendors affected by the reported vulnerabilities have also released security advisories related to their affected products. Those advisories are as follows:

Rockwell Automation (login required) - https://rockwellautomation.custhelp.com/app/answers/detail/a_id/1088561

Xerox - https://security.business.xerox.com/en-us/news/wind-river-vxworks-ipnet-tcp-ip-stack-vulnerabilities/

Dräger – https://static.draeger.com/security

Schneider Electric – https://www.se.com/ww/en/download/document/SESB-2019-214-01/

See Also

https://cert-portal.siemens.com/productcert/pdf/ssa-632562.pdf

https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2019-0009

https://support2.windriver.com/index.php?page=security-notices

https://security.netapp.com/advisory/ntap-20190802-0001/

http://www.nessus.org/u?1e78a302

http://www.nessus.org/u?c7d3d59d

http://www.nessus.org/u?eb2cc234

https://support.f5.com/csp/article/K41190253

https://cert-portal.siemens.com/productcert/pdf/ssa-189842.pdf

https://cert-portal.siemens.com/productcert/pdf/ssa-352504.pdf

http://www.nessus.org/u?68ce8bd8

https://www.cisa.gov/news-events/ics-advisories/icsa-19-211-0

Plugin Details

Severity: Critical

ID: 502262

Version: 1.4

Type: remote

Family: Tenable.ot

Published: 6/10/2024

Updated: 6/24/2024

Supported Sensors: Tenable OT Security

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2019-12255

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: cpe:/h:belden:hirschmann_rsp20, cpe:/h:belden:hirschmann_rail_switch_power_lite, cpe:/h:belden:hirschmann_rspe37, cpe:/h:belden:hirschmann_rsp25, cpe:/h:belden:hirschmann_rsp35, cpe:/h:belden:hirschmann_rspe30, cpe:/h:belden:hirschmann_rail_switch_power_smart, cpe:/h:belden:hirschmann_rspe35, cpe:/h:belden:hirschmann_dragon_mach4500, cpe:/h:belden:hirschmann_dragon_mach4000, cpe:/h:belden:hirschmann_eagle_one, cpe:/h:belden:hirschmann_eagle20, cpe:/h:belden:hirschmann_eagle30, cpe:/h:belden:hirschmann_rsp30, cpe:/h:belden:hirschmann_rspe32

Required KB Items: Tenable.ot/Hirschmann

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 8/9/2019

Vulnerability Publication Date: 8/9/2019

Reference Information

CVE: CVE-2019-12255

CWE: 120