Debian DSA-2465-1 : php5 - several vulnerabilities

high Nessus Plugin ID 59059


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


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.


Upgrade the php5 packages.

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

See Also

Plugin Details

Severity: High

ID: 59059

File Name: debian_DSA-2465.nasl

Version: 1.19

Type: local

Agent: unix

Published: 5/10/2012

Updated: 3/28/2022

Supported Sensors: Frictionless Assessment Agent, Nessus Agent

Risk Information


Risk Factor: High

Score: 8.9


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

CISA Known Exploited Dates: 4/15/2022

Exploitable With


Core Impact

Metasploit (PHP CGI Argument Injection)

Reference Information

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

BID: 53388, 53403

DSA: 2465