Ubiquiti Networks has warned its customers about a worm that has been targeting the company’s products by exploiting a critical vulnerability that was patched nearly one year ago.
According to the wireless networking product manufacturer, the malware is designed to target routers, access points and other devices running outdated versions of the airOS firmware, including airMAX M (airRouter), AirMAX AC, airOS 802.11G, ToughSwitch, airGateway and airFiber.
Ubiquiti says it has seen two different versions of the worm and they both leverage the same vulnerability to infect the company’s products.
The flaw in question was patched in July 2015 with the release of airOS 5.6.2. The vendor has now released version 5.6.5, which contains additional security improvements and removes the malware from devices. A separate worm removal tool has also been released by the vendor.
The weakness leveraged by the worm is an arbitrary file upload vulnerability that allows an unauthenticated attacker to gain access to the device via HTTP/HTTPS.
“Simply having a radio on outdated firmware and having it’s http/https interface exposed to the Internet is enough to get infected. We are also recommending restricting all access to management interfaces via firewall filtering,” Ubiquiti warned.
The security hole was reported to Ubiquiti via its HackerOne bug bounty program and it earned the individual who found it $18,000. It’s worth noting that Ubiquiti is offering up to $25,000 for critical flaws found in its products.
Symantec has analyzed the attacks and discovered that the worm infects one router and then uses it to compromise other devices both on and outside of the network.
According to the security firm, the worm exploits the vulnerability to upload files to the router, and creates a backdoor account with the username “mother” and the password “fucker.” The malware then adds iptables rules to block administrators from accessing the device, and copies itself to rc.poststart for persistence. Some users also reported that the worm resets infected devices to factory settings.
The worm then takes the infected router’s IP address and uses it to generate other IPs that could be associated with vulnerable devices, which it attempts to infect, Symantec said.
“So far this malware doesn’t seem to perform any other activities beyond creating a back door account, blocking access to the device, and spreading to other routers. It’s likely that the attackers behind this campaign may be spreading the worm for the sheer challenge of it,” Symantec said. “It could also be evidence of an early, exploratory phase of a larger operation. Either way, this campaign potentially grants the attackers access to a large amount of routers, putting their targets’ infrastructure at risk.”
Symantec also reported that its honeypots detected attempts to infect Ubiquiti routers over SSH using default credentials.
On Ubiquiti Networks’ forums, users from numerous countries reported getting hit by the worm, including Brazil, where the company’s products are very popular, Spain, Russia, Argentina and the United States. Some ISPs reported that thousands of devices are affected.
There is a pretty bad Worm going around owning Ubiquity airMax devices, i know at least of two ISP that got owned pretty badly
— Nico Waisman (@nicowaisman) May 16, 2016
Related: Flaw Allows Hackers to Find Ubiquiti Devices Exposed to Web

Eduard Kovacs (@EduardKovacs) is a contributing editor at SecurityWeek. He worked as a high school IT teacher for two years before starting a career in journalism as Softpedia’s security news reporter. Eduard holds a bachelor’s degree in industrial informatics and a master’s degree in computer techniques applied in electrical engineering.
More from Eduard Kovacs
- In Other News: Government Use of Spyware, New Industrial Security Tools, Japan Router Hack
- Apple Denies Helping US Government Hack Russian iPhones
- Zero-Day in MOVEit File Transfer Software Exploited to Steal Data From Organizations
- Russia Blames US Intelligence for iOS Zero-Click Attacks
- Cisco Acquiring Armorblox for Predictive and Generative AI Technology
- Moxa Patches MXsecurity Vulnerabilities That Could Be Exploited in OT Attacks
- Organizations Warned of Salesforce ‘Ghost Sites’ Exposing Sensitive Information
- Organizations Warned of Backdoor Feature in Hundreds of Gigabyte Motherboards
Latest News
- Insider Q&A: Artificial Intelligence and Cybersecurity In Military Tech
- In Other News: Government Use of Spyware, New Industrial Security Tools, Japan Router Hack
- OpenAI Unveils Million-Dollar Cybersecurity Grant Program
- Galvanick Banks $10 Million for Industrial XDR Technology
- Information of 2.5M People Stolen in Ransomware Attack at Massachusetts Health Insurer
- US, South Korea Detail North Korea’s Social Engineering Techniques
- High-Severity Vulnerabilities Patched in Splunk Enterprise
- Idaho Hospitals Working to Resume Full Operations After Cyberattack
