CBL Mariner 2.0 Security Update: php (CVE-2024-4577)

critical Nessus Plugin ID 201767

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-2024-4577 advisory.

- In PHP versions 8.1.* before 8.1.29, 8.2.* before 8.2.20, 8.3.* before 8.3.8, when using Apache and PHP- CGI on Windows, if the system is set up to use certain code pages, Windows May use Best-Fit behavior to replace characters in command line given to Win32 API functions. PHP CGI module May misinterpret those characters as PHP options, which May allow a malicious user to pass options to PHP binary being run, and thus reveal the source code of scripts, run arbitrary PHP code on the server, etc. (CVE-2024-4577)

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-2024-4577

Plugin Details

Severity: Critical

ID: 201767

File Name: mariner_CVE-2024-4577.nasl

Version: 1.3

Type: local

Published: 7/3/2024

Updated: 10/4/2024

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Critical

Score: 9.6

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 8.7

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

CVSS Score Source: CVE-2024-4577

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 9.4

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:H/RL:O/RC:C

Vulnerability Information

CPE: x-cpe:/o:microsoft:cbl-mariner, p-cpe:/a:microsoft:cbl-mariner:php-mysqlnd, p-cpe:/a:microsoft:cbl-mariner:php-pdo-dblib, p-cpe:/a:microsoft:cbl-mariner:php-pspell, p-cpe:/a:microsoft:cbl-mariner:php-enchant, p-cpe:/a:microsoft:cbl-mariner:php-gmp, p-cpe:/a:microsoft:cbl-mariner:php-pdo, p-cpe:/a:microsoft:cbl-mariner:php-intl, p-cpe:/a:microsoft:cbl-mariner:php-ffi, p-cpe:/a:microsoft:cbl-mariner:php-opcache, p-cpe:/a:microsoft:cbl-mariner:php-ldap, p-cpe:/a:microsoft:cbl-mariner:php-debuginfo, p-cpe:/a:microsoft:cbl-mariner:php-mbstring, p-cpe:/a:microsoft:cbl-mariner:php-dbg, p-cpe:/a:microsoft:cbl-mariner:php-bcmath, p-cpe:/a:microsoft:cbl-mariner:php-tidy, p-cpe:/a:microsoft:cbl-mariner:php-process, p-cpe:/a:microsoft:cbl-mariner:php-sodium, p-cpe:/a:microsoft:cbl-mariner:php-embedded, p-cpe:/a:microsoft:cbl-mariner:php-devel, p-cpe:/a:microsoft:cbl-mariner:php-xml, p-cpe:/a:microsoft:cbl-mariner:php-soap, p-cpe:/a:microsoft:cbl-mariner:php-cli, p-cpe:/a:microsoft:cbl-mariner:php-gd, p-cpe:/a:microsoft:cbl-mariner:php-snmp, p-cpe:/a:microsoft:cbl-mariner:php-dba, p-cpe:/a:microsoft:cbl-mariner:php-pgsql, p-cpe:/a:microsoft:cbl-mariner:php-fpm, p-cpe:/a:microsoft:cbl-mariner:php, p-cpe:/a:microsoft:cbl-mariner:php-common, p-cpe:/a:microsoft:cbl-mariner:php-odbc

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: 7/1/2024

Vulnerability Publication Date: 6/4/2024

CISA Known Exploited Vulnerability Due Dates: 7/3/2024

Exploitable With

Metasploit (PHP CGI Argument Injection Remote Code Execution)

Reference Information

CVE: CVE-2024-4577

IAVA: 2024-A-0330-S