CyberSecBulletin
CVE-2024-31484NVD status: Deferred

CPC80 Central Processing/Communication: Improper Null Termination

CVE-2024-31484 is a high-severity improper null termination vulnerability in CPC80 Central Processing/Communication from Siemens, with a CVSS 3.1 base score of 7.8 out of 10. It can be exploited with local access to the system by an unauthenticated attacker, but only if a user takes part, for example by opening a link or file. The record lists versions V16.41, 16.41 as the first without the flaw, so updating CPC80 Central Processing/Communication to one of those releases or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 0.47% chance of exploitation within 30 days, which is low compared with other CVEs.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Update CPC80 Central Processing/Communication to V16.41 or 16.41, whichever matches your release line, or a later version.
  2. Update CPCI85 Central Processing/Communication to V5.30 or 5.30, whichever matches your release line, or a later version.
  3. Update CPCX26 Central Processing/Communication to V06.02 or a later version.
  4. Because the attack needs a user to take part, warn users about unexpected links and files related to this product until it is patched.

Affected products and versions

VendorProductAffected versionsFixed in
SiemensCPC80 Central Processing/Communicationbefore V16.41; before 16.41V16.41, 16.41
SiemensCPCI85 Central Processing/Communicationbefore V5.30; before 5.30V5.30, 5.30
SiemensCPCX26 Central Processing/Communicationbefore V06.02V06.02
SiemensETA4 Ethernet Interface IEC60870-5-104before V10.46V10.46
SiemensETA5 Ethernet Int. 1x100TX IEC61850 Ed.2before V03.27V03.27
SiemensPCCX26 Ax 1703 PE, Contr, Communication Elementbefore V06.05V06.05

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
LocalThe attacker needs local access or must trick a user into running something.
Attack complexity
LowNo special conditions are needed; the attack works reliably.
Privileges required
NoneNo account or login is needed.
User interaction
RequiredA user must take an action such as opening a file or link.
Scope
UnchangedImpact stays within the vulnerable component.
Confidentiality
HighAll data handled by the component can be read.
Integrity
HighData or code can be modified at will.
Availability
HighThe component can be taken down completely.

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

Scoring systemScoreSeverityScored by
CVSS 4.07.3HighCNA (siemens.com)
CVSS 3.17.8HighCNA (siemens.com)

Official description

A vulnerability has been identified in CPC80 Central Processing/Communication (All versions < V16.41), CPCI85 Central Processing/Communication (All versions < V5.30), CPCX26 Central Processing/Communication (All versions < V06.02), ETA4 Ethernet Interface IEC60870-5-104 (All versions < V10.46), ETA5 Ethernet Int. 1x100TX IEC61850 Ed.2 (All versions < V03.27), PCCX26 Ax 1703 PE, Contr, Communication Element (All versions < V06.05). The affected devices contain an improper null termination vulnerability while parsing a specific HTTP header. This could allow an attacker to execute code in the context of the current process or lead to denial of service condition.

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

The underlying weakness: Improper Null Termination

The product does not terminate or incorrectly terminates a string or array with a null character or equivalent terminator.

How developers prevent this class of flaw

  • Use a language that is not susceptible to these issues. However, be careful of null byte interaction errors (CWE-626) with lower-level constructs that may be written in a language that is susceptible.
  • Ensure that all string functions used are understood fully as to how they append null characters. Also, be wary of off-by-one errors when appending nulls to the end of strings.
  • If performance constraints permit, special code can be added that validates null-termination of string buffers, this is a rather naive and error-prone solution.

More Improper Null Termination vulnerabilities (CWE-170)

Timeline

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

References

Other vulnerabilities in CPC80 Central Processing/Communication

All CPC80 Central Processing/Communication vulnerabilities

Recent Improper Null Termination vulnerabilities

Spotted an error? Tell us.