Two dozen Linksys router models are vulnerable to attacks that could extract sensitive information from their configurations, cause them to become unresponsive and even completely take them over.
The vulnerabilities were discovered by senior security consultant Tao Sauvage from IOActive and independent security researcher Antide Petit while working together to analyze the Linksys EA3500 Smart Wi-Fi wireless router.
The two researchers found a total of 10 vulnerabilities that affect not only the EA3500, but two dozen different router models from Linksys' Smart Wi-Fi, WRT and Wireless-AC series. Even though these devices are marketed as consumer products, it's not unusual to find them running in small business and home office environments.
The flaws range from low to high severity and directly impact over 7,000 routers that have their web-based administrative interfaces exposed to the Internet. Countless more are vulnerable to attacks launched over local area networks from compromised computers, phones or other devices.
Two vulnerabilities allow remote unauthenticated attackers to cause a denial-of-service condition on the affected routers by sending specifically crafted requests to one of their application programming interfaces (APIs). This can result in devices becoming unresponsive and preventing users from accessing the internet.
Other flaws in the web interfaces of the affected Linksys routers allow attackers to bypass authentication and access several CGI scripts that can reveal sensitive information about the devices and their configurations. The exposed information includes the Wi-Fi Protected Setup (WPS) PIN that can allow attackers to access the wireless network and attack an affected router from within.
These vulnerabilities can also be used to obtain the router's firmware and kernel versions, a list of running processes, information about computers connected to the routers, a list of USB devices and the configuration settings for the FTP and SMB file-sharing servers.
Finally, the most serious vulnerability could allow attackers to inject and execute shell commands with root privileges on the affected routers. This could be used to set up a backdoor administrative account that wouldn't be listed in the web interface.
Unlike the other flaws, the command injection vulnerability requires authentication to exploit, meaning that attackers need to have access to an existing account. Fortunately, the Linksys routers have protection against cross-site request forgery (CSRF) attacks that would otherwise allow attackers to hijack a router administrator's browser and piggyback on an active logged-in session to exploit this vulnerability.
The only way to exploit this flaw is if the default log-in username and password haven't been changed, which sadly is still a common security oversight on routers. The two researchers determined that 11 percent of the 7,000 internet-exposed Linksys routers they've identified using the Shodan search engine still used default credentials.
Sign up for Computerworld eNewsletters.