SUSE SLES12 Security Update : php72 (SUSE-SU-2022:3957-1)

medium Nessus Plugin ID 167352

Language:

Synopsis

The remote SUSE host is missing one or more security updates.

Description

The remote SUSE Linux SLES12 / SLES_SAP12 host has packages installed that are affected by multiple vulnerabilities as referenced in the SUSE-SU-2022:3957-1 advisory.

- In PHP versions before 7.4.31, 8.0.24 and 8.1.11, the phar uncompressor code would recursively uncompress quines gzip files, resulting in an infinite loop. (CVE-2022-31628)

- In PHP versions before 7.4.31, 8.0.24 and 8.1.11, the vulnerability enables network and same-site attackers to set a standard insecure cookie in the victim's browser which is treated as a `__Host-` or `__Secure-` cookie by PHP applications. (CVE-2022-31629)

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.suse.com/1203867

https://bugzilla.suse.com/1203870

https://www.suse.com/security/cve/CVE-2022-31628

https://www.suse.com/security/cve/CVE-2022-31629

http://www.nessus.org/u?1a7e2f6a

Plugin Details

Severity: Medium

ID: 167352

File Name: suse_SU-2022-3957-1.nasl

Version: 1.7

Type: local

Agent: unix

Published: 11/13/2022

Updated: 10/18/2023

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.1

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

CVSS Score Source: CVE-2022-31629

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.9

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

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

Vulnerability Information

CPE: p-cpe:/a:novell:suse_linux:php72-iconv, p-cpe:/a:novell:suse_linux:php72-imap, p-cpe:/a:novell:suse_linux:php72-intl, p-cpe:/a:novell:suse_linux:php72-json, p-cpe:/a:novell:suse_linux:php72-ldap, p-cpe:/a:novell:suse_linux:php72-mbstring, p-cpe:/a:novell:suse_linux:php72-mysql, p-cpe:/a:novell:suse_linux:php72-odbc, p-cpe:/a:novell:suse_linux:php72-opcache, p-cpe:/a:novell:suse_linux:php72-openssl, p-cpe:/a:novell:suse_linux:php72-pcntl, p-cpe:/a:novell:suse_linux:php72-pdo, p-cpe:/a:novell:suse_linux:php72-pear, p-cpe:/a:novell:suse_linux:php72-pear-archive_tar, p-cpe:/a:novell:suse_linux:php72-pgsql, p-cpe:/a:novell:suse_linux:php72-phar, p-cpe:/a:novell:suse_linux:php72-posix, p-cpe:/a:novell:suse_linux:php72-pspell, p-cpe:/a:novell:suse_linux:php72-readline, p-cpe:/a:novell:suse_linux:php72-shmop, p-cpe:/a:novell:suse_linux:php72-snmp, p-cpe:/a:novell:suse_linux:php72-soap, p-cpe:/a:novell:suse_linux:php72-sockets, p-cpe:/a:novell:suse_linux:php72-sodium, p-cpe:/a:novell:suse_linux:php72-sqlite, p-cpe:/a:novell:suse_linux:php72-sysvmsg, p-cpe:/a:novell:suse_linux:php72-sysvsem, p-cpe:/a:novell:suse_linux:php72-sysvshm, p-cpe:/a:novell:suse_linux:php72-tidy, p-cpe:/a:novell:suse_linux:php72-tokenizer, p-cpe:/a:novell:suse_linux:php72-wddx, p-cpe:/a:novell:suse_linux:php72-xmlreader, p-cpe:/a:novell:suse_linux:php72-xmlrpc, p-cpe:/a:novell:suse_linux:php72-xmlwriter, p-cpe:/a:novell:suse_linux:php72-xsl, p-cpe:/a:novell:suse_linux:php72-zip, p-cpe:/a:novell:suse_linux:php72-zlib, cpe:/o:novell:suse_linux:12, p-cpe:/a:novell:suse_linux:apache2-mod_php72, p-cpe:/a:novell:suse_linux:php72, p-cpe:/a:novell:suse_linux:php72-bcmath, p-cpe:/a:novell:suse_linux:php72-bz2, p-cpe:/a:novell:suse_linux:php72-calendar, p-cpe:/a:novell:suse_linux:php72-ctype, p-cpe:/a:novell:suse_linux:php72-curl, p-cpe:/a:novell:suse_linux:php72-dba, p-cpe:/a:novell:suse_linux:php72-devel, p-cpe:/a:novell:suse_linux:php72-dom, p-cpe:/a:novell:suse_linux:php72-enchant, p-cpe:/a:novell:suse_linux:php72-exif, p-cpe:/a:novell:suse_linux:php72-fastcgi, p-cpe:/a:novell:suse_linux:php72-fileinfo, p-cpe:/a:novell:suse_linux:php72-fpm, p-cpe:/a:novell:suse_linux:php72-ftp, p-cpe:/a:novell:suse_linux:php72-gd, p-cpe:/a:novell:suse_linux:php72-gettext, p-cpe:/a:novell:suse_linux:php72-gmp

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 11/11/2022

Vulnerability Publication Date: 9/28/2022

Reference Information

CVE: CVE-2022-31628, CVE-2022-31629

IAVA: 2022-A-0397-S

SuSE: SUSE-SU-2022:3957-1