1. Archivio CVE
  2. 2023
  3. CVE-2023-32736

CVE-2023-32736

7.3 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H 7.3 – Alta

Descrizione

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.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
siemens simatic s7-plcsim v16 < * –
siemens simatic s7-plcsim v17 < * –
siemens simatic step 7 safety v16 < * –
siemens simatic step 7 safety v17 < V17 Update 8 –
siemens simatic step 7 safety v18 < V18 Update 5 –
siemens simatic step 7 v16 < * –
siemens simatic step 7 v17 < V17 Update 8 –
siemens simatic step 7 v18 < V18 Update 5 –
siemens simatic wincc unified v16 < * –
siemens simatic wincc unified v17 < V17 Update 8 –
siemens simatic wincc unified v18 < V18 SP5 –
siemens simatic wincc v16 < * –
siemens simatic wincc v17 < V17 Update 8 –
siemens simatic wincc v18 < V18 SP5 –
siemens simocode es v16 < * –
siemens simocode es v17 < V17 Update 8 –
siemens simocode es v18 < * –
siemens simotion scout tia v5.4 sp1 < * –
siemens simotion scout tia v5.4 sp3 < * –
siemens simotion scout tia v5.5 sp1 < * –
siemens sinamics startdrive v16 < * –
siemens sinamics startdrive v17 < * –
siemens sinamics startdrive v18 < * –
siemens sirius safety es v17 (tia portal) < V17 Update 8 –
siemens sirius safety es v18 (tia portal) < * –
siemens sirius soft starter es v17 (tia portal) < V17 Update 8 –
siemens sirius soft starter es v18 (tia portal) < * –
siemens tia portal cloud v16 < * –
siemens tia portal cloud v17 < V4.6.0.1 –
siemens tia portal cloud v18 < V4.6.1.0 –

Tipo di vulnerabilità

CWE-502 Deserializzazione di dati non attendibili

Il prodotto deserializza dati di provenienza non attendibile senza verificare a sufficienza che il risultato sia valido; spesso questo permette di eseguire codice.

Impatto sui sistemi

AmbitoImpatto
Integrità Modificare i dati dell’applicazione, Stato imprevisto
Disponibilità Interruzione del servizio: esaurimento della CPU
Altro Dipende dal contesto

Come si previene

Architettura e progettazione · Sviluppo 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.
Sviluppo 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.
Sviluppo Explicitly define a final object() to prevent deserialization.
Architettura e progettazione · Sviluppo Make fields transient to protect them from deserialization. An attempt to serialize and then deserialize a class containing transient fields will result in NULLs where the transient data should be. This is an excellent way to prevent time, environment-based, or sensitive variables from being carried over and used improperly.
Sviluppo Avoid having unnecessary types or gadgets (a sequence of instances and method invocations that can self-execute during the deserialization process, often found in libraries) available that can be leveraged for malicious ends. This limits the potential for unintended or unauthorized types and gadgets to be leveraged by the attacker. Add only acceptable classes to an allowlist. Note: new gadgets are constantly being discovered, so this alone is not a sufficient mitigation.
Architettura e progettazione · Sviluppo Employ cryptography of the data or code for protection. However, it's important to note that it would still be client-side security. This is risky because if the client is compromised then the security implemented on the client (the cryptography) can be bypassed.
Esercizio · Firewall Usa un firewall applicativo (WAF) in grado di rilevare attacchi contro questo tipo di vulnerabilità. È utile quando il codice non può essere corretto (perché controllato da terzi), come misura d’emergenza in attesa di interventi più completi, o come difesa aggiuntiva.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 3.544 CVE di tipo CWE-502, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org