1. Archivio CVE
  2. 2018
  3. CVE-2018-16098

CVE-2018-16098

7.8 Gravità alta CVSS v3.0 · fonte NVD CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 7.8 – Alta

Descrizione

In some Lenovo ThinkPads, an unquoted search path vulnerability was found in various versions of the Synaptics Pointing Device driver which could allow unauthorized code execution as a low privilege user.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
lenovo synaptics thinkpad ultranav driver 18.0.7.119 –
lenovo synaptics thinkpad ultranav driver 19.5.19.33 –
lenovo synaptics thinkpad ultranav driver 19.0.17.140 –
lenovo synaptics thinkpad ultranav driver 19.3.4.219 –
lenovo synaptics thinkpad ultranav driver 16.2.19.23 –
lenovo synaptics thinkpad ultranav driver 18.1.27.42 –
lenovo thiankpad l430 firmware tutte –
lenovo thiankpad l530 firmware tutte –
lenovo thiankpad p1 firmware tutte –
lenovo thiankpad p50s firmware tutte –
lenovo thiankpad p51 firmware tutte –
lenovo thiankpad p51s firmware tutte –
lenovo thiankpad p52s firmware tutte –
lenovo thiankpad p70 firmware tutte –
lenovo thiankpad s1 yoga firmware tutte –
lenovo thiankpad s430 firmware tutte –
lenovo thiankpad t420 firmware tutte –
lenovo thiankpad t420i firmware tutte –
lenovo thiankpad x1 extreme firmware tutte –
lenovo thinkpad helix firmware tutte –
lenovo thinkpad s230u firmware tutte –
lenovo thinkpad t420s firmware tutte –
lenovo thinkpad t420si firmware tutte –
lenovo thinkpad t430i firmware tutte –
lenovo thinkpad t430s firmware tutte –
lenovo thinkpad t431s firmware tutte –
lenovo thinkpad t440 firmware tutte –
lenovo thinkpad t440p firmware tutte –
lenovo thinkpad t440s firmware tutte –
lenovo thinkpad t460s firmware tutte –
lenovo thinkpad t470 firmware tutte –
lenovo thinkpad t470s firmware tutte –
lenovo thinkpad t520 firmware tutte –
lenovo thinkpad t520i firmware tutte –
lenovo thinkpad t530 firmware tutte –
lenovo thinkpad t530i firmware tutte –
lenovo thinkpad t540 firmware tutte –
lenovo thinkpad t540p firmware tutte –
lenovo thinkpad t550 firmware tutte –
lenovo thinkpad t560 firmware tutte –
lenovo thinkpad t570 firmware tutte –
lenovo thinkpad t580 firmware tutte –
lenovo thinkpad twist firmware tutte –
lenovo thinkpad w530 firmware tutte –
lenovo thinkpad w540 firmware tutte –
lenovo thinkpad w541 firmware tutte –
lenovo thinkpad w550s firmware tutte –
lenovo thinkpad x1 carbon firmware tutte –
lenovo thinkpad x1 firmware tutte –
lenovo thinkpad x1 hybrid firmware tutte –
lenovo thinkpad x1 yoga firmware tutte –
lenovo thinkpad x220 firmware tutte –
lenovo thinkpad x220 tablet firmware tutte –
lenovo thinkpad x220i firmware tutte –
lenovo thinkpad x230 firmware tutte –
lenovo thinkpad x230 tablet firmware tutte –
lenovo thinkpad x230i firmware tutte –
lenovo thinkpad x230i tablet firmware tutte –
lenovo thinkpad x230s firmware tutte –
lenovo thinkpad x240 firmware tutte –
lenovo thinkpad x240s firmware tutte –
lenovo thinkpad x250 firmware tutte –
lenovo thinkpad x280 firmware tutte –
lenovo thinkpad yoga 11e firmware tutte –

Tipo di vulnerabilità

CWE-428 Percorso di ricerca senza virgolette (unquoted path)

Il prodotto usa un percorso che contiene spazi o altri separatori senza racchiuderlo tra virgolette: il sistema può così eseguire un file collocato in una cartella superiore.

Impatto sui sistemi

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

Come si previene

Sviluppo Properly quote the full search path before executing a program on the system.
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.
Sviluppo · Validazione dell’input Inputs should be decoded and canonicalized to the application's current internal representation before being validated (CWE-180). Make sure that the application does not decode the same input twice (CWE-174). Such errors could be used to bypass allowlist validation schemes by introducing dangerous inputs after they have been checked.

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

Tutte le 447 CVE di tipo CWE-428, con andamento e prevenzione

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