PHP 7.3.x < 7.3.26 / 7.4.x < 7.4.14 / 8.x < 8.0.1 Input Validation Error

medium Nessus Plugin ID 144947

Synopsis

The version of PHP running on the remote web server is affected by an input validation error

Description

The version of PHP installed on the remote host is 7.3.x prior to 7.3.26, 7.4.x prior to 7.4.14, or 8.x prior to 8.0.1.
It is, therefore, affected by an input validation error due to insufficient validation of a URL, as specified by the changelogs of the respective fixed releases. An unauthenticated, remote attacker can exploit this, by including an '@' character, in order to bypass the URL filter.

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.3.26, 7.4.14, 8.0.1 or later.

See Also

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

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

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

Plugin Details

Severity: Medium

ID: 144947

File Name: php_8_0_1.nasl

Version: 1.8

Type: remote

Family: CGI abuses

Published: 1/14/2021

Updated: 6/4/2024

Configuration: Enable thorough checks

Supported Sensors: Nessus

Enable CGI Scanning: true

Risk Information

VPR

Risk Factor: Low

Score: 2.2

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.9

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

CVSS Score Source: CVE-2020-7071

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Temporal Score: 4.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/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

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 1/7/2021

Vulnerability Publication Date: 1/7/2021

Reference Information

CVE: CVE-2020-7071

IAVA: 2021-A-0009-S