CyberSecBulletin
CVE-2023-42797NVD status: Modified

CP-8031 MASTER MODULE: Use of Uninitialized Resource

CVE-2023-42797 is a high-severity use of uninitialized resource vulnerability in CP-8031 MASTER MODULE from Siemens, with a CVSS 3.1 base score of 7.2 out of 10. It can be exploited remotely over the network by an attacker with administrator privileges, without any action from a user. Affected CP-8031 MASTER MODULE versions: All versions < CPCI85 V05.20. The record does not name a fixed version, so check the vendor advisory. There is no confirmed exploitation so far. EPSS estimates a 0.55% 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 Sicam A8000 Cp-8050 Firmware to 05.20 or a later version.
  2. Update Sicam A8000 Cp-8031 Firmware to 05.20 or a later version.
  3. Read the advisory on cert-portal.siemens.com for workarounds and exact fixed builds.

Affected products and versions

VendorProductAffected versionsFixed in
SiemensCP-8031 MASTER MODULEAll versions < CPCI85 V05.20Not stated
SiemensCP-8050 MASTER MODULEAll versions < CPCI85 V05.20Not stated
SiemensSicam A8000 Cp-8050 Firmwarebefore 05.2005.20
SiemensSicam A8000 Cp-8031 Firmwarebefore 05.2005.20

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
HighAdministrator-level access is required first.
User interaction
NoneNo action by a victim is required.
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:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H. Scored by NVD.

Scoring systemScoreSeverityScored by
CVSS 3.16.6MediumCNA (siemens.com)
CVSS 3.17.2HighNVD

Official description

A vulnerability has been identified in CP-8031 MASTER MODULE (All versions < CPCI85 V05.20), CP-8050 MASTER MODULE (All versions < CPCI85 V05.20). The network configuration service of affected devices contains a flaw in the conversion of ipv4 addresses that could lead to an uninitialized variable being used in succeeding validation steps. By uploading specially crafted network configuration, an authenticated remote attacker could be able to inject commands that are executed on the device with root privileges during device startup.

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

The underlying weakness: Use of Uninitialized Resource

The product uses or accesses a resource that has not been initialized.

How developers prevent this class of flaw

  • Explicitly initialize the resource before use. If this is performed through an API function or standard procedure, follow all required steps.
  • Pay close attention to complex conditionals that affect initialization, since some branches might not perform the initialization.
  • Avoid race conditions (CWE-362) during initialization routines.

More Use of Uninitialized Resource vulnerabilities (CWE-908)

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 CP-8031 MASTER MODULE

All CP-8031 MASTER MODULE vulnerabilities

Recent Use of Uninitialized Resource vulnerabilities

Spotted an error? Tell us.