CVE Vulnerabilities

CVE-2021-4259

Use of Wrong Operator in String Comparison

Published: Dec 19, 2022 | Modified: Apr 11, 2024
CVSS 3.x
9.8
CRITICAL
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu

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.

Weakness

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

Affected Software

Name Vendor Start Version End Version
Phpredisadmin Phpredisadmin_project * 1.16.2 (excluding)

Potential Mitigations

References