CVE-2024-21878 Command injection in Envoy
Attackers can execute arbitrary OS commands via unsafe file name evaluation in an internal script of the Enphase IQ Gateway.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-21878?
CVE-2024-21878 is a high-severity command injection vulnerability in Enphase Envoy, published on 10 Aug 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Improper Neutralization of Special Elements used in a Command ('Command Injection') vulnerability in Enphase IQ Gateway (formerly known as Envoy) allows OS Command Injection. This vulnerability is present in an internal script.This issue affects Envoy: from 4.x up to and including 8.x and is currently unpatched.
Which versions are affected by CVE-2024-21878?
It affects 1 product.
Products include Enphase Iq Gateway Firmware.
How do I fix CVE-2024-21878?
No fix has been published for CVE-2024-21878 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-2024-21878 being exploited?
There is no known exploitation of CVE-2024-21878 in the wild and no public exploit code.
Other vulnerabilities in Enphase Envoy
- CVE-2024-21876 Unauthenticated Path Traversal via URL Parameter in Enphase IQ Gateway version < 8.2.4225
- CVE-2024-21879 Command injection in Envoy
- CVE-2024-21877 Insecure File Generation Based on User Input in Enphase IQ Gateway version 4.x to 8.x and < 8.2.4225
- CVE-2024-21880 Command injection in Envoy
Sources
Also known as GHSA-hch6-3cq4-hjhm.