OS Command Injection in WAVLINK WN535K2/WN535K3 mesh.cgi Upgrade
CVE-2022-2486 is a critical OS command injection vulnerability in WAVLINK WN535K2 and WN535K3 routers. The vulnerability exists in the /cgi-bin/mesh.cgi?page=upgrade endpoint, where improper sanitization of the 'key' parameter allows an attacker to inject arbitrary operating system commands. This can be exploited remotely if the endpoint is exposed, and public exploits are available.
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 OS commands on the affected device with the privileges of the web server process. This can lead to full device compromise, enabling attackers to join the device to botnets, pivot into internal networks, or disrupt network connectivity. The vulnerability is known to be exploited in the wild, particularly by botnets targeting routers and IoT devices.
If you can’t patch tonight, do this now.
Restrict access to the web management interface to trusted networks only. Disable remote management if not required. Employ network segmentation to limit exposure of IoT and router management interfaces. Monitor for signs of compromise and anomalous outbound traffic indicative of botnet activity.
Patch, then assume compromise.
Upgrade the device firmware to a version that addresses this vulnerability, if available from the vendor. If no patch is available, consider replacing the device with a supported model. Monitor the vendor's advisories for updates.
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.