CVE-2021-33357 Command injection in n/a
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.
Other vulnerabilities in n/a
- CVE-2022-39986 RaspAP Command Injection vulnerability
- CVE-2022-39987 RaspAP Command Injection vulnerability
- CVE-2023-30260 RaspAP raspap-webgui Command Injection vulnerability
- CVE-2021-38556 Command Injection in RaspAP 2.6.6
- CVE-2021-38557 raspap-webgui in RaspAP 2.6.6 allows attackers to execute commands as root because of the insecure sudoers permissions.
Sources
Also known as GHSA-mm7c-32r5-jf4j.