{"id":"CVE-2024-21878","published":"2024-08-10T17:44:48Z","modified":"2025-03-11T13:38:31Z","title":"Command Injection through Unsafe File Name Evaluation in internal script in Enphase IQ Gateway v4.x to and including 8.x","vendor":"Enphase","product":"Envoy","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02013,"percentile":0.81514,"provenance":"source"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"references":[{"url":"https://csirt.divd.nl/CVE-2024-21878","tags":["third-party-advisory"]},{"url":"https://csirt.divd.nl/DIVD-2024-00011","tags":["related"]},{"url":"https://enphase.com/cybersecurity/advisories/ensa-2024-3","tags":["vendor-advisory"]}],"priority":{"score":21.3,"factors":[{"name":"EPSS percentile","points":16.3},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"enphase","affectedVersions":[{"vendor":"Enphase","product":"Envoy","versions":[">= 8.x, < 8.2.4225","7.x","6.x","5.x","4.x"]}],"solutions":{"items":["Devices are remotely being updated by the vendor."],"from":"CVE.org CNA","provenance":"source"},"workarounds":{"items":["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. This will ensure that the likelihood of any attacks that can get access to the OS and thus abuse this vulnerability is reduced."],"from":"CVE.org CNA","provenance":"source"},"capec":[{"id":"CAPEC-88","name":"OS Command Injection"}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2024-08-12T14:27:02.414547Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-19489","exploited":false,"provenance":"source"}}