CVE-2024-23971 ChargePoint Home Flex OCPP bswitch Command Injection
Network-adjacent attackers can execute arbitrary code as root on ChargePoint Home Flex stations via unvalidated OCPP messages.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-23971?
CVE-2024-23971 is a high-severity command injection vulnerability in ChargePoint Home Flex, published on 30 Jan 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of ChargePoint Home Flex charging stations. Authentication is not required to exploit this vulnerability.
The specific flaw exists within the handling of OCPP messages. The issue results from the lack of proper validation of a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to execute code in the context of root.
Weakness: CWE-77
Which versions are affected by CVE-2024-23971?
It affects 3 products.
Products include Chargepoint Home Flex Hardwired Firmware, Chargepoint Home Flex Nema 14-50 Plug Firmware, Chargepoint Home Flex Nema 6-50 Plug Firmware.
How do I fix CVE-2024-23971?
No fix has been published for CVE-2024-23971 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-23971 being exploited?
There is no known exploitation of CVE-2024-23971 in the wild and no public exploit code.
Other vulnerabilities in ChargePoint Home Flex
- CVE-2024-23920 ChargePoint Home Flex Improper Access Control
- CVE-2024-23921 ChargePoint Home Flex Command Injection
- CVE-2024-23968 ChargePoint Home Flex SrvrToSmSetAutoChnlListMsg Stack-based Buffer Overflow
- CVE-2024-23969 ChargePoint Home Flex wlanchnllst Out-Of-Bounds Write
- CVE-2024-23970 ChargePoint Home Flex Improper Certificate Validation
Sources
Also known as GHSA-v92x-m54x-rp94.