CyberSecBulletin
CVE-2023-32736NVD status: Deferred

SIMATIC S7-PLCSIM V16: Deserialization of Untrusted Data

CVE-2023-32736 is a high-severity deserialization of untrusted data vulnerability in SIMATIC S7-PLCSIM V16 from Siemens, with a CVSS 3.1 base score of 7.3 out of 10. It can be exploited with local access to the system by an attacker with a low-privileged account, but only if a user takes part, for example by opening a link or file. Affected SIMATIC S7-PLCSIM V16 versions: all versions. The record does not name a fixed version, so check the vendor advisory. There is no confirmed exploitation so far. EPSS estimates a 0.22% 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 SIMATIC STEP 7 Safety V17 to V17 Update 8 or a later version.
  2. Update SIMATIC STEP 7 Safety V18 to V18 Update 5 or a later version.
  3. Update SIMATIC STEP 7 V17 to V17 Update 8 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
SiemensSIMATIC S7-PLCSIM V16all versionsNot stated
SiemensSIMATIC S7-PLCSIM V17all versionsNot stated
SiemensSIMATIC STEP 7 Safety V16all versionsNot stated
SiemensSIMATIC STEP 7 Safety V17before V17 Update 8V17 Update 8
SiemensSIMATIC STEP 7 Safety V18before V18 Update 5V18 Update 5
SiemensSIMATIC STEP 7 V16all versionsNot stated
SiemensSIMATIC STEP 7 V17before V17 Update 8V17 Update 8
SiemensSIMATIC STEP 7 V18before V18 Update 5V18 Update 5
SiemensSIMATIC WinCC Unified V16all versionsNot stated
SiemensSIMATIC WinCC Unified V17before V17 Update 8V17 Update 8
SiemensSIMATIC WinCC Unified V18before V18 SP5V18 SP5
SiemensSIMATIC WinCC V16all versionsNot stated
SiemensSIMATIC WinCC V17before V17 Update 8V17 Update 8
SiemensSIMATIC WinCC V18before V18 SP5V18 SP5
SiemensSIMOCODE ES V16all versionsNot stated
SiemensSIMOCODE ES V17before V17 Update 8V17 Update 8
SiemensSIMOCODE ES V18all versionsNot stated
SiemensSIMOTION SCOUT TIA V5.4 SP1all versionsNot stated
SiemensSIMOTION SCOUT TIA V5.4 SP3all versionsNot stated
SiemensSIMOTION SCOUT TIA V5.5 SP1all versionsNot stated
SiemensSINAMICS Startdrive V16all versionsNot stated
SiemensSINAMICS Startdrive V17all versionsNot stated
SiemensSINAMICS Startdrive V18all versionsNot stated
SiemensSIRIUS Safety ES V17 (TIA Portal)before V17 Update 8V17 Update 8
SiemensSIRIUS Safety ES V18 (TIA Portal)all versionsNot stated

Version data comes from the organisation that assigned the CVE; 14 further products are omitted here. 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
LowA basic user account is enough.
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:L/UI:R/S:U/C:H/I:H/A:H. Scored by CNA (siemens.com).

Scoring systemScoreSeverityScored by
CVSS 4.07.0HighCNA (siemens.com)
CVSS 3.17.3HighCNA (siemens.com)

Official description

A vulnerability has been identified in SIMATIC S7-PLCSIM V16 (All versions), SIMATIC S7-PLCSIM V17 (All versions), SIMATIC STEP 7 Safety V16 (All versions), SIMATIC STEP 7 Safety V17 (All versions < V17 Update 8), SIMATIC STEP 7 Safety V18 (All versions < V18 Update 5), SIMATIC STEP 7 V16 (All versions), SIMATIC STEP 7 V17 (All versions < V17 Update 8), SIMATIC STEP 7 V18 (All versions < V18 Update 5), SIMATIC WinCC Unified V16 (All versions), SIMATIC WinCC Unified V17 (All versions < V17 Update 8), SIMATIC WinCC Unified V18 (All versions < V18 SP5), SIMATIC WinCC V16 (All versions), SIMATIC WinCC V17 (All versions < V17 Update 8), SIMATIC WinCC V18 (All versions < V18 SP5), SIMOCODE ES V16 (All versions), SIMOCODE ES V17 (All versions < V17 Update 8), SIMOCODE ES V18 (All versions), SIMOTION SCOUT TIA V5.4 SP1 (All versions), SIMOTION SCOUT TIA V5.4 SP3 (All versions), SIMOTION SCOUT TIA V5.5 SP1 (All versions), SINAMICS Startdrive V16 (All versions), SINAMICS Startdrive V17 (All versions), SINAMICS Startdrive V18 (All versions), SIRIUS Safety ES V17 (TIA Portal) (All versions < V17 Update 8), SIRIUS Safety ES V18 (TIA Portal) (All versions), SIRIUS Soft Starter ES V17 (TIA Portal) (All versions < V17 Update 8), SIRIUS Soft Starter ES V18 (TIA Portal) (All versions), TIA Portal Cloud V16 (All versions), TIA Portal Cloud V17 (All versions < V4.6.0.1), TIA Portal Cloud V18 (All versions < V4.6.1.0). Affected products do not properly sanitize user-controllable input when parsing user settings. This could allow an attacker to cause a type confusion and execute arbitrary code within the affected application.

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

The underlying weakness: Deserialization of Untrusted Data

The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.

How developers prevent this class of flaw

  • If available, use the signing/sealing features of the programming language to assure that deserialized data has not been tainted. For example, a hash-based message authentication code (HMAC) could be used to ensure that data has not been modified.
  • When deserializing data, populate a new object rather than just deserializing. The result is that the data flows through safe input validation and that the functions are safe.
  • Explicitly define a final object() to prevent deserialization.

More Deserialization of Untrusted Data vulnerabilities (CWE-502)

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 SIMATIC S7-PLCSIM V16

All SIMATIC S7-PLCSIM V16 vulnerabilities

Recent Deserialization of Untrusted Data vulnerabilities

Spotted an error? Tell us.