Debian DLA-2912-1 : libphp-adodb - LTS security update

critical Nessus Plugin ID 157401

Synopsis

The remote Debian host is missing a security-related update.

Description

The remote Debian 9 host has a package installed that is affected by a vulnerability as referenced in the dla-2912 advisory.

It was found that in libphp-adodb, a PHP database abstraction layer library, an attacker can inject values into the PostgreSQL connection string by bypassing adodb_addslashes(). The function can be bypassed in phppgadmin, for example, by surrounding the username in quotes and submitting with other parameters injected in between. For Debian 9 stretch, this problem has been fixed in version 5.20.9-1+deb9u1. We recommend that you upgrade your libphp-adodb packages. For the detailed security status of libphp-adodb please refer to its security tracker page at: https://security-tracker.debian.org/tracker/libphp-adodb Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: https://wiki.debian.org/LTS

Tenable has extracted the preceding description block directly from the Debian security advisory.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade the libphp-adodb packages.

For Debian 9 stretch, this problem has been fixed in version 5.20.9-1+deb9u1.

See Also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1004376

http://www.nessus.org/u?8dc41908

https://www.debian.org/lts/security/2022/dla-2912

https://security-tracker.debian.org/tracker/CVE-2021-3850

https://packages.debian.org/source/stretch/libphp-adodb

Plugin Details

Severity: Critical

ID: 157401

File Name: debian_DLA-2912.nasl

Version: 1.4

Type: local

Agent: unix

Published: 2/6/2022

Updated: 1/24/2025

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.0

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:N

CVSS Score Source: CVE-2021-3850

CVSS v3

Risk Factor: Critical

Base Score: 9.1

Temporal Score: 8.2

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:libphp-adodb, cpe:/o:debian:debian_linux:9.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2/6/2022

Vulnerability Publication Date: 1/25/2022

Reference Information

CVE: CVE-2021-3850