Debian DSA-2465-1 : php5 - several vulnerabilities

high Nessus Plugin ID 59059
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Synopsis

The remote Debian host is missing a security-related update.

Description

De Eindbazen discovered that PHP, when run with mod_cgi, will interpret a query string as command line parameters, allowing to execute arbitrary code.

Additionally, this update fixes insufficient validation of upload name which lead to corrupted $_FILES indices.

Solution

Upgrade the php5 packages.

For the stable distribution (squeeze), this problem has been fixed in version 5.3.3-7+squeeze9.

See Also

https://packages.debian.org/source/squeeze/php5

https://www.debian.org/security/2012/dsa-2465

Plugin Details

Severity: High

ID: 59059

File Name: debian_DSA-2465.nasl

Version: 1.18

Type: local

Agent: unix

Published: 5/10/2012

Updated: 1/11/2021

Dependencies: ssh_get_info.nasl

Risk Information

VPR

Risk Factor: Critical

Score: 9.4

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

Temporal Vector: E:H/RL:OF/RC:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:php5, cpe:/o:debian:debian_linux:6.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/9/2012

Exploitable With

CANVAS (CANVAS)

Core Impact

Metasploit (PHP CGI Argument Injection)

Reference Information

CVE: CVE-2012-1172, CVE-2012-1823, CVE-2012-2311

BID: 53388, 53403

DSA: 2465