Command Injection in TOTOLink A950RG Main Function
A command injection vulnerability exists in TOTOLink A950RG firmware versions V5.9c.4050_B20190424 and V4.1.2cu.5204_B20210112, specifically in the 'Main' function. The vulnerability allows remote attackers to execute arbitrary OS commands via the QUERY_STRING parameter, due to insufficient sanitization of user-supplied input before it is passed to a system shell.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows remote attackers to execute arbitrary commands on the device with the privileges of the web server process, potentially leading to full device compromise, persistent access, and the device's inclusion in botnets. This vulnerability is known to be exploited in the wild, often for initial access to routers and IoT devices, and is associated with botnet activity.
If you can’t patch tonight, do this now.
Restrict network access to the device's management interface, use strong authentication, and monitor for signs of compromise. Employ network segmentation to limit exposure and consider disabling remote management features if not required.
Patch, then assume compromise.
Upgrade the TOTOLink A950RG firmware to a version that addresses this vulnerability. If no patched firmware is available, contact the vendor for support or consider replacing the device with a supported model.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.