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.
High severity with no evidence of exploitation so far.
What to do
- Update Sicam A8000 Cp-8050 Firmware to 05.20 or a later version.
- Update Sicam A8000 Cp-8031 Firmware to 05.20 or a later version.
- Read the advisory on cert-portal.siemens.com for workarounds and exact fixed builds.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Siemens | CP-8031 MASTER MODULE | All versions < CPCI85 V05.20 | Not stated |
| Siemens | CP-8050 MASTER MODULE | All versions < CPCI85 V05.20 | Not stated |
| Siemens | Sicam A8000 Cp-8050 Firmware | before 05.20 | 05.20 |
| Siemens | Sicam A8000 Cp-8031 Firmware | before 05.20 | 05.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 system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 6.6 | Medium | CNA (siemens.com) |
| CVSS 3.1 | 7.2 | High | NVD |
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
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: total).
- Record last changed materially (score, affected products, status or references).
References
Other vulnerabilities in CP-8031 MASTER MODULE
- 8.8 High severity
- 7.8 High severity
- 7.2 High severity
- 9.8 Critical severity
Recent Use of Uninitialized Resource vulnerabilities
- 9.8 Critical severity
- 7.8 High severity
- 7.5 High severity
- 8.8 High severity
- 8.8 High severity
- 7.5 High severity
Spotted an error? Tell us.