Oracle Linux 8 : php:7.4 (ELSA-2022-6542)

high Nessus Plugin ID 165218

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-2022-6542 advisory.

- Archive_Tar through 1.4.10 allows an unserialization attack because phar: is blocked but PHAR: is not blocked. (CVE-2020-28948)

- Archive_Tar through 1.4.10 has :// filename sanitization only to address phar attacks, and thus any other stream-wrapper attack (such as file:// to overwrite files) can still succeed. (CVE-2020-28949)

- Tar.php in Archive_Tar through 1.4.11 allows write operations with Directory Traversal due to inadequate checking of symbolic links, a related issue to CVE-2020-28948. (CVE-2020-36193)

Note that Nessus has not tested for these issues 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-2022-6542.html

Plugin Details

Severity: High

ID: 165218

File Name: oraclelinux_ELSA-2022-6542.nasl

Version: 1.3

Type: local

Agent: unix

Published: 9/16/2022

Updated: 9/19/2022

Supported Sensors: Frictionless Assessment Agent, Nessus Agent

Risk Information

VPR

Risk Factor: High

Score: 8.4

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.9

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

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

CVSS Score Source: CVE-2020-28949

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7.5

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:H/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 Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 9/16/2022

Vulnerability Publication Date: 11/19/2020

CISA Known Exploited Dates: 9/15/2022

Exploitable With

Metasploit (PEAR Archive_Tar 1.4.10 Arbitrary File Write)

Reference Information

CVE: CVE-2020-28949, CVE-2020-28948, CVE-2020-36193