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

CVE-2018-19441

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

Descrizione

An issue was discovered in Neato Botvac Connected 2.2.0. The GenerateRobotPassword function of the NeatoCrypto library generates insufficiently random numbers for robot secret_key values used for local and cloud authentication/authorization. If an attacker knows the serial number and is able to estimate the time of first provisioning of a robot, he is able to brute force the generated secret_key of the robot. This is because the entropy of the secret_key exclusively relies on these two values, due to not seeding the random generator and using several constant inputs for secret_key computation. Serial numbers are printed on the packaging and equal the MAC address of the robot.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
neatorobotics botvac connected firmware 2.2.0 –

Tipo di vulnerabilità

CWE-330 Valori non sufficientemente casuali

Il prodotto usa numeri o valori poco casuali in un contesto di sicurezza che richiede valori imprevedibili (token, password, chiavi).

Impatto sui sistemi

AmbitoImpatto
Riservatezza, Altro Altro
Controllo degli accessi, Altro Aggirare i meccanismi di protezione, Altro
Controllo degli accessi Aggirare i meccanismi di protezione, Ottenere privilegi o assumere un’altra identità

Come si previene

Architettura e progettazione Use a well-vetted algorithm that is currently considered to be strong by experts in the field, and select well-tested implementations with adequate length seeds. In general, if a pseudo-random number generator is not advertised as being cryptographically secure, then it is probably a statistical PRNG and should not be used in security-sensitive contexts. Pseudo-random number generators can produce predictable numbers if the generator is known and the seed can be guessed. A 256-bit seed is a good starting point for producing a random enough number.
Sviluppo Consider a PRNG that re-seeds itself as needed from high quality pseudo-random output sources, such as hardware devices.
Architettura e progettazione · Requisiti · Librerie o framework Use products or modules that conform to FIPS 140-2 to avoid obvious entropy problems. Consult FIPS 140-2 Annex C (Approved Random Number Generators).

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

Tutte le 389 CVE di tipo CWE-330, con andamento e prevenzione

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