A recently patched vulnerability in Ubiquiti EdgeRouter and AirCube devices could be exploited to execute arbitrary code, vulnerability reporting firm SSD Secure Disclosure warns.
Tracked as CVE-2023-31998, the issue is described as a heap overflow vulnerability that can be exploited over a LAN connection.
According to Ubiquiti, an attacker exploiting this bug may interrupt UPnP service to a vulnerable device.
An SSD Secure Disclosure advisory notes that the vulnerability resides in the MiniUPnPd service of the impacted devices and that LAN attackers may exploit it “to overflow an internal heap and potentially execute arbitrary code”.
SSD Secure Disclosure, which provides technical details on the vulnerability itself, reveals that proof-of-concept (PoC) code targeting the issue is also available, but that it targets the bug on Ubiquiti EdgeRouterX devices, which are also impacted.
According to the firm, the issue was resolved in MiniUPnPd, but no CVE identifier was released for it. Vulnerable versions of MiniUPnPd may have been shipped with other networking devices as well.
“It is likely that other products relying either directly on upstream MiniUPnPd, or on router distribution such as OpenWrt, VyOS or DD-WRT still ship today with vulnerable MiniUPnPd,” SSD Secure Disclosure notes.
At the end of June, Ubiquiti announced the release of software updates for the impacted UPnP-enabled EdgeRouter (firmware version 2.0.9-hotfix.7) and AirCube (firmware version 2.8.9) devices.
Although there is no indication that the vulnerability has been exploited in attacks, Ubiquiti users are advised to update their devices as soon as possible.
Related: Former Ubiquiti Employee Who Posed as Hacker Sentenced to Prison
Related: Flaw Possibly Affecting 500,000 Ubiquiti Devices Exploited in the Wild
Related: Critical Flaw Exposes Many Ubiquiti Devices to Attacks
https://www.securityweek.com/poc-exploit-published-for-recent-ubiquiti-edgerouter-vulnerability/