RCE in NETGEAR ReadyNAS Surveillance upgrade_handle.php
A remote command execution vulnerability exists in NETGEAR ReadyNAS Surveillance before 1.4.3-17 (x86) and before 1.1.4-7 (ARM). The vulnerability is due to the lack of escaping of the $_GET['uploaddir'] parameter, which is passed directly to the system() function via the $tmp_upload_dir variable in upgrade_handle.php. This allows an attacker to execute arbitrary commands on the device by supplying crafted input to the uploaddir parameter.
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 system commands with the privileges of the web server process, potentially leading to full compromise of the affected device, data exfiltration, or use of the device as a pivot point for further attacks.
If you can’t patch tonight, do this now.
If immediate upgrade is not possible, restrict access to the web interface to trusted networks, use network segmentation, and monitor for suspicious activity. Consider disabling the vulnerable functionality if not required.
Patch, then assume compromise.
Upgrade NETGEAR ReadyNAS Surveillance to version 1.4.3-17 (x86) or 1.1.4-7 (ARM) or later, where the input validation and escaping issues have been addressed.
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.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.