Debian DSA-2465-1 : php5 - several vulnerabilities

High Nessus Plugin ID 59059

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.16

Type: local

Agent: unix

Published: 2012/05/10

Updated: 2018/11/10

Dependencies: 12634

Risk Information

Risk Factor: High

CVSS v2.0

Base Score: 7.5

Temporal Score: 6.5

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

Temporal Vector: CVSS2#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: 2012/05/09

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