EulerOS 2.0 SP8 : php (EulerOS-SA-2023-3145)

critical Nessus Plugin ID 188978

Synopsis

The remote EulerOS host is missing multiple security updates.

Description

According to the versions of the php packages installed, the EulerOS installation on the remote host is affected by the following vulnerabilities :

- In PHP versions 8.0.* before 8.0.29, 8.1.* before 8.1.20, 8.2.* before 8.2.7 when using SOAP HTTP Digest Authentication, random value generator was not checked for failure, and was using narrower range of values than it should have. In case of random generator failure, it could lead to a disclosure of 31 bits of uninitialized memory from the client to the server, and it also made easier to a malicious server to guess the client's nonce. (CVE-2023-3247)

- In PHP version 8.0.* before 8.0.30, 8.1.* before 8.1.22, and 8.2.* before 8.2.8, when loading phar file, while reading PHAR directory entries, insufficient length checking may lead to a stack buffer overflow, leading potentially to memory corruption or RCE. (CVE-2023-3824)

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

Solution

Update the affected php packages.

See Also

http://www.nessus.org/u?5d14aada

Plugin Details

Severity: Critical

ID: 188978

File Name: EulerOS_SA-2023-3145.nasl

Version: 1.1

Type: local

Published: 1/16/2024

Updated: 6/7/2024

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

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

CVSS Score Source: CVE-2023-3824

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

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

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

Vulnerability Information

CPE: p-cpe:/a:huawei:euleros:php-odbc, p-cpe:/a:huawei:euleros:php-pdo, p-cpe:/a:huawei:euleros:php, p-cpe:/a:huawei:euleros:php-xml, p-cpe:/a:huawei:euleros:php-cli, p-cpe:/a:huawei:euleros:php-process, p-cpe:/a:huawei:euleros:php-xmlrpc, p-cpe:/a:huawei:euleros:php-gd, p-cpe:/a:huawei:euleros:php-fpm, p-cpe:/a:huawei:euleros:php-soap, p-cpe:/a:huawei:euleros:php-ldap, p-cpe:/a:huawei:euleros:php-recode, cpe:/o:huawei:euleros:2.0, p-cpe:/a:huawei:euleros:php-common

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

Excluded KB Items: Host/EulerOS/uvp_version

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 11/9/2023

Vulnerability Publication Date: 6/29/2023

Reference Information

CVE: CVE-2023-3247, CVE-2023-3824

IAVA: 2023-A-0321-S, 2023-A-0423-S