Rocky Linux 8 : php:7.4 (RLSA-2022:6542)

high Nessus Plugin ID 167791

Synopsis

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

Description

The remote Rocky Linux 8 host has packages installed that are affected by multiple vulnerabilities as referenced in the RLSA-2022:6542 advisory.

- 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)

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

- 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://bugzilla.redhat.com/show_bug.cgi?id=1904001

https://bugzilla.redhat.com/show_bug.cgi?id=1910323

https://bugzilla.redhat.com/show_bug.cgi?id=1942961

https://errata.rockylinux.org/RLSA-2022:6542

Plugin Details

Severity: High

ID: 167791

File Name: rocky_linux_RLSA-2022-6542.nasl

Version: 1.6

Type: local

Published: 11/17/2022

Updated: 11/7/2023

Supported Sensors: Nessus

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

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: p-cpe:/a:rocky:linux:libzip-tools, p-cpe:/a:rocky:linux:php-devel, p-cpe:/a:rocky:linux:php-fpm, p-cpe:/a:rocky:linux:php-dbg-debuginfo, p-cpe:/a:rocky:linux:php-snmp, p-cpe:/a:rocky:linux:php-xmlrpc-debuginfo, p-cpe:/a:rocky:linux:php-process, p-cpe:/a:rocky:linux:php-opcache-debuginfo, p-cpe:/a:rocky:linux:php-pdo-debuginfo, p-cpe:/a:rocky:linux:php-intl, p-cpe:/a:rocky:linux:php-pgsql, p-cpe:/a:rocky:linux:libzip-debuginfo, p-cpe:/a:rocky:linux:php-debuginfo, p-cpe:/a:rocky:linux:php-common, p-cpe:/a:rocky:linux:php-gd-debuginfo, p-cpe:/a:rocky:linux:php-json, p-cpe:/a:rocky:linux:php-cli-debuginfo, p-cpe:/a:rocky:linux:libzip-devel, p-cpe:/a:rocky:linux:php-dba, p-cpe:/a:rocky:linux:php, p-cpe:/a:rocky:linux:php-fpm-debuginfo, p-cpe:/a:rocky:linux:php-mysqlnd-debuginfo, p-cpe:/a:rocky:linux:php-json-debuginfo, p-cpe:/a:rocky:linux:libzip-tools-debuginfo, p-cpe:/a:rocky:linux:php-odbc, p-cpe:/a:rocky:linux:php-pecl-zip-debuginfo, p-cpe:/a:rocky:linux:libzip, p-cpe:/a:rocky:linux:php-mbstring-debuginfo, p-cpe:/a:rocky:linux:php-pecl-zip, p-cpe:/a:rocky:linux:php-ldap, p-cpe:/a:rocky:linux:php-pecl-xdebug-debugsource, p-cpe:/a:rocky:linux:php-common-debuginfo, p-cpe:/a:rocky:linux:php-pgsql-debuginfo, p-cpe:/a:rocky:linux:libzip-debugsource, p-cpe:/a:rocky:linux:php-debugsource, p-cpe:/a:rocky:linux:php-pecl-rrd, p-cpe:/a:rocky:linux:php-ffi, p-cpe:/a:rocky:linux:php-pecl-apcu-debuginfo, p-cpe:/a:rocky:linux:php-pecl-rrd-debugsource, p-cpe:/a:rocky:linux:php-snmp-debuginfo, p-cpe:/a:rocky:linux:php-dbg, p-cpe:/a:rocky:linux:php-ffi-debuginfo, p-cpe:/a:rocky:linux:php-xml, p-cpe:/a:rocky:linux:php-gmp-debuginfo, p-cpe:/a:rocky:linux:php-mbstring, p-cpe:/a:rocky:linux:php-pecl-apcu-debugsource, p-cpe:/a:rocky:linux:php-pdo, p-cpe:/a:rocky:linux:php-gmp, p-cpe:/a:rocky:linux:php-ldap-debuginfo, p-cpe:/a:rocky:linux:php-pecl-rrd-debuginfo, p-cpe:/a:rocky:linux:php-enchant-debuginfo, p-cpe:/a:rocky:linux:php-intl-debuginfo, p-cpe:/a:rocky:linux:php-pecl-apcu, p-cpe:/a:rocky:linux:php-xml-debuginfo, p-cpe:/a:rocky:linux:php-odbc-debuginfo, p-cpe:/a:rocky:linux:php-process-debuginfo, p-cpe:/a:rocky:linux:php-pecl-apcu-devel, p-cpe:/a:rocky:linux:php-bcmath-debuginfo, p-cpe:/a:rocky:linux:php-cli, p-cpe:/a:rocky:linux:php-mysqlnd, p-cpe:/a:rocky:linux:php-dba-debuginfo, p-cpe:/a:rocky:linux:php-pecl-xdebug, p-cpe:/a:rocky:linux:php-pecl-zip-debugsource, p-cpe:/a:rocky:linux:php-bcmath, p-cpe:/a:rocky:linux:apcu-panel, p-cpe:/a:rocky:linux:php-embedded, p-cpe:/a:rocky:linux:php-embedded-debuginfo, p-cpe:/a:rocky:linux:php-opcache, p-cpe:/a:rocky:linux:php-pear, p-cpe:/a:rocky:linux:php-pecl-xdebug-debuginfo, p-cpe:/a:rocky:linux:php-gd, p-cpe:/a:rocky:linux:php-soap, p-cpe:/a:rocky:linux:php-xmlrpc, cpe:/o:rocky:linux:8, p-cpe:/a:rocky:linux:php-enchant, p-cpe:/a:rocky:linux:php-soap-debuginfo

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/RockyLinux/release, Host/RockyLinux/rpm-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 9/23/2022

Vulnerability Publication Date: 9/23/2022

CISA Known Exploited Vulnerability Due Dates: 9/15/2022

Exploitable With

Metasploit (PEAR Archive_Tar 1.4.10 Arbitrary File Write)

Reference Information

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