Improper Authentication in ADOdb - CVE-2021-3850

 

Improper Authentication in ADOdb - CVE-2021-3850

Published: May 30, 2022


Vulnerability identifier: #VU63809
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-3850
CWE-ID: CWE-287
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to bypass authentication process.

The vulnerability exists due to an error when processing PostgreSQL connection strings. A remote attacker can inject values into a PostgreSQL connection string by providing a parameter surrounded by single quotes, bypass authentication process and gain unauthorized access to the application.


Affected software

ADOdb
Debian Linux
Fedora
libphp-adodb (Debian package)
php-adodb

How to mitigate CVE-2021-3850

Install updates from vendor's website.

ADOdb - addressed in versions 5.20.21, 5.21.4
libphp-adodb (Debian package) - addressed in versions 5.20.14-1+deb10u1, 5.20.19-1+deb11u1
php-adodb - update to 5.22.7-1.el8

External References

Related Security Bulletins