1. Archivio CVE
  2. 2017
  3. CVE-2017-9389

CVE-2017-9389

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

Descrizione

An issue was discovered on Vera VeraEdge 1.7.19 and Veralite 1.7.481 devices. The device provides a web user interface that allows a user to manage the device. As a part of the functionality the device allows a user to install applications written in the Lua programming language. Also the interface allows any user to write his/her application in the Lua language. However, this functionality is not protected by authentication and this allows an attacker to run arbitrary Lua code on the device. The POST request is forwarded to LuaUPNP daemon on the device. This binary handles the received Lua code in the function "LU::JobHandler_LuaUPnP::RunLua(LU::JobHandler_LuaUPnP *__hidden this, LU::UPnPActionWrapper *)". The value in the "code" parameter is then passed to the function "LU::LuaInterface::RunCode(char const*)" which actually loads the Lua engine and runs the code.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
getvera veraedge firmware <= 1.7.19 –
getvera veralite firmware <= 1.7.481 –
Tutte le 12 vulnerabilità di Getvera Veraedge Firmware

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

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