[!(https://thehackernews.com/images/-wmhhLqsmP70/X9CdE443IiI/AAAAAAAABNA/_rti_SS4BkoWeh8I0g7GiKTZGzH1f7n4QCLcBGAsYHQ/s0/iot-hack.jpg)](<https://thehackernews.com/images/-wmhhLqsmP70/X9CdE443IiI/AAAAAAAABNA/_rti_SS4BkoWeh8I0g7GiKTZGzH1f7n4QCLcBGAsYHQ/s0/iot-hack.jpg>) Cybersecurity researchers disclosed a dozen new flaws in multiple widely-used embedded TCP/IP stacks impacting millions of devices ranging from networking equipment and medical devices to industrial control systems that could be exploited by an attacker to take control of a vulnerable system. Collectively called "[AMNESIA:33](<https://www.forescout.com/research-labs/amnesia33/>)" by Forescout researchers, it is a set of 33 vulnerabilities that impact four open-source TCP/IP protocol stacks — uIP, FNET, picoTCP, and Nut/Net — that are commonly used in Internet-of-Things (IoT) and embedded devices. As a consequence of improper memory management, [successful exploitation](<https://kb.cert.org/vuls/id/815128>) of these flaws could cause memory corruption, allowing attackers to compromise devices, execute malicious code, perform denial-of-service (DoS) attacks, steal sensitive information, and even poison DNS cache. In the real world, these attacks could play out in various ways: disrupting the functioning of a power station to result in a blackout or taking smoke alarm and temperature monitor systems offline by using any of the DoS vulnerabilities. The flaws, which will be detailed today at the [Black Hat Europe Security Conference](<https://www.blackhat.com/eu-20/briefings/schedule/index.html#how-embedded-tcpip-stacks-breed-critical-vulnerabilities-21503>), were discovered as part of Forescout's Project Memoria initiative to study the security of TCP/IP stacks. [!(https://thehackernews.com/images/-MEwJ7pVxyWs/X9CaX-0BcuI/AAAAAAAABMs/i407DFI0niYEMuWAiPHTc7lFa1enTZCxgCLcBGAsYHQ/s0/iot-devices.jpg)](<https://thehackernews.com/images/-MEwJ7pVxyWs/X9CaX-0BcuI/AAAAAAAABMs/i407DFI0niYEMuWAiPHTc7lFa1enTZCxgCLcBGAsYHQ/s0/iot-devices.jpg>) The development has prompted the CISA ICS-CERT to issue a [security advisory](<https://us-cert.cisa.gov/ics/advisories/icsa-20-343-01>) in an attempt to provide early notice of the reported vulnerabilities and identify baseline preventive measures for mitigating risks associated with the flaws. Millions of devices from an estimated 158 vendors are vulnerable to AMNESIA:33, with the possibility of remote code execution allowing an adversary to take complete control of a device, and using it as an entry point on a network of IoT devices to laterally move, establish persistence, and co-opt the compromised systems into botnets without their knowledge. "AMNESIA:33 affects multiple open source TCP/IP stacks that are not owned by a single company," the researchers [said](<https://www.forescout.com/company/resources/amnesia33-how-tcp-ip-stacks-breed-critical-vulnerabilities-in-iot-ot-and-it-devices/>). "This means that a single vulnerability tends to spread easily and silently across multiple codebases, development teams, companies and products, which presents significant challenges to patch management." Because these vulnerabilities span across a complex IoT supply chain, Forescout cautioned it's as challenging it is to determine which devices are affected as they are hard to eradicate. Like the [Urgent/11](<https://thehackernews.com/2019/07/vxworks-rtos-vulnerability.html>) and [Ripple20](<https://thehackernews.com/2020/06/new-critical-flaws-put-billions-of.html>) flaws that were disclosed in recent times, AMNESIA:33 stems from [out-of-bounds writes](<https://cwe.mitre.org/data/definitions/787.html>), [overflow flaws](<https://cwe.mitre.org/data/definitions/190.html>), or a [lack of input validation](<https://cwe.mitre.org/data/definitions/20.html>), leading to memory corruption and enabling an attacker to put devices into infinite loops, poison DNS caches, and extract arbitrary data. Three of the most severe issues reside in uIP (CVE-2020-24336), picoTCP (CVE-2020-24338), and Nut/Net (CVE-2020-25111), all of which are remote code execution (RCE) flaws and have a CVSS score of 9.8 out of a maximum of 10. * **CVE-2020-24336** \- The code for parsing DNS records in DNS response packets sent over NAT64 does not validate the length field of the response records, allowing attackers to corrupt memory. * **CVE-2020-24338** \- The function that parses domain names lacks bounds checks, allowing attackers to corrupt memory with crafted DNS packets. * **CVE-2020-25111** \- A heap buffer overflow occurring during the processing of the name field of a DNS response resource record, allowing an attacker to corrupt adjacent memory by writing an arbitrary number of bytes to an allocated buffer. As of writing, vendors such as [Microchip Technology](<https://www.microchip.com/design-centers/wireless-connectivity/software-vulnerability-response/amnesia-network-stack-vulnerability>) and [Siemens](<https://cert-portal.siemens.com/productcert/pdf/ssa-541017.pdf>) that have been affected by the reported vulnerabilities have also released security advisories. "Embedded systems, such as IoT and [operational technology] devices, tend to have long vulnerability lifespans resulting from a combination of patching issues, long support lifecycles and vulnerabilities 'trickling down' highly complex and opaque supply chains," Forescout said. "As a result, vulnerabilities in embedded TCP/IP stacks have the potential to affect millions – even billions – of devices across verticals and tend to remain a problem for a very long time." Besides urging organizations to perform proper impact analysis and risk assessment prior to deploying defensive measures, CISA has recommended minimizing network exposure, isolating control system networks and remote devices behind firewalls, and using Virtual Private Networks (VPNs) for secure remote access. Found this article interesting? Follow THN on [Facebook](<https://www.facebook.com/thehackernews>), [Twitter __](<https://twitter.com/thehackersnews>) and [LinkedIn](<https://www.linkedin.com/company/thehackernews/>) to read more exclusive content we post.