CVE-2023-31587 Command injection in n/a

Critical 9.8 Published Updated

Attackers can execute arbitrary code on Tenda AC5 routers via the Mac parameter in the WriteFacMac endpoint.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-31587?

CVE-2023-31587 is a critical command injection vulnerability in n/a, published on 16 May 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Tenda AC5 router V15.03.06.28 was discovered to contain a remote code execution (RCE) vulnerability via the Mac parameter at ip/goform/WriteFacMac.

Which versions are affected by CVE-2023-31587?

It affects 1 product.

Products include Tenda Ac5 Firmware.

How do I fix CVE-2023-31587?

No fix has been published for CVE-2023-31587 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-2023-31587 being exploited?

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

Sources

Also known as GHSA-jppc-qcqx-cx45.

Is CVE-2023-31587 in your software?

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

Check your SBOMs for free