{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-21878","assignerOrgId":"b87402ff-ae37-4194-9dae-31abdbd6f217","state":"PUBLISHED","assignerShortName":"DIVD","dateReserved":"2024-01-02T18:30:11.174Z","datePublished":"2024-08-10T17:44:48.892Z","dateUpdated":"2025-03-11T13:38:31.973Z"},"containers":{"cna":{"affected":[{"defaultStatus":"affected","product":"Envoy","vendor":"Enphase","versions":[{"lessThan":"8.2.4225","status":"affected","version":"8.x","versionType":"semver"},{"status":"affected","version":"7.x","versionType":"semver"},{"status":"affected","version":"6.x","versionType":"semver"},{"status":"affected","version":"5.x","versionType":"semver"},{"status":"affected","version":"4.x","versionType":"semver"}]}],"credits":[{"lang":"en","type":"finder","value":"Wietse Boonstra (DIVD)"},{"lang":"en","type":"finder","value":"Hidde Smit (DIVD)"},{"lang":"en","type":"analyst","value":"Frank Breedijk (DIVD)"},{"lang":"en","type":"analyst","value":"Max van der Horst (DIVD)"}],"datePublic":"2024-08-10T17:00:00.000Z","descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"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.<p>This issue affects Envoy: from 4.x up to and including 8.x and is currently unpatched.</p>"}],"value":"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."}],"impacts":[{"capecId":"CAPEC-88","descriptions":[{"lang":"en","value":"CAPEC-88 OS Command Injection"}]}],"metrics":[{"cvssV4_0":{"Automatable":"YES","Recovery":"IRRECOVERABLE","Safety":"PRESENT","attackComplexity":"HIGH","attackRequirements":"NONE","attackVector":"LOCAL","baseScore":7.1,"baseSeverity":"HIGH","privilegesRequired":"HIGH","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"LOW","subConfidentialityImpact":"LOW","subIntegrityImpact":"LOW","userInteraction":"NONE","valueDensity":"CONCENTRATED","vectorString":"CVSS:4.0/AV:L/AC:H/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:L/S:P/AU:Y/R:I/V:C/RE:H","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnerabilityResponseEffort":"HIGH"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]},{"cvssV4_0":{"Automatable":"YES","Recovery":"IRRECOVERABLE","Safety":"PRESENT","attackComplexity":"HIGH","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":9.2,"baseSeverity":"CRITICAL","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"LOW","subConfidentialityImpact":"LOW","subIntegrityImpact":"LOW","userInteraction":"NONE","valueDensity":"CONCENTRATED","vectorString":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:L/S:P/AU:Y/R:I/V:C/RE:H","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnerabilityResponseEffort":"HIGH"},"format":"CVSS","scenarios":[{"lang":"en","value":"Chain of CVE-2024-21876, CVE-2024-21877 and CVE-2024-21878"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-77","description":"CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection')","lang":"en","type":"CWE"}]}],"providerMetadata":{"orgId":"b87402ff-ae37-4194-9dae-31abdbd6f217","shortName":"DIVD","dateUpdated":"2025-03-11T13:38:31.973Z"},"references":[{"tags":["third-party-advisory"],"url":"https://csirt.divd.nl/CVE-2024-21878"},{"tags":["related"],"url":"https://csirt.divd.nl/DIVD-2024-00011"},{"tags":["vendor-advisory"],"url":"https://enphase.com/cybersecurity/advisories/ensa-2024-3"}],"solutions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"Devices are remotely being updated by the vendor."}],"value":"Devices are remotely being updated by the vendor."}],"source":{"advisory":"DIVD-2024-00011","discovery":"INTERNAL"},"title":"Command Injection through Unsafe File Name Evaluation in internal script in Enphase IQ Gateway v4.x to and including 8.x","workarounds":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"It is adviced to not expose this device to untrusted network acces. In other words, make sure this decvice is not reachable from the internet, a guest network or a public network.<br>This will ensure that the likelihood of any attacks that can get access to the OS and thus abuse this vulnerability is reduced."}],"value":"It is adviced to not expose this device to untrusted network acces. In other words, make sure this decvice is not reachable from the internet, a guest network or a public network.\nThis will ensure that the likelihood of any attacks that can get access to the OS and thus abuse this vulnerability is reduced."}],"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"affected":[{"vendor":"enphase","product":"envoy","cpes":["cpe:2.3:h:enphase:envoy:*:*:*:*:*:*:*:*"],"defaultStatus":"unknown","versions":[{"version":"4.0","status":"affected","lessThan":"8.2.4225","versionType":"semver"}]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-08-12T14:27:02.414547Z","id":"CVE-2024-21878","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-08-12T14:30:47.907Z"}}]}}