PHP 5.5.x < 5.5.11 awk Magic Parsing BEGIN DoS

medium Nessus Plugin ID 73411

Synopsis

The remote web server uses a version of PHP that is potentially affected by a denial of service vulnerability.

Description

According to its banner, the version of PHP 5.5.x installed on the remote host is a version prior to 5.5.11. It is, therefore, potentially affected by a denial of service vulnerability.

A flaw exists in the awk script detector within magic/Magdir/commands where multiple wildcards with unlimited repetitions are used. This could allow a context dependent attacker to cause a denial of service with a specially crafted ASCII file.

Note that this plugin has not attempted to exploit this issue, but has instead relied only on PHP's self-reported version number.

Solution

Upgrade to PHP version 5.5.11 or later.

See Also

http://www.php.net/ChangeLog-5.php#5.5.11

Plugin Details

Severity: Medium

ID: 73411

File Name: php_5_5_11.nasl

Version: 1.11

Type: remote

Family: CGI abuses

Published: 4/8/2014

Updated: 5/31/2024

Configuration: Enable thorough checks

Supported Sensors: Nessus

Enable CGI Scanning: true

Risk Information

VPR

Risk Factor: Medium

Score: 4.2

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

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

CVSS Score Source: CVE-2013-7345

Vulnerability Information

CPE: cpe:/a:php:php

Required KB Items: www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Patch Publication Date: 4/3/2014

Vulnerability Publication Date: 12/31/2011

Reference Information

CVE: CVE-2013-7345

BID: 66406