Connect with us

Hi, what are you looking for?


Malware & Threats

Worm Infects Many Ubiquiti Devices via Old Vulnerability

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.

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.

Advertisement. Scroll to continue reading.

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.

Related: Flaw Allows Hackers to Find Ubiquiti Devices Exposed to Web

Written By

Eduard Kovacs (@EduardKovacs) is a managing 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.

Click to comment


Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

Join the session as we discuss the challenges and best practices for cybersecurity leaders managing cloud identities.


The AI Risk Summit brings together security and risk management executives, AI researchers, policy makers, software developers and influential business and government stakeholders.


People on the Move

Retired U.S. Army General and former NSA Director Paul M. Nakasone has joined the Board of Directors at OpenAI.

Jill Passalacqua has been appointed Chief Legal Officer at autonomous security solutions provider

Cisco has appointed Sean Duca as CISO and Practice Leader for the APJC region.

More People On The Move

Expert Insights