OS Command Injection in WAVLINK WN535K2/WN535K3 nightled.cgi
CVE-2022-2487 is a critical OS command injection vulnerability in WAVLINK WN535K2 and WN535K3 routers. The vulnerability exists in the /cgi-bin/nightled.cgi script, where the 'start_hour' parameter is not properly sanitized, allowing attackers to inject arbitrary OS commands.
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 use in botnets or further network attacks.
If you can’t patch tonight, do this now.
Restrict network access to the device's web interface, disable remote management if not needed, and use network segmentation to limit exposure. Employ web application firewalls or intrusion prevention systems to detect and block malicious requests targeting the vulnerable CGI script.
Patch, then assume compromise.
Upgrade to a firmware version that addresses this vulnerability, if available. If no patch 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.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.