Friday, November 15, 2024
HomeCyber Security NewsEdgeRouter and AirCube miniupnpd Vulnerabilities Enable Attackers to Execute Arbitrary Code

EdgeRouter and AirCube miniupnpd Vulnerabilities Enable Attackers to Execute Arbitrary Code

Published on

AirCube is a wireless access point device used in homes and Edge Routers are special routers manufactured by Ubiquiti that act at the network boundary and allow an internal network to connect to an external network.

MiniUPnPd (Mini Universal Plug aNd Play) is a small daemon that initiates the UPnP and NatPMP (Network Address Translation Port Mapping Protocol) for a device. These two services allow port redirection to any client on the network.

Recent reports from SSD suggest that MiniUPnPd service on the Aircube and Edge routers are vulnerable to an internal heap overflow that can lead potentially to execute arbitrary code.

- Advertisement - SIEM as a Service

CVE(s):

CVE-2023-31998: Heap Overflow in the miniupnpd leads to Arbitrary code execution

This vulnerability exists in the /etc/init.d/upnpd which exposes a dynamic TCP port to LAN clients, allowing threat actors to execute a heap overflow attack resulting in an arbitrary code execution.

The CVSS score and vector for this Edge Routers vulnerability are yet to be confirmed.

Vulnerability Details

Miniupnpd allows the configuration of NAT entries with a function called Internet Gateway Daemon. In Linux, the NAT entries are handled with the help of iptables or nftables. However, iptables used the function get_port_mappings_in_range function to get the external NAT entries and ports. 

Image: miniupnpd functionality diagram

The default allocation of array memory is set to 128 ports as the number of external port entries is not known in advance. If the entries exceed the number of port entries, the reallocation of memory is not updated accordingly, leading to a heap overflow.

SSD has published detailed information about this Edge Routers vulnerability.

Affected Products and Fixed Versions

A security advisory has also been published for this vulnerability.

Affected ProductsFixed in Versions
UPnP-enabled EdgeRouters running 2.0.9-hotfix.6 and earlier.Update affected EdgeRouters to 2.0.9-hotfix.7 or later.
UPnP-enabled Aircubes running 2.8.8 and earlier.Update affected Aircubes to 2.8.9 or later.

Users of these products are advised to upgrade to the latest versions to fix this vulnerability and prevent threat actors.

“AI-based email security measures Protect your business From Email Threats!” – .

Eswar
Eswar
Eswar is a Cyber security content editor with a passion for creating captivating and informative content. With years of experience under his belt in Cyber Security, he is covering Cyber Security News, technology and other news.

Latest articles

Critical Laravel Vulnerability CVE-2024-52301 Allows Unauthorized Access

CVE-2024-52301 is a critical vulnerability identified in Laravel, a widely used PHP framework for...

4M+ WordPress Websites to Attacks, Following Plugin Vulnerability

A critical vulnerability has been discovered in the popular "Really Simple Security" WordPress plugin,...

CISA Warns of Actors Exploiting Two Palo Alto Networks Vulnerabilities

The Cybersecurity and Infrastructure Security Agency (CISA) has issued an urgent alert and added...

Google Unveils New Intelligent, Real-Time Protections for Android Users

Google has once again raised the bar for mobile security by introducing two new...

Free Webinar

Protect Websites & APIs from Malware Attack

Malware targeting customer-facing websites and API applications poses significant risks, including compliance violations, defacements, and even blacklisting.

Join us for an insightful webinar featuring Vivek Gopalan, VP of Products at Indusface, as he shares effective strategies for safeguarding websites and APIs against malware.

Discussion points

Scan DOM, internal links, and JavaScript libraries for hidden malware.
Detect website defacements in real time.
Protect your brand by monitoring for potential blacklisting.
Prevent malware from infiltrating your server and cloud infrastructure.

More like this

Critical Laravel Vulnerability CVE-2024-52301 Allows Unauthorized Access

CVE-2024-52301 is a critical vulnerability identified in Laravel, a widely used PHP framework for...

4M+ WordPress Websites to Attacks, Following Plugin Vulnerability

A critical vulnerability has been discovered in the popular "Really Simple Security" WordPress plugin,...

CISA Warns of Actors Exploiting Two Palo Alto Networks Vulnerabilities

The Cybersecurity and Infrastructure Security Agency (CISA) has issued an urgent alert and added...