Debian DLA-2708-1 : php7.0 - LTS security update

high Nessus Plugin ID 151676

Synopsis

The remote Debian host is missing one or more security-related updates.

Description

The remote Debian 9 host has packages installed that are affected by multiple vulnerabilities as referenced in the dla-2708 advisory.

Several vulnerabilities were discovered in php5, a server-side, HTML-embedded scripting language. An attacker could cause denial of service (DoS), memory corruption and potentially execution of arbitrary code, and server-side request forgery (SSRF) bypass. CVE-2019-18218 fileinfo: cdf_read_property_info in cdf.c does not restrict the number of CDF_VECTOR elements, which allows a heap-based buffer overflow (4-byte out-of-bounds write). CVE-2020-7071 When validating URL with functions like filter_var($url, FILTER_VALIDATE_URL), PHP will accept an URL with invalid password as valid URL. This may lead to functions that rely on URL being valid to mis-parse the URL and produce wrong data as components of the URL. CVE-2021-21702 When using SOAP extension to connect to a SOAP server, a malicious SOAP server could return malformed XML data as a response that would cause PHP to access a null pointer and thus cause a crash. CVE-2021-21704 Multiple firebird issues. CVE-2021-21705 SSRF bypass in FILTER_VALIDATE_URL. For Debian 9 stretch, these problems have been fixed in version 7.0.33-0+deb9u11. We recommend that you upgrade your php7.0 packages. For the detailed security status of php7.0 please refer to its security tracker page at: https://security-tracker.debian.org/tracker/php7.0 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 these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade the php7.0 packages.

For Debian 9 stretch, these problems have been fixed in version 7.0.33-0+deb9u11.

See Also

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

https://security-tracker.debian.org/tracker/source-package/php7.0

https://www.debian.org/lts/security/2021/dla-2708

https://security-tracker.debian.org/tracker/CVE-2019-18218

https://security-tracker.debian.org/tracker/CVE-2020-7071

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

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

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

https://packages.debian.org/source/stretch/php7.0

Plugin Details

Severity: High

ID: 151676

File Name: debian_DLA-2708.nasl

Version: 1.5

Type: local

Agent: unix

Published: 7/15/2021

Updated: 1/24/2025

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

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

CVSS Score Source: CVE-2019-18218

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7

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

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:php7.0, p-cpe:/a:debian:debian_linux:php7.0-readline, p-cpe:/a:debian:debian_linux:php7.0-dba, p-cpe:/a:debian:debian_linux:php7.0-xsl, p-cpe:/a:debian:debian_linux:php7.0-dev, p-cpe:/a:debian:debian_linux:php7.0-ldap, p-cpe:/a:debian:debian_linux:php7.0-bz2, p-cpe:/a:debian:debian_linux:php7.0-mbstring, p-cpe:/a:debian:debian_linux:php7.0-opcache, p-cpe:/a:debian:debian_linux:php7.0-sqlite3, p-cpe:/a:debian:debian_linux:php7.0-recode, p-cpe:/a:debian:debian_linux:php7.0-mcrypt, p-cpe:/a:debian:debian_linux:php7.0-json, cpe:/o:debian:debian_linux:9.0, p-cpe:/a:debian:debian_linux:php7.0-snmp, p-cpe:/a:debian:debian_linux:php7.0-pgsql, p-cpe:/a:debian:debian_linux:php7.0-pspell, p-cpe:/a:debian:debian_linux:php7.0-xml, p-cpe:/a:debian:debian_linux:php7.0-interbase, p-cpe:/a:debian:debian_linux:php7.0-phpdbg, p-cpe:/a:debian:debian_linux:libapache2-mod-php7.0, p-cpe:/a:debian:debian_linux:php7.0-zip, p-cpe:/a:debian:debian_linux:php7.0-common, p-cpe:/a:debian:debian_linux:php7.0-tidy, p-cpe:/a:debian:debian_linux:php7.0-enchant, p-cpe:/a:debian:debian_linux:php7.0-mysql, p-cpe:/a:debian:debian_linux:php7.0-soap, p-cpe:/a:debian:debian_linux:php7.0-xmlrpc, p-cpe:/a:debian:debian_linux:php7.0-bcmath, p-cpe:/a:debian:debian_linux:libphp7.0-embed, p-cpe:/a:debian:debian_linux:php7.0-cgi, p-cpe:/a:debian:debian_linux:php7.0-intl, p-cpe:/a:debian:debian_linux:php7.0-imap, p-cpe:/a:debian:debian_linux:php7.0-odbc, p-cpe:/a:debian:debian_linux:php7.0-sybase, p-cpe:/a:debian:debian_linux:php7.0-curl, p-cpe:/a:debian:debian_linux:php7.0-gd, p-cpe:/a:debian:debian_linux:php7.0-fpm, p-cpe:/a:debian:debian_linux:php7.0-gmp, p-cpe:/a:debian:debian_linux:php7.0-cli

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: 7/15/2021

Vulnerability Publication Date: 10/21/2019

Reference Information

CVE: CVE-2019-18218, CVE-2020-7071, CVE-2021-21702, CVE-2021-21704, CVE-2021-21705

IAVA: 2021-A-0009-S, 2021-A-0082-S