CyberSecBulletin
CVE-2024-39590NVD status: Modified

OpenPLC_v3: Incorrect Type Conversion or Cast

CVE-2024-39590 is a high-severity incorrect type conversion or cast vulnerability in OpenPLC_v3 from OpenPLC, with a CVSS 3.1 base score of 7.5 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. Affected OpenPLC_v3 versions: 16bf8bac1a36d95b73e7b8722d0edb8b9c5bb56a. The record does not name a fixed version, so check the vendor advisory. There is no confirmed exploitation so far. EPSS estimates a 1.02% chance of exploitation within 30 days, higher than 64% of scored CVEs.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Check which version of OpenPLC_v3 you run against the affected versions below, and install the vendor's latest release.
  2. Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.

Affected products and versions

VendorProductAffected versionsFixed in
OpenPLCOpenPLC_v316bf8bac1a36d95b73e7b8722d0edb8b9c5bb56aNot stated
Openplcprojectopenplc_v316bf8bac1a36d95b73e7b8722d0edb8b9c5bb56aNot stated
OpenplcprojectOpenplc V3 Firmware2024-05-28Not stated

Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.

How the severity score breaks down

Attack vector
NetworkCan be exploited remotely over a network, including the internet.
Attack complexity
LowNo special conditions are needed; the attack works reliably.
Privileges required
NoneNo account or login is needed.
User interaction
NoneNo action by a victim is required.
Scope
UnchangedImpact stays within the vulnerable component.
Confidentiality
NoneNo data is disclosed.
Integrity
NoneNothing can be modified.
Availability
HighThe component can be taken down completely.

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. Scored by CNA (cisco.com).

Official description

Multiple invalid pointer dereference vulnerabilities exist in the OpenPLC Runtime EtherNet/IP parser functionality of OpenPLC_v3 16bf8bac1a36d95b73e7b8722d0edb8b9c5bb56a. A specially crafted EtherNet/IP request can lead to denial of service. An attacker can send a series of EtherNet/IP requests to trigger these vulnerabilities.This instance of the vulnerability occurs within the `Protected_Logical_Write_Reply` function

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: Incorrect Type Conversion or Cast

The product does not correctly convert an object, resource, or structure from one type to a different type.

More Incorrect Type Conversion or Cast vulnerabilities (CWE-704)

Timeline

  1. CVE record published.
  2. CISA published its SSVC assessment (exploitation: poc, automatable: yes, technical impact: partial).
  3. Record last changed materially (score, affected products, status or references).

References

Technical write-ups (may include proof of concept)

Other vulnerabilities in OpenPLC_v3

All OpenPLC_v3 vulnerabilities

Recent Incorrect Type Conversion or Cast vulnerabilities

Spotted an error? Tell us.