1. Archivio CVE
  2. 2016
  3. CVE-2016-3081

CVE-2016-3081

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

Descrizione

Apache Struts 2.3.19 to 2.3.20.2, 2.3.21 to 2.3.24.1, and 2.3.25 to 2.3.28, when Dynamic Method Invocation is enabled, allow remote attackers to execute arbitrary code via method: prefix, related to chained expressions.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
apache struts >= 2.3.20 < 2.3.20.3 –
apache struts >= 2.3.21 < 2.3.24.3 –
apache struts >= 2.3.25 < 2.3.28.1 –
huawei agile controller-campus firmware v100r002c00 –
huawei anyoffice v200r005c00 –
huawei anyoffice v200r006c00 –
huawei firehunter6000 firmware v100r001c20 –
huawei logcenter v100r001c10 –
huawei logcenter v100r001c20 –
huawei oceanstor 18500 v3 firmware v300r001 –
huawei oceanstor 18500 v3 firmware v300r002 –
huawei oceanstor 18500 v3 firmware v300r003c00 –
huawei oceanstor 18500 v3 firmware v300r003c10 –
huawei oceanstor 18500f firmware v300r001 –
huawei oceanstor 18500f firmware v300r002 –
huawei oceanstor 18500f firmware v300r003c00 –
huawei oceanstor 18500f firmware v300r003c10 –
huawei oceanstor 18800 v3 firmware v300r001 –
huawei oceanstor 18800 v3 firmware v300r002 –
huawei oceanstor 18800 v3 firmware v300r003c00 –
huawei oceanstor 18800 v3 firmware v300r003c10 –
huawei oceanstor 18800f firmware v300r001 –
huawei oceanstor 18800f firmware v300r002 –
huawei oceanstor 18800f firmware v300r003c00 –
huawei oceanstor 18800f firmware v300r003c10 –
huawei oceanstor 5300 v3 firmware v300r001 –
huawei oceanstor 5300 v3 firmware v300r002 –
huawei oceanstor 5300 v3 firmware v300r003c00 –
huawei oceanstor 5300 v3 firmware v300r003c10 –
huawei oceanstor 5500 v3 firmware v300r001 –
huawei oceanstor 5500 v3 firmware v300r002 –
huawei oceanstor 5500 v3 firmware v300r003c00 –
huawei oceanstor 5500 v3 firmware v300r003c10 –
huawei oceanstor 5600 v3 firmware v300r001 –
huawei oceanstor 5600 v3 firmware v300r002 –
huawei oceanstor 5600 v3 firmware v300r003c00 –
huawei oceanstor 5600 v3 firmware v300r003c10 –
huawei oceanstor 5800 v3 firmware v300r001 –
huawei oceanstor 5800 v3 firmware v300r002 –
huawei oceanstor 5800 v3 firmware v300r003c00 –
huawei oceanstor 5800 v3 firmware v300r003c10 –
huawei oceanstor 6800 v3 firmware v300r001 –
huawei oceanstor 6800 v3 firmware v300r002 –
huawei oceanstor 6800 v3 firmware v300r003c00 –
huawei oceanstor 6800 v3 firmware v300r003c10 –
huawei oceanstor 9000 firmware v100r001c01 –
huawei oceanstor 9000 firmware v100r001c30 –
huawei oceanstor 9000 firmware v300r005c00 –
huawei oceanstor n8500 firmware v200r001c09spc505 –
huawei oceanstor n8500 firmware v200r001c91spc205 –
huawei oceanstor n8500 firmware v200r001c91spc900 –
huawei oceanstor n8500 firmware v200r001c91spc901 –
huawei oceanstor onebox firmware v100r003c10 –
oracle flexcube private banking 2.0.0.0 –
oracle flexcube private banking 2.0.1 –
oracle flexcube private banking 2.2.0 –
oracle flexcube private banking 12.0.1 –
oracle flexcube private banking 12.0.3 –
oracle flexcube private banking 12.1.0 –
oracle micros retail xbri loss prevention 10.0.1 –
oracle micros retail xbri loss prevention 10.5.0 –
oracle micros retail xbri loss prevention 10.6.0 –
oracle micros retail xbri loss prevention 10.7.0 –
oracle micros retail xbri loss prevention 10.8.0 –
oracle micros retail xbri loss prevention 10.8.1 –
oracle siebel e-billing 7.1 –
Tutte le 99 vulnerabilità di Apache Struts

Tipo di vulnerabilità

CWE-77 Command injection: elementi speciali non neutralizzati in un comando

Il prodotto costruisce in tutto o in parte un comando con dati provenienti dall’esterno, senza neutralizzare gli elementi speciali che possono modificarlo prima che venga eseguito.

Impatto sui sistemi

AmbitoImpatto
Integrità, Riservatezza, Disponibilità Eseguire codice o comandi non autorizzati

Come si previene

Architettura e progettazione Se possibile, usa chiamate a librerie invece di processi esterni per ottenere la funzione desiderata.
Sviluppo If possible, ensure that all external commands called from the program are statically created.
Sviluppo · Validazione dell’input Considera ogni input come potenzialmente malevolo. Adotta una validazione per «elenco di valori ammessi»: accetta solo gli input che rispettano rigorosamente le specifiche e rifiuta, o trasforma in qualcosa di conforme, tutto il resto. Nel validare considera tutte le proprietà rilevanti: lunghezza, tipo, intervallo dei valori ammessi, input mancanti o in più, sintassi, coerenza tra campi collegati e rispetto delle regole di business (per esempio «barca» è sintatticamente valido perché contiene solo lettere, ma non lo è se il campo deve contenere solo colori come rosso o blu). Non limitarti a cercare input malevoli o malformati: quasi certamente ne sfuggirà qualcuno, soprattutto se l’ambiente del codice cambia, lasciando all’attaccante lo spazio per aggirare la validazione. Le liste di valori vietati restano utili per rilevare possibili attacchi o scartare subito gli input più malformati.
Esercizio Run time: Run time policy enforcement may be used in an allowlist fashion to prevent use of any non-sanctioned commands.
Configurazione del sistema Assign permissions that prevent the user from accessing/opening privileged files.

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

Tutte le 3.384 CVE di tipo CWE-77, con andamento e prevenzione

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