# CVE-2021-4259: phpRedisAdmin login.inc.php authHttpDigest wrong operator in string comparison

- Severity: Medium 5.0 (CVSS:3.1, scored by VulDB) `CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.88%, higher than 60% of CVEs (2026-12-02)
- Published: 2022-12-19T00:00:00.000Z
- Modified: 2026-06-17T04:19:22.280Z
- Weaknesses: CWE-597
- Assigned by: VulDB

## Description

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.

(As written by CVE List.)

## Affected

- phpRedisAdmin: 1.16.0; 1.16.1
- phpredisadmin_project phpredisadmin: before 1.16.2

## Every score

- VulDB: CVSS:3.1 5.0 Medium `CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L`
- VulDB: CVSS:3.0 5.0 Medium `CVSS:3.0/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://vuldb.com/?id.216267> (permissions-required, technical-description, third-party-advisory, vdb-entry)
- <https://github.com/erikdubbelboer/phpRedisAdmin/commit/31aa7661e6db6f4dffbf9a635817832a0a11c7d9> (mitigation, patch, third-party-advisory)
- <https://github.com/erikdubbelboer/phpRedisAdmin/releases/tag/v1.16.2> (mitigation, release-notes, third-party-advisory)

## Sources

- CVE List: [CVE-2021-4259](https://www.cve.org/CVERecord?id=CVE-2021-4259), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-4259](https://nvd.nist.gov/vuln/detail/CVE-2021-4259), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-4259 · Whole record: https://cve.day/CVE-2021-4259.json · Rebuilt by cve.day 2026-11-25T22:58:07.960Z
