This router is vulnerable to fake updates and cross-site scripting attacks

(Image credit: Shutterstock)

A vulnerable Wi-Fi router can leave your entire network open to attack which is why users should download and install the latest firmware and patches from device manufacturers as soon as they become available.

Security research manager at Trustwave, Martin Rakhmanov recently discovered two security flaws in the update functionality of ASUS' RT-AC1900P router firmware that could allow for complete compromise of the device and all the traffic that passes through it, if left unpatched.

The first vulnerability Rakhmanov found involves accepting untrusted or forged certificates by the weget program used by the router to fetch updates from ASUS servers. If you log in to an ASUS RT-AC1900P router running older firmware via SSH and grep through the file system, you'll find a string which reads “--no-check-certificate”.

This search will show some shell scripts that are used to perform downloads from ASUS' update servers. A malicious attacker could then exploit the fact that the software doesn't check certificates to force malicious files to be installed. However, the attacker would need to be near the vulnerable router to carry out a man in the middle attack (MITM), though a successful compromise of the router would give an attacker complete access to all of the traffic passing through the router.

XSS vulnerability

The second security flaw Rakhmanov discovered was a cross-site scripting (XSS) vulnerability in the Web Management interface ASUS uses for firmware updates. In the interface, the release notes page did not properly escape the contents of page before rendering it to the user.

A malicious party could leverage the MITM flaw and chain it with arbitrary JavaScript code execution to attack administrators.

Thankfully both of these flaws have been addressed by ASUS and users with a RT-AC1900P router can install the company's latest firmware to prevent falling victim to any potential attacks.

Anthony Spadafora

After working with the TechRadar Pro team for the last several years, Anthony is now the security and networking editor at Tom’s Guide where he covers everything from data breaches and ransomware gangs to the best way to cover your whole home or business with Wi-Fi. When not writing, you can find him tinkering with PCs and game consoles, managing cables and upgrading his smart home. 

Latest in Pro
NordProtect logo
Standalone identity theft protection from Nord Security is now available
A man holds a smartphone iPhone screen showing various social media apps including YouTube, TikTok, Facebook, Threads, Instagram and X
Ofcom cracks down on UK tech firms, will issue sanctions for illegal content
A fish hook is lying across a computer keyboard, representing a phishing attack on a computer system
These fake GitHub "security alerts" could actually let hackers hijack your account
3d rendering of a submarine power cable on the seabed
Subsea internet cables can now ‘listen’ for sabotage using irregular pulses of light
AI writer
AI innovation in business: moving beyond scale to drive real results
Dark Web monitoring
A worrying critical security flaw in Apache Tomcat could let hackers take over servers with ease
Latest in News
FCC filing for the Nothing CMF Buds 2 Plus
Nothing’s next-gen CMF cheap earbuds slated to arrive within the month, but don’t expect hi-res audio support
John Loeffler holding the Ryzen 7 7800X3D
Great news! The best gaming CPU ever made is finally available for it's original MSRP again
Garmin Instinct 3
A new Garmin study hints at the link between burning calories and happiness, and I've got good and bad news
A woman sitting in a chair looking at a Windows 11 laptop
Microsoft is supercharging Windows 11’s voice commands on Copilot+ PCs with Snapdragon CPUs, and fine-tuning a few Recall features
MacBook Air M4
Apple's rumored foldable iPad tipped to launch sooner than expected with an exciting software twist
A phone displaying the Google Messages logo
Google Messages could finally be getting this WhatsApp-style group chat feature