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

CVE-2023-2283

6.5 Gravità media CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N 6.5 – Media

Descrizione

A vulnerability was found in libssh, where the authentication check of the connecting client can be bypassed in the`pki_verify_data_signature` function in memory allocation problems. This issue may happen if there is insufficient memory or the memory usage is limited. The problem is caused by the return value `rc,` which is initialized to SSH_ERROR and later rewritten to save the return value of the function call `pki_key_check_hash_compatible.` The value of the variable is not changed between this point and the cryptographic verification. Therefore any error between them calls `goto error` returning SSH_OK.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
fedoraproject fedora 37 –
libssh libssh >= 0.9.1 <= 0.9.6 –
libssh libssh >= 0.10.0 <= 0.10.4 –
redhat enterprise linux 8.0 –
redhat enterprise linux 9.0 –
Tutte le 45 vulnerabilità di Libssh

Tipo di vulnerabilità

CWE-287 Autenticazione impropria

Quando un soggetto dichiara una certa identità, il prodotto non verifica, o verifica in modo insufficiente, che la dichiarazione sia vera.

Impatto sui sistemi

AmbitoImpatto
Integrità, Riservatezza, Disponibilità, Controllo degli accessi Leggere i dati dell’applicazione, Ottenere privilegi o assumere un’altra identità, Eseguire codice o comandi non autorizzati
Questo errore può esporre risorse o funzioni a soggetti non previsti, fornendo all’attaccante informazioni sensibili o permettendogli perfino di eseguire codice arbitrario.

Come si previene

Architettura e progettazione · Librerie o framework Usa un framework o una libreria di autenticazione, come la funzione Authentication di OWASP ESAPI.

Tutte le 5.278 CVE di tipo CWE-287, con andamento e prevenzione

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