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
- Organizations Warned of Backdoor Feature in Hundreds of Gigabyte Motherboards
- Barracuda Zero-Day Exploited to Deliver Malware for Months Before Discovery
- Industrial Giant ABB Confirms Ransomware Attack, Data Theft
- Zyxel Firewalls Hacked by Mirai Botnet
- New Russia-Linked CosmicEnergy ICS Malware Could Disrupt Electric Grids
- Drop in Insider Breaches Drives Decline in Intrusions at OT Organizations
- Zero-Day Vulnerability Exploited to Hack Barracuda Email Security Gateway Appliances
- OAuth Vulnerabilities in Widely Used Expo Framework Allowed Account Takeovers
Latest News
- Chrome 114 Released With 18 Security Fixes
- Organizations Warned of Backdoor Feature in Hundreds of Gigabyte Motherboards
- Breaking Enterprise Silos and Improving Protection
- Spyware Found in Google Play Apps With Over 420 Million Downloads
- Millions of WordPress Sites Patched Against Critical Jetpack Vulnerability
- Barracuda Zero-Day Exploited to Deliver Malware for Months Before Discovery
- PyPI Enforcing 2FA for All Project Maintainers to Boost Security
- Personal Information of 9 Million Individuals Stolen in MCNA Ransomware Attack
