PHP 8.1.x < 8.1.12 Multiple Vulnerabilities

critical Web App Scanning Plugin ID 113424

Synopsis

PHP 8.1.x < 8.1.12 Multiple Vulnerabilities

Description

According to its self-reported version number, the version of PHP installed on the remote host is 7.4.x prior to 7.4.33, 8.0.x prior to 8.0.25, or 8.1.x prior to 8.1.12. It is, therefore, affected by multiple vulnerabilities:

- An OOB read due to insufficient input validation in imageloadfont(). (CVE-2022-31630)

- A buffer overflow in hash_update() on long parameter. (CVE-2022-37454)

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

See Also

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

Plugin Details

Severity: Critical

ID: 113424

Type: remote

Published: 11/7/2022

Updated: 3/14/2023

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Critical

Base Score: 10

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

CVSS Score Source: CVE-2022-37454

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-2022-37454

Vulnerability Information

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 10/27/2022

Vulnerability Publication Date: 10/27/2022

Reference Information

CVE: CVE-2022-31630, CVE-2022-37454