CVE-2021-33357 Command injection in n/a

Critical 9.8 Published Updated

Unauthenticated attackers can execute arbitrary OS commands via the iface parameter in RaspAP's network configuration 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-2021-33357?

CVE-2021-33357 is a critical command injection vulnerability in n/a, published on 9 Jun 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A vulnerability exists in RaspAP 2.6 to 2.6.5 in the "iface" GET parameter in /ajax/networking/get_netcfg.php, when the "iface" parameter value contains special characters such as ";" which enables an unauthenticated attacker to execute arbitrary OS commands.

Weakness: CWE-78

Which versions are affected by CVE-2021-33357?

It affects 1 product.

Products include Raspap Raspap.

How do I fix CVE-2021-33357?

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

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

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-mm7c-32r5-jf4j.

Is CVE-2021-33357 in your software?

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

Check your SBOMs for free