You want to get an electric vehicle to help promote a more green environment, but there may be an issue with being able to charge the vehicles, researchers said.

That is because cyber attackers could disable Electric Vehicles (EV) Charge Point (CP) and cause a service disruption, by exploiting certain versions of the Open Charge Point Protocol (OCPP) that uses WebSocket communications, said experts at the SaiFlow Research Team. The attack method combines two new vulnerabilities that were found in the OCPP standard: Mishandling of multiple chargers’ connections, and weak authentication policy.

The OCPP standard doesn’t specify how to handle more than one connection simultaneously, per individual CP, SaiFlow researchers said. Cyber attackers could disrupt the original connection between the CP and the Charging System Management Service (CSMS), by opening an additional “new” connection to the CSMS, on behalf of the CP, and expose it to a variety of damages, including potential Denial of Service (DOS) attacks, data and energy theft from the Electric Vehicle Supply Equipment (EVSE) network.

Combining the mishandling of new connections with the weak OCPP authentication and chargers identities policy could lead to a vast distributed denial of service (DDoS) attack on the EVSE network.

Attack Demonstrated
The attack was recently demonstrated and tested on multiple CSMS providers. Each CSMS provider tested handled multiple connections with the same CP ID differently and most CSMS providers were found to be vulnerable to the attack, exhibiting two types of reactions:
Some CSMS providers will close the original CP connection, leaving the actual CP disconnected
Others will keep the original connection open but won’t communicate with it

Schneider Bold

Both cases are vulnerable to the Distributed Denial of Service (DDoS) attack, while the last case is the most problematic since both the CSMS nor the CP won’t notify the Charge Point Operator (CPO) that something is not working properly, the researchers said.

Moreover, during the attack, in which the connection of the attacker is connected to CSMS, sensitive and personal information is exposed to the attackers, which might allow them to further attack the CSMS or steal customers’ identities.

The new vulnerabilities were found in the OCPP 1.6J version, which is the dominant version found in the wild today. The newer OCPP version (2.0.1), which is yet to be vastly deployed, can also be vulnerable to this attack if not implemented properly with the needed authentication safeguards.

The attack method combines two vulnerabilities in the OCPP standard, including a mishandling of multiple CP connections and weak authentication policy in the OCPP standard.

Combining the vulnerabilities can end up exploited to execute a Denial of Service (DoS) on the EVSE network or perform a much larger impact and cause Distributed Denial of Service (DDoS).

Mishandling of Multiple Chargers’ Connections
The standard OCPP protocol doesn’t define the expected behavior when a CP accepts a “new” connection, while the original one is still in use, the researchers said. A CP expects to have a connection with a CSMS to allow functionalities like charging authorization, payments, discounts, billing reports, and more. If a CP isn’t able to authorize an EV to charge, the charging transaction may not be accepted and the EV won’t be able to charge. The DoS could cause financial and reputational damage to the CPO. Furthermore, in an even worst-case scenario, a company with an electric vehicle fleet that is critical for its business could be harmed or extorted for ransom by cyber attackers.

Saiflow’s research team found CSMS providers handle multiple connections in different ways, all of which were exploitable to the attack. Some CSMS providers in the market disconnect the CP WebSocket connection when a “new” connection is established.

Weak Authentication Policy in the OCPP Standard
According to the OCPP protocol standard with its security extensions of version 1.6J, CP can be authenticated by the CSMS provider using one of three methods:

  1. CP identity alone
  2. CP identity and credentials
  3. CP identity and client certificate.

Using method #1 might allow cyber attackers to hijack a connection from a valid charger point and act on its behalf.

In most cases, the CSMS providers are configured to enforce the above-mentioned weak authentication method #1.

When a CP creates an OCPP connection to the CSMS, using WebSocket channels, the CP provides its identity by using a parameter in the URL endpoint. An attacker can disrupt and attack many CP that are connected to the same CSMS by brute-forcing the CP identity and impersonating them. In addition to that, although passwords in general are advised to be changed every 30 days, the CP identifier is intended to be the same for the CP’s entire lifetime.

The Mitigation Should be Implemented Accordingly:
When a CSMS has more than one connection from a single CP, both connections should be managed by the CSMS until it determines and identifies the actual “correct” connection, by actively sending a WebSocket ping or an OCPP heartbeat request. If one of the connections is not responsive, the CSMS should eliminate it. If both connections are responsive, the operator should be able to eliminate the malicious connection directly or via a CSMS-integrated cybersecurity module.

It should be noted there are situations where a single CP might have more than one connection simultaneously as a result of cellular reception issues, power outage following a reconnection, shutting down all of the connected CP, etc.

In addition, the CPO should set a stronger security profile with at least basic authentication measures, setting a customized password and not using the default password from the factory, if provided. Enforcing this policy would make it harder for cyber attackers to exploit the above-mentioned vulnerabilities.

Looking into the future, OCPP version 2.0.1, and its security extension, will require CP credentials as the minimal obligatory security profile which might make the recommendation above redundant. However, version 2.0.1 is new and still in the early stages of adoption. We will watch for new developments in the exposure of these vulnerabilities.

Pin It on Pinterest

Share This