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

Type: local

Agent: unix

Published: 5/10/2012

Updated: 3/28/2022

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: High

Score: 8.9

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

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 Vulnerability Due Dates: 4/15/2022

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