CVE-2021-33358 Command injection in n/a

High 8.8 Published Updated

An authenticated attacker can execute arbitrary OS commands via special characters in RaspAP hostapd configuration parameters.

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

What is CVE-2021-33358?

CVE-2021-33358 is a high-severity command injection vulnerability in n/a, published on 9 Jun 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Multiple vulnerabilities exist in RaspAP 2.3 to 2.6.5 in the "interface", "ssid" and "wpa_passphrase" POST parameters in /hostapd, when the parameter values contain special characters such as ";" or "$()" which enables an authenticated attacker to execute arbitrary OS commands.

Weakness: CWE-78

Which versions are affected by CVE-2021-33358?

It affects 1 product.

Products include Raspap Raspap.

How do I fix CVE-2021-33358?

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

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

Sources

Also known as GHSA-j8xc-43rr-f4pf.

Is CVE-2021-33358 in your software?

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

Check your SBOMs for free