PHP 8.4.x < 8.4.5 Multiple Vulnerabilities

high Web App Scanning Plugin ID 114670

Synopsis

PHP 8.4.x < 8.4.5 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.32, 8.2.x prior to 8.2.28, 8.3.x prior to 8.3.19, or 8.4.x prior to 8.4.5. It is, therefore, affected by multiple vulnerabilities:

- libxml streams use wrong content-type header when requesting a redirected resource. (CVE-2025-1219)

- Stream HTTP wrapper header check might omit basic auth header. (CVE-2025-1736)

- Stream HTTP wrapper truncate redirect location to 1024 bytes. (CVE-2025-1861)

- Streams HTTP wrapper does not fail for headers without colon. (CVE-2025-1734)

- Header parser of `http` stream wrapper does not handle folded headers. (CVE-2025-1217)

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.4.5 or later.

See Also

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

Plugin Details

Severity: High

ID: 114670

Type: remote

Published: 3/18/2025

Updated: 3/18/2025

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

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-2025-1217

CVSS v3

Risk Factor: High

Base Score: 7.3

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

CVSS Score Source: CVE-2025-1217

Vulnerability Information

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

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 3/11/2025

Reference Information

CVE: CVE-2025-1217, CVE-2025-1219, CVE-2025-1734, CVE-2025-1736, CVE-2025-1861