Mandriva Linux Security Advisory : php-ZendFramework (MDVSA-2015:097)

High Nessus Plugin ID 82350


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


Updated php-ZendFramework packages fix multiple vulnerabilities :

XML eXternal Entity (XXE) and XML Entity Expansion (XEE) flaws were discovered in the Zend Framework. An attacker could use these flaws to cause a denial of service, access files accessible to the server process, or possibly perform other more advanced XML External Entity (XXE) attacks (CVE-2014-2681, CVE-2014-2682, CVE-2014-2683).

Using the Consumer component of Zend_OpenId, it is possible to login using an arbitrary OpenID account (without knowing any secret information) by using a malicious OpenID Provider. That means OpenID it is possible to login using arbitrary OpenID Identity (MyOpenID, Google, etc), which are not under the control of our own OpenID Provider. Thus, we are able to impersonate any OpenID Identity against the framework (CVE-2014-2684, CVE-2014-2685).

The implementation of the ORDER BY SQL statement in Zend_Db_Select of Zend Framework 1 contains a potential SQL injection when the query string passed contains parentheses (CVE-2014-4914).

Due to a bug in PHP's LDAP extension, when ZendFramework's Zend_ldap class is used for logins, an attacker can login as any user by using a null byte to bypass the empty password check and perform an unauthenticated LDAP bind (CVE-2014-8088).

The sqlsrv PHP extension, which provides the ability to connect to Microsoft SQL Server from PHP, does not provide a built-in quoting mechanism for manually quoting values to pass via SQL queries;
developers are encouraged to use prepared statements. Zend Framework provides quoting mechanisms via Zend_Db_Adapter_Sqlsrv which uses the recommended double single quote ('') as quoting delimiters. SQL Server treats null bytes in a query as a string terminator, allowing an attacker to add arbitrary SQL following a null byte, and thus create a SQL injection (CVE-2014-8089).


Update the affected packages.

See Also

Plugin Details

Severity: High

ID: 82350

File Name: mandriva_MDVSA-2015-097.nasl

Version: $Revision: 1.1 $

Type: local

Published: 2015/03/30

Modified: 2015/03/30

Dependencies: 12634

Risk Information

Risk Factor: High


Base Score: 7.5

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

Vulnerability Information

CPE: p-cpe:/a:mandriva:linux:php-ZendFramework, p-cpe:/a:mandriva:linux:php-ZendFramework-Cache-Backend-Apc, p-cpe:/a:mandriva:linux:php-ZendFramework-Cache-Backend-Memcached, p-cpe:/a:mandriva:linux:php-ZendFramework-Captcha, p-cpe:/a:mandriva:linux:php-ZendFramework-Dojo, p-cpe:/a:mandriva:linux:php-ZendFramework-Feed, p-cpe:/a:mandriva:linux:php-ZendFramework-Gdata, p-cpe:/a:mandriva:linux:php-ZendFramework-Pdf, p-cpe:/a:mandriva:linux:php-ZendFramework-Search-Lucene, p-cpe:/a:mandriva:linux:php-ZendFramework-Services, p-cpe:/a:mandriva:linux:php-ZendFramework-demos, p-cpe:/a:mandriva:linux:php-ZendFramework-extras, p-cpe:/a:mandriva:linux:php-ZendFramework-tests, cpe:/o:mandriva:business_server:2

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

Patch Publication Date: 2015/03/28

Reference Information

CVE: CVE-2014-2681, CVE-2014-2682, CVE-2014-2683, CVE-2014-2684, CVE-2014-2685, CVE-2014-4914, CVE-2014-8088, CVE-2014-8089

MDVSA: 2015:097