Debian DLA-2397-1 : php7.0 security update

medium Nessus Plugin ID 141247

Synopsis

The remote Debian host is missing a security update.

Description

A vulnerability was discovered in PHP, a server-side, HTML-embedded scripting language. When PHP is processing incoming HTTP cookie values, the cookie names are url-decoded. This may lead to cookies with prefixes like __Host confused with cookies that decode to such prefix, thus leading to an attacker being able to forge a cookie which is supposed to be secure.

For Debian 9 stretch, this problem has been fixed in version 7.0.33-0+deb9u10.

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

NOTE: Tenable Network Security has extracted the preceding description block directly from the DLA security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

Upgrade the affected packages.

See Also

https://lists.debian.org/debian-lts-announce/2020/10/msg00008.html

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

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

Plugin Details

Severity: Medium

ID: 141247

File Name: debian_DLA-2397.nasl

Version: 1.6

Type: local

Agent: unix

Published: 10/7/2020

Updated: 2/16/2024

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

Risk Information

VPR

Risk Factor: Low

Score: 2.2

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.9

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

CVSS Score Source: CVE-2020-7070

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Temporal Score: 4.8

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

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

Vulnerability Information

CPE: 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, 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, 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-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

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: 10/6/2020

Vulnerability Publication Date: 10/2/2020

Reference Information

CVE: CVE-2020-7070

IAVA: 2020-A-0445-S