Oracle Linux 8 : php:7.4 (ELSA-2021-4213)

medium Nessus Plugin ID 155414
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Synopsis

The remote Oracle Linux host is missing one or more security updates.

Description

The remote Oracle Linux 8 host has packages installed that are affected by multiple vulnerabilities as referenced in the ELSA-2021-4213 advisory.

- In PHP versions 7.2.x below 7.2.33, 7.3.x below 7.3.21 and 7.4.x below 7.4.9, while processing PHAR files using phar extension, phar_parse_zipfile could be tricked into accessing freed memory, which could lead to a crash or information disclosure. (CVE-2020-7068)

- In PHP versions 7.2.x below 7.2.34, 7.3.x below 7.3.23 and 7.4.x below 7.4.11, when AES-CCM mode is used with openssl_encrypt() function with 12 bytes IV, only first 7 bytes of the IV is actually used. This can lead to both decreased security and incorrect encryption data. (CVE-2020-7069)

- In PHP versions 7.3.x below 7.3.26, 7.4.x below 7.4.14 and 8.0.0, 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-2020-7071)

- In PHP versions 7.3.x below 7.3.27, 7.4.x below 7.4.15 and 8.0.x below 8.0.2, 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-21702)

- In PHP versions 7.2.x below 7.2.34, 7.3.x below 7.3.23 and 7.4.x below 7.4.11, 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 cookie which is supposed to be secure. See also CVE-2020-8184 for more information. (CVE-2020-7070)

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

Solution

Update the affected packages.

See Also

https://linux.oracle.com/errata/ELSA-2021-4213.html

Plugin Details

Severity: Medium

ID: 155414

File Name: oraclelinux_ELSA-2021-4213.nasl

Version: 1.2

Type: local

Agent: unix

Published: 11/17/2021

Updated: 11/17/2021

Dependencies: ssh_get_info.nasl

Risk Information

CVSS Score Source: CVE-2020-7069

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

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

Temporal Vector: CVSS2#E:U/RL:OF/RC:C

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.7

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

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

Vulnerability Information

CPE: cpe:2.3:o:oracle:linux:8:*:*:*:*:*:*:*, p-cpe:2.3:a:oracle:linux:php:*:*:*:*:*:*:*, p-cpe:2.3:a:oracle:linux:php-bcmath:*:*:*:*:*:*:*, p-cpe:2.3:a:oracle:linux:php-cli:*:*:*:*:*:*:*, p-cpe:2.3:a:oracle:linux:php-common:*:*:*:*:*:*:*, p-cpe:2.3:a:oracle:linux:php-dba:*:*:*:*:*:*:*, p-cpe:2.3:a:oracle:linux:php-devel:*:*:*:*:*:*:*, p-cpe:2.3:a:oracle:linux:php-gd:*:*:*:*:*:*:*, p-cpe:2.3:a:oracle:linux:php-ldap:*:*:*:*:*:*:*, p-cpe:2.3:a:oracle:linux:php-mbstring:*:*:*:*:*:*:*, p-cpe:2.3:a:oracle:linux:php-odbc:*:*:*:*:*:*:*, p-cpe:2.3:a:oracle:linux:php-pdo:*:*:*:*:*:*:*, p-cpe:2.3:a:oracle:linux:php-pear:*:*:*:*:*:*:*, p-cpe:2.3:a:oracle:linux:php-pgsql:*:*:*:*:*:*:*, p-cpe:2.3:a:oracle:linux:php-snmp:*:*:*:*:*:*:*, p-cpe:2.3:a:oracle:linux:php-soap:*:*:*:*:*:*:*, p-cpe:2.3:a:oracle:linux:php-xml:*:*:*:*:*:*:*, p-cpe:2.3:a:oracle:linux:php-xmlrpc:*:*:*:*:*:*:*, p-cpe:2.3:a:oracle:linux:php-embedded:*:*:*:*:*:*:*, p-cpe:2.3:a:oracle:linux:php-enchant:*:*:*:*:*:*:*, p-cpe:2.3:a:oracle:linux:php-intl:*:*:*:*:*:*:*, p-cpe:2.3:a:oracle:linux:php-process:*:*:*:*:*:*:*, p-cpe:2.3:a:oracle:linux:php-fpm:*:*:*:*:*:*:*, p-cpe:2.3:a:oracle:linux:php-mysqlnd:*:*:*:*:*:*:*, p-cpe:2.3:a:oracle:linux:apcu-panel:*:*:*:*:*:*:*, p-cpe:2.3:a:oracle:linux:libzip:*:*:*:*:*:*:*, p-cpe:2.3:a:oracle:linux:libzip-devel:*:*:*:*:*:*:*, p-cpe:2.3:a:oracle:linux:libzip-tools:*:*:*:*:*:*:*, p-cpe:2.3:a:oracle:linux:php-dbg:*:*:*:*:*:*:*, p-cpe:2.3:a:oracle:linux:php-gmp:*:*:*:*:*:*:*, p-cpe:2.3:a:oracle:linux:php-json:*:*:*:*:*:*:*, p-cpe:2.3:a:oracle:linux:php-opcache:*:*:*:*:*:*:*, p-cpe:2.3:a:oracle:linux:php-pecl-apcu:*:*:*:*:*:*:*, p-cpe:2.3:a:oracle:linux:php-pecl-apcu-devel:*:*:*:*:*:*:*, p-cpe:2.3:a:oracle:linux:php-pecl-rrd:*:*:*:*:*:*:*, p-cpe:2.3:a:oracle:linux:php-pecl-xdebug:*:*:*:*:*:*:*, p-cpe:2.3:a:oracle:linux:php-pecl-zip:*:*:*:*:*:*:*, p-cpe:2.3:a:oracle:linux:php-ffi:*:*:*:*:*:*:*

Required KB Items: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/OracleLinux

Exploit Ease: No known exploits are available

Patch Publication Date: 11/16/2021

Vulnerability Publication Date: 8/10/2020

Reference Information

CVE: CVE-2020-7068, CVE-2020-7069, CVE-2020-7070, CVE-2020-7071, CVE-2021-21702

IAVA: 2020-A-0373-S, 2020-A-0445-S, 2021-A-0009-S, 2021-A-0082-S