Mandriva Linux Security Advisory : php (MDVSA-2012:093)

high Nessus Plugin ID 59519

Synopsis

The remote Mandriva Linux host is missing one or more security updates.

Description

Multiple vulnerabilities has been identified and fixed in php :

There is a programming error in the DES implementation used in crypt() in ext/standard/crypt_freesec.c when handling input which contains characters that can not be represented with 7-bit ASCII. When the input contains characters with only the most significant bit set (0x80), that character and all characters after it will be ignored (CVE-2012-2143).

An integer overflow, leading to heap-based buffer overflow was found in the way Phar extension of the PHP scripting language processed certain fields by manipulating TAR files. A remote attacker could provide a specially crafted TAR archive file, which once processed in an PHP application using the Phar extension could lead to denial of service (application crash), or, potentially arbitary code execution with the privileges of the user running the application (CVE-2012-2386).

The updated php packages have been upgraded to the 5.3.14 version which is not vulnerable to these issues.

Solution

Update the affected packages.

See Also

https://secuniaresearch.flexerasoftware.com/advisories/44335

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

Plugin Details

Severity: High

ID: 59519

File Name: mandriva_MDVSA-2012-093.nasl

Version: 1.16

Type: local

Published: 6/15/2012

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

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

Vulnerability Information

CPE: p-cpe:/a:mandriva:linux:php-cli, p-cpe:/a:mandriva:linux:php-tidy, p-cpe:/a:mandriva:linux:php-iconv, p-cpe:/a:mandriva:linux:php-ini, p-cpe:/a:mandriva:linux:php-bz2, p-cpe:/a:mandriva:linux:php-json, p-cpe:/a:mandriva:linux:php-mysqli, p-cpe:/a:mandriva:linux:php-pdo_mysql, p-cpe:/a:mandriva:linux:php-snmp, p-cpe:/a:mandriva:linux:php-session, p-cpe:/a:mandriva:linux:php-sqlite, p-cpe:/a:mandriva:linux:php-enchant, p-cpe:/a:mandriva:linux:php-gettext, p-cpe:/a:mandriva:linux:php-openssl, p-cpe:/a:mandriva:linux:php-soap, p-cpe:/a:mandriva:linux:php-xmlrpc, p-cpe:/a:mandriva:linux:php-curl, p-cpe:/a:mandriva:linux:php-devel, p-cpe:/a:mandriva:linux:php-mcrypt, p-cpe:/a:mandriva:linux:php-pspell, p-cpe:/a:mandriva:linux:php-recode, p-cpe:/a:mandriva:linux:php-pdo_dblib, p-cpe:/a:mandriva:linux:apache-mod_php, p-cpe:/a:mandriva:linux:php-xml, p-cpe:/a:mandriva:linux:php-filter, p-cpe:/a:mandriva:linux:php-imap, p-cpe:/a:mandriva:linux:php-pdo_odbc, p-cpe:/a:mandriva:linux:libphp5_common5, p-cpe:/a:mandriva:linux:php-bcmath, p-cpe:/a:mandriva:linux:php-mysqlnd, p-cpe:/a:mandriva:linux:php-wddx, p-cpe:/a:mandriva:linux:php-sybase_ct, p-cpe:/a:mandriva:linux:php-xsl, p-cpe:/a:mandriva:linux:php-intl, p-cpe:/a:mandriva:linux:php-gmp, p-cpe:/a:mandriva:linux:php-pcntl, p-cpe:/a:mandriva:linux:php-sysvshm, p-cpe:/a:mandriva:linux:php-mssql, p-cpe:/a:mandriva:linux:php-sysvmsg, p-cpe:/a:mandriva:linux:php-tokenizer, p-cpe:/a:mandriva:linux:php-sockets, p-cpe:/a:mandriva:linux:php-odbc, p-cpe:/a:mandriva:linux:php-xmlwriter, p-cpe:/a:mandriva:linux:php-zip, p-cpe:/a:mandriva:linux:php-gd, p-cpe:/a:mandriva:linux:php-pdo_pgsql, p-cpe:/a:mandriva:linux:php-exif, cpe:/o:mandriva:linux:2010.1, p-cpe:/a:mandriva:linux:php-mysql, p-cpe:/a:mandriva:linux:php-cgi, p-cpe:/a:mandriva:linux:php-fpm, p-cpe:/a:mandriva:linux:php-readline, p-cpe:/a:mandriva:linux:php-dba, p-cpe:/a:mandriva:linux:php-pgsql, p-cpe:/a:mandriva:linux:php-xmlreader, p-cpe:/a:mandriva:linux:php-zlib, p-cpe:/a:mandriva:linux:php-ldap, p-cpe:/a:mandriva:linux:php-dom, p-cpe:/a:mandriva:linux:php-hash, p-cpe:/a:mandriva:linux:php-phar, p-cpe:/a:mandriva:linux:php-sqlite3, p-cpe:/a:mandriva:linux:php-calendar, p-cpe:/a:mandriva:linux:lib64php5_common5, p-cpe:/a:mandriva:linux:php-pdo_sqlite, p-cpe:/a:mandriva:linux:php-posix, p-cpe:/a:mandriva:linux:php-mbstring, p-cpe:/a:mandriva:linux:php-ftp, cpe:/o:mandriva:linux:2011, p-cpe:/a:mandriva:linux:php-doc, p-cpe:/a:mandriva:linux:php-pdo, p-cpe:/a:mandriva:linux:php-shmop, p-cpe:/a:mandriva:linux:php-sysvsem, p-cpe:/a:mandriva:linux:php-ctype, p-cpe:/a:mandriva:linux:php-fileinfo

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/Mandrake/release, Host/Mandrake/rpm-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 6/15/2012

Reference Information

CVE: CVE-2012-2143, CVE-2012-2386

BID: 47545, 53729

MDVSA: 2012:093