Security vulnerabilities in the communications protocols used by industrial control systems could allow cyber attackers to tamper with or disrupt services, as well access data on the network.
Dubbed INFRA:HALT, the set of 14 security vulnerabilities have been detailed by cybersecurity researchers at Forescout Research Labs and JFrog Security Research, who warn that if left unchecked, the flaws could allow remote code execution, denial of service or even information leaks.
All the vulnerabilities relate to TCP/IP stacks – communications protocols commonly used in connected devices – in NicheStack, used throughout operational technology (OT) and industrial infrastructure.
SEE: The Privacy Paradox: How can businesses use personal data while also protecting user privacy?
Some of the newly uncovered vulnerabilities are more than 20 years old, a common problem in operational technology, which still often runs on protocols developed and produced years ago. Over 200 vendors, including Siemens, use the NicheStack libraries and users are advised to apply the security patches.
Forescout has detailed each of the vulnerabilities in a blog post – they're related to malformed packet processes that allow an attacker to send instructions to read or write on parts of the memory it shouldn't. That can crash the device and disrupt networks, as well as allowing attackers to craft shell code to perform malicious actions, including taking control of the device.
The disclosure of the newly discovered vulnerabilities is the continuation of Project Memoria, Forescout's research initiative examining vulnerabilities in TCP/IP stacks and how to mitigate them. The INFRA:HALT vulnerabilities were uncovered because of the ongoing research.
All versions of NicheStack before version 4.3, including NicheLite, are affected by the vulnerabilities, which have been disclosed to HCC Embedded, which acquired NicheStack in 2016.
The full extent of vulnerable OT devices is uncertain, but researchers were able to identify over 6,400 vulnerable devices by using Shodan, the Internet of Things search engine.
"When you're dealing with operational technology, crashing devices and crashing systems is something that can have various serious consequences. There are also remote code execution possibilities in these vulnerabilities, which would allow the attacker to take control of a device, and not just crash it but make it behave in a way that it's not intended to or use it to pivot within the network," Daniel dos Santos, research manager at Forescout research labs, told ZDNet.
For remote code execution, attackers would need to have detailed knowledge of the systems, but crashing the device is a blunt instrument that's easier to use and that could have significant consequences, especially if the devices help control or monitor critical infrastructure.
Forescout and JFrog Security Research contacted HCC Embedded to disclose the vulnerabilities, as well as contacting CERT as part of the coordinated vulnerability disclosure process. HCC Embedded confirmed that Forescout contacted them about the vulnerabilities and that patches have been released to mitigate them.
"We have been fixing these vulnerabilities over the last six months or so and we have released fixes for every customer who maintains their software," Dave Hughes, CEO of HCC Embedded told ZDNet, adding that if environments are properly configured, it's unlikely that attackers could plant code or take control of devices.
"These are real vulnerabilities, they are weaknesses in the stack. However, most of them are extremely dependent on how you use the software and how you integrate it as to whether you can experience these things.
"If they've got a security department that understands DNS poisoning and things like that then they will not be vulnerable at all because they've configured things in a safe way," Hughes said.
SEE: Why improving diversity in cybersecurity is vital for everyone
Researchers also contacted Coordination agencies including the CERT Coordination Center, BSI (the German Federal Cyber Security Authority), and ICS-CERT (the Industrial Control Systems Cyber Emergency Response Team) about the vulnerabilities. Siemens has also issued an advisory about the vulnerabilities – although only four of the vulnerabilities affect Siemens products.
To help protect operational technology from any kind of cyberattacks, researchers at Forescout recommend that network segmentation is put in place, so operational technology that doesn't need to be exposed to the internet can't be remotely discovered – and technology that doesn't need to be connected to the internet at all is on a separate, air-gapped network.
Forescout has released an open-source script to detect devices running NicheStack to help provide visibility onto networks – and help protect them.
The Cybersecurity & Infrastructure Security Agency (CISA) has released an industrial control systems security advisory following the release of the research.
MORE ON CYBERSECURITY