CVE-2024-21877 Insecure File Generation Based on User Input in Enphase IQ Gateway version 4.x to 8.x and < 8.2.4225

High 8.6 Published Updated

Authenticated attackers can manipulate files via path traversal in the Enphase IQ Gateway, requiring an upgrade to secure the system.

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-2024-21877?

CVE-2024-21877 is a high-severity path traversal vulnerability in Enphase Envoy, published on 10 Aug 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability through a url parameter in Enphase IQ Gateway (formerly known as Envoy) allows File Manipulation. The endpoint requires authentication.This issue affects Envoy: from 4.x to 8.0 and < 8.2.4225.

Weakness: CWE-22

Which versions are affected by CVE-2024-21877?

It affects 1 product.

Products include Enphase Iq Gateway Firmware.

How do I fix CVE-2024-21877?

No fix has been published for CVE-2024-21877 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2024-21877 being exploited?

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

Sources

Also known as GHSA-w96m-rw5m-pf44.

Is CVE-2024-21877 in your software?

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

Check your SBOMs for free