1. Archivio CVE
  2. 2021
  3. CVE-2021-4259

CVE-2021-4259

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

Descrizione

A vulnerability was found in phpRedisAdmin up to 1.16.1. It has been classified as problematic. This affects the function authHttpDigest of the file includes/login.inc.php. The manipulation of the argument response leads to use of wrong operator in string comparison. Upgrading to version 1.16.2 is able to address this issue. The name of the patch is 31aa7661e6db6f4dffbf9a635817832a0a11c7d9. It is recommended to upgrade the affected component. The associated identifier of this vulnerability is VDB-216267.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
phpredisadmin project phpredisadmin < 1.16.2 –

Tipo di vulnerabilità

CWE-597 Use of Wrong Operator in String Comparison

The product uses the wrong operator when comparing a string, such as using == when the .equals() method should be used instead.

Impatto sui sistemi

AmbitoImpatto
Altro Dipende dal contesto

Come si previene

Sviluppo Within Java, use .equals() to compare string values. Within JavaScript, use == to compare string values. Within PHP, use == to compare a numeric value to a string value. (PHP converts the string to a number.)

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

Tutte le 3 CVE di tipo CWE-597, con andamento e prevenzione

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