CVE-2022-4221 OS command injection in ASUS M25 NAS

Critical 9.8 Published Updated

Unauthenticated attackers can execute arbitrary OS commands on ASUS NAS devices via unsanitized cookie values.

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-2022-4221?

CVE-2022-4221 is a critical command injection vulnerability in Asus NAS-M25, published on 1 Dec 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in Asus NAS-M25 allows an unauthenticated attacker to inject arbitrary OS commands via unsanitized cookie values.This issue affects NAS-M25: through 1.0.1.7.

Weakness: CWE-78

Which versions are affected by CVE-2022-4221?

It affects 1 product.

Products include Asus Nas-M25 Firmware.

How do I fix CVE-2022-4221?

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

There is no known exploitation of CVE-2022-4221 in the wild and no public exploit code.

Sources

Also known as GHSA-pqv9-66jx-6q5v.

Is CVE-2022-4221 in your software?

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

Check your SBOMs for free