EulerOS 2.0 SP8 : php (EulerOS-SA-2024-1288)

high Nessus Plugin ID 191835

Synopsis

The remote EulerOS host is missing a security update.

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.30, 8.1.* before 8.1.22, and 8.2.* before 8.2.8 various XML functions rely on libxml global state to track configuration variables, like whether external entities are loaded.
This state is assumed to be unchanged unless the user explicitly changes it by calling appropriate function. However, since the state is process-global, other modules - such as ImageMagick - may also use this library within the same process, and change that global state for their internal purposes, and leave it in a state where external entities loading is enabled. This can lead to the situation where external XML is parsed with external entities loaded, which can lead to disclosure of any local files accessible to PHP. This vulnerable state may persist in the same process across many requests, until the process is shut down. (CVE-2023-3823)

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?adfcfae6

Plugin Details

Severity: High

ID: 191835

File Name: EulerOS_SA-2024-1288.nasl

Version: 1.1

Type: local

Published: 3/12/2024

Updated: 6/7/2024

Supported Sensors: 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:C/I:N/A:N

CVSS Score Source: CVE-2023-3823

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.7

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

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: 3/12/2024

Vulnerability Publication Date: 8/3/2023

Reference Information

CVE: CVE-2023-3823

IAVA: 2023-A-0423-S