PHP 8.1.x < 8.1.28 Multiple Vulnerabilities

critical Web App Scanning Plugin ID 114272

Synopsis

PHP 8.1.x < 8.1.28 Multiple Vulnerabilities

Description

According to its self-reported version number, the version of PHP installed on the remote host is 8.1.x prior to 8.1.28, 8.2.x prior to 8.2.18, or 8.3.x prior to 8.3.6. It is, therefore, affected by multiple vulnerabilities:

- A command injection via array-ish $command parameter of proc_open. (CVE-2024-1874)

- __Host-/__Secure- cookie bypass due to partial CVE-2022-31629 fix. (CVE-2024-2756)

- password_verify can erroneously return true, opening ATO risk. (CVE-2024-3096)

- mb_encode_mimeheader runs endlessly for some inputs. (CVE-2024-2757)

Note that the scanner has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade to PHP version 8.1.28 or later.

See Also

https://www.php.net/ChangeLog-8.php#8.1.28

Plugin Details

Severity: Critical

ID: 114272

Type: remote

Published: 4/23/2024

Updated: 4/23/2024

Scan Template: api, basic, full, pci, scan

Risk Information

VPR

Risk Factor: Medium

Score: 6.3

CVSS v2

Risk Factor: High

Base Score: 7.5

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

CVSS Score Source: CVE-2024-1874

CVSS v3

Risk Factor: Critical

Base Score: 9.8

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

CVSS Score Source: CVE-2024-1874

Vulnerability Information

CPE: cpe:2.3:a:php:php:*:*:*:*:*:*:*:*

Exploit Ease: No known exploits are available

Patch Publication Date: 4/11/2024

Vulnerability Publication Date: 4/11/2024

Reference Information

CVE: CVE-2024-1874, CVE-2024-2756, CVE-2024-2757, CVE-2024-3096