PHP 7.2 < 7.2.34 / 7.3.x < 7.3.23 / 7.4.x < 7.4.11 Mulitiple Vulnerabilities

medium Nessus Plugin ID 141355

Synopsis

The version of PHP running on the remote web server is affected by multiple vulnerabilities

Description

According to its self-reported version number, the version of PHP running on the remote web server is 7.2.x prior to 7.2.34, 7.3.x prior to 7.3.23 or 7.4.x prior to 7.4.11. It is, therefore, affected by multiple vulnerabilties:

- A weak cryptography vulnerability exists in PHP's openssl_encrypt function due to a failure to utilize all provided IV bytes. An unauthenticated, remote attacker could exploit this to reduce the level of security provided by the encryption scheme or affect the integrity of the encrypted data (CVE-2020-7069).

- A cookie forgery vulnerability exists in PHP's HTTP processing functionality. An unauthenticated, remote could expoit this to forge HTTP cookies which were supposed to be secure. (CVE-2020-7070)

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

Solution

Upgrade to PHP version 7.2.34, 7.3.23, 7.4.11 or later.

See Also

http://bugs.php.net/79601

http://bugs.php.net/79699

https://www.php.net/ChangeLog-7.php#7.2.34

https://www.php.net/ChangeLog-7.php#7.3.23

https://www.php.net/ChangeLog-7.php#7.4.11

Plugin Details

Severity: Medium

ID: 141355

File Name: php_7_4_11.nasl

Version: 1.8

Type: remote

Family: CGI abuses

Published: 10/9/2020

Updated: 11/22/2024

Configuration: Enable thorough checks

Supported Sensors: Nessus

Enable CGI Scanning: true

Risk Information

VPR

Risk Factor: Low

Score: 2.5

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 5

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

CVSS Score Source: CVE-2020-7069

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.9

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

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:php:php

Required KB Items: www/PHP, installed_sw/PHP

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 10/1/2020

Vulnerability Publication Date: 10/1/2020

Reference Information

CVE: CVE-2020-7069, CVE-2020-7070

IAVA: 2020-A-0445-S