May 23, 2016 By Larry Loeb 2 min read

Ubiquiti Networks issued a security alert this week that advised users to update their airOS router firmware. This was in response to reports that the company’s routers had seen infections performed by a worm.

The alert noted that two different payloads are operating with the same exploit. However, the exploit in question was reported and patched in July 2015.

Updating the Ubiquiti OS

The company released version 5.6.5 of the airOS, which features some additional security improvements. These improvements include disabling custom scripts usage and enabling syslog by default.

The new OS version will remove the worm from devices. Ubiquiti also released a separate worm removal tool in the form of a Java JAR file.

The worm targets routers, access points and other devices running outdated versions of the airOS firmware. The underlying problem appears to be an arbitrary file upload vulnerability that can allow an unauthenticated attacker to gain access to the device through HTTP/HTTPS.

What the Worm Does

The worm functions by creating a self-replicating virus that gains entry through the use of the ogin.cgi file. The malware uses the default credentials for Ubiquiti devices to log into these routers.

It first leaves a copy of itself as well as a backdoor account on the device. Then it adds rules entries that prevent an admin user from accessing the administration panel through the Web interface and gains persistence on the system.

Finally, the worm downloads a copy of the open-source cURL utility, which it uses to spread to other routers, either on an internal network or the Internet.

Symantec thinks that the worm is not doing any actual damage — for now. “So far this malware doesn’t seem to perform any other activities beyond creating a backdoor account, blocking access to the device and spreading to other routers,” the firm wrote. “It’s likely that the attackers behind this campaign may be spreading the worm for the sheer challenge of it. It could also be evidence of an early, exploratory phase of a larger operation.”

Lessons Learned

The takeaway here is how difficult network security is, particularly with regard to the Internet of Things (IoT).

Even though the exploit used by the worm was previously fixed, many routers are still unpatched and vulnerable. The secure maintenance of all the disparate elements of common networks will require a level of vigilance that many may not yet appreciate.

More from

When ransomware kills: Attacks on healthcare facilities

4 min read - As ransomware attacks continue to escalate, their toll is often measured in data loss and financial strain. But what about the loss of human life? Nowhere is the ransomware threat more acute than in the healthcare sector, where patients’ lives are literally on the line.Since 2015, there has been a staggering increase in ransomware attacks on healthcare facilities. And the impacts are severe: Diverted emergency services, delayed critical treatments and even fatalities. Meanwhile, the pledge some ransomware groups made during…

AI and cloud vulnerabilities aren’t the only threats facing CISOs today

6 min read - With cloud infrastructure and, more recently, artificial intelligence (AI) systems becoming prime targets for attackers, security leaders are laser-focused on defending these high-profile areas. They’re right to do so, too, as cyber criminals turn to new and emerging technologies to launch and scale ever more sophisticated attacks.However, this heightened attention to emerging threats makes it easy to overlook traditional attack vectors, such as human-driven social engineering and vulnerabilities in physical security.As adversaries exploit an ever-wider range of potential entry points…

4 trends in software supply chain security

4 min read - Some of the biggest and most infamous cyberattacks of the past decade were caused by a security breakdown in the software supply chain. SolarWinds was probably the most well-known, but it was not alone. Incidents against companies like Equifax and tools like MOVEit also wreaked havoc for organizations and customers whose sensitive information was compromised.Expect to see more software supply chain attacks moving forward. According to ReversingLabs' The State of Software Supply Chain Security 2024 study, attacks against the software…

Topic updates

Get email updates and stay ahead of the latest threats to the security landscape, thought leadership and research.
Subscribe today