1. Archivio CVE
  2. 2024
  3. CVE-2024-54678

CVE-2024-54678

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

Descrizione

A vulnerability has been identified in SIMATIC PCS neo V4.1 (All versions), SIMATIC PCS neo V5.0 (All versions), SIMATIC PCS neo V6.0 (All versions < V6.0 SP1 Update 1), SIMATIC S7-PLCSIM V17 (All versions), SIMATIC STEP 7 V17 (All versions < V17 Update 9), SIMATIC STEP 7 V18 (All versions < V18 Update 6), SIMATIC STEP 7 V19 (All versions < V19 Update 4), SIMATIC STEP 7 V20 (All versions < V20 Update 4), SIMATIC WinCC V17 (All versions < V17 Update 9), SIMATIC WinCC V18 (All versions < V18 Update 6), SIMATIC WinCC V19 (All versions < V19 Update 4), SIMATIC WinCC V20 (All versions < V20 Update 4), SIMOCODE ES V17 (All versions), SIMOCODE ES V18 (All versions), SIMOCODE ES V19 (All versions), SIMOCODE ES V20 (All versions), SIMOTION SCOUT TIA V5.4 (All versions < V17 Update 9), SIMOTION SCOUT TIA V5.5 (All versions < V18 Update 6), SIMOTION SCOUT TIA V5.6 (All versions < V19 Update 4), SIMOTION SCOUT TIA V5.7 (All versions < V20 Update 4), SINAMICS Startdrive V17 (All versions), SINAMICS Startdrive V18 (All versions), SINAMICS Startdrive V19 (All versions), SINAMICS Startdrive V20 (All versions), SIRIUS Safety ES V17 (TIA Portal) (All versions), SIRIUS Safety ES V18 (TIA Portal) (All versions), SIRIUS Safety ES V19 (TIA Portal) (All versions), SIRIUS Safety ES V20 (TIA Portal) (All versions), SIRIUS Soft Starter ES V17 (TIA Portal) (All versions), SIRIUS Soft Starter ES V18 (TIA Portal) (All versions), SIRIUS Soft Starter ES V19 (TIA Portal) (All versions), SIRIUS Soft Starter ES V20 (TIA Portal) (All versions), TIA Portal Cloud V17 (All versions < V6.0.0.0), TIA Portal Cloud V18 (All versions < V6.3.0.2), TIA Portal Cloud V19 (All versions < V5.2.1.1), TIA Portal Cloud V20 (All versions < V5.2.2.2), TIA Portal Test Suite V20 (All versions < V20 Update 4). Affected products do not properly sanitize Interprocess Communication input received through a Windows Named Pipe accessible to all local users. This could allow an authenticated local attacker to cause a type confusion and execute arbitrary code within the affected application.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
siemens simatic pcs neo v4.1 < * –
siemens simatic pcs neo v5.0 < * –
siemens simatic pcs neo v6.0 < V6.0 SP1 Update 1 –
siemens simatic s7-plcsim v17 < * –
siemens simatic step 7 v17 < V17 Update 9 –
siemens simatic step 7 v18 < V18 Update 6 –
siemens simatic step 7 v19 < V19 Update 4 –
siemens simatic step 7 v20 < V20 Update 4 –
siemens simatic wincc v17 < V17 Update 9 –
siemens simatic wincc v18 < V18 Update 6 –
siemens simatic wincc v19 < V19 Update 4 –
siemens simatic wincc v20 < V20 Update 4 –
siemens simocode es v17 < * –
siemens simocode es v18 < * –
siemens simocode es v19 < * –
siemens simocode es v20 < * –
siemens simotion scout tia v5.4 < V17 Update 9 –
siemens simotion scout tia v5.5 < V18 Update 6 –
siemens simotion scout tia v5.6 < V19 Update 4 –
siemens simotion scout tia v5.7 < V20 Update 4 –
siemens sinamics startdrive v17 < * –
siemens sinamics startdrive v18 < * –
siemens sinamics startdrive v19 < * –
siemens sinamics startdrive v20 < * –
siemens sirius safety es v17 (tia portal) < * –
siemens sirius safety es v18 (tia portal) < * –
siemens sirius safety es v19 (tia portal) < * –
siemens sirius safety es v20 (tia portal) < * –
siemens sirius soft starter es v17 (tia portal) < * –
siemens sirius soft starter es v18 (tia portal) < * –
siemens sirius soft starter es v19 (tia portal) < * –
siemens sirius soft starter es v20 (tia portal) < * –
siemens tia portal cloud v17 < V6.0.0.0 –
siemens tia portal cloud v18 < V6.3.0.2 –
siemens tia portal cloud v19 < V5.2.1.1 –
siemens tia portal cloud v20 < V5.2.2.2 –
siemens tia portal test suite v20 < V20 Update 4 –

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.559 CVE di tipo CWE-502, con andamento e prevenzione

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