CVE-2022-2487 WAVLINK WN535K2/WN535K3 nightled.cgi os command injection

High 8.0 Published Updated

Attackers can execute arbitrary OS commands via the start_hour argument in nightled.cgi on WAVLINK WN535K2/K3 routers.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-2487?

CVE-2022-2487 is a high-severity command injection vulnerability in WAVLINK WN535K2, published on 20 Jul 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A vulnerability has been found in WAVLINK WN535K2 and WN535K3 and classified as critical. This vulnerability affects unknown code of the file /cgi-bin/nightled.cgi. The manipulation of the argument start_hour leads to os command injection. The exploit has been disclosed to the public and may be used.

Weakness: CWE-78

Which versions are affected by CVE-2022-2487?

It affects 2 products.

Products include Wavlink Wl-Wn535k2 Firmware, Wavlink Wl-Wn535k3 Firmware.

How do I fix CVE-2022-2487?

No fix has been published for CVE-2022-2487 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2022-2487 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-2487 exists.

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-gv4v-6v97-75hc.

Is CVE-2022-2487 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free