CBL Mariner 2.0 Security Update: php (CVE-2023-0568)

high Nessus Plugin ID 172933

Synopsis

The remote CBL Mariner host is missing one or more security updates.

Description

The version of php installed on the remote CBL Mariner 2.0 host is prior to tested version. It is, therefore, affected by a vulnerability as referenced in the CVE-2023-0568 advisory.

- In PHP 8.0.X before 8.0.28, 8.1.X before 8.1.16 and 8.2.X before 8.2.3, core path resolution function allocate buffer one byte too small. When resolving paths with lengths close to system MAXPATHLEN setting, this may lead to the byte after the allocated buffer being overwritten with NUL value, which might lead to unauthorized data access or modification. (CVE-2023-0568)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

https://nvd.nist.gov/vuln/detail/CVE-2023-0568

Plugin Details

Severity: High

ID: 172933

File Name: mariner_php_CVE-2023-0568.nasl

Version: 1.4

Type: local

Published: 3/20/2023

Updated: 10/18/2023

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.6

Temporal Score: 6

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

CVSS Score Source: CVE-2023-0568

CVSS v3

Risk Factor: High

Base Score: 8.1

Temporal Score: 7.3

Vector: CVSS:3.0/AV:N/AC:H/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:microsoft:cbl-mariner:php, p-cpe:/a:microsoft:cbl-mariner:php-bcmath, p-cpe:/a:microsoft:cbl-mariner:php-cli, p-cpe:/a:microsoft:cbl-mariner:php-common, p-cpe:/a:microsoft:cbl-mariner:php-dba, p-cpe:/a:microsoft:cbl-mariner:php-dbg, p-cpe:/a:microsoft:cbl-mariner:php-debuginfo, p-cpe:/a:microsoft:cbl-mariner:php-devel, p-cpe:/a:microsoft:cbl-mariner:php-embedded, p-cpe:/a:microsoft:cbl-mariner:php-enchant, p-cpe:/a:microsoft:cbl-mariner:php-ffi, p-cpe:/a:microsoft:cbl-mariner:php-fpm, p-cpe:/a:microsoft:cbl-mariner:php-gd, p-cpe:/a:microsoft:cbl-mariner:php-gmp, p-cpe:/a:microsoft:cbl-mariner:php-intl, p-cpe:/a:microsoft:cbl-mariner:php-ldap, p-cpe:/a:microsoft:cbl-mariner:php-mbstring, p-cpe:/a:microsoft:cbl-mariner:php-mysqlnd, p-cpe:/a:microsoft:cbl-mariner:php-odbc, p-cpe:/a:microsoft:cbl-mariner:php-opcache, p-cpe:/a:microsoft:cbl-mariner:php-pdo, p-cpe:/a:microsoft:cbl-mariner:php-pdo-dblib, p-cpe:/a:microsoft:cbl-mariner:php-pgsql, p-cpe:/a:microsoft:cbl-mariner:php-process, p-cpe:/a:microsoft:cbl-mariner:php-pspell, p-cpe:/a:microsoft:cbl-mariner:php-snmp, p-cpe:/a:microsoft:cbl-mariner:php-soap, p-cpe:/a:microsoft:cbl-mariner:php-sodium, p-cpe:/a:microsoft:cbl-mariner:php-tidy, p-cpe:/a:microsoft:cbl-mariner:php-xml, x-cpe:/o:microsoft:cbl-mariner

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2/14/2023

Vulnerability Publication Date: 2/14/2023

Reference Information

CVE: CVE-2023-0568

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