Amazon Linux AMI : php-ZendFramework (ALAS-2014-377)

high Nessus Plugin ID 78320
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Synopsis

The remote Amazon Linux AMI host is missing a security update.

Description

The GenericConsumer class in the Consumer component in ZendOpenId before 2.0.2 and the Zend_OpenId_Consumer class in Zend Framework 1 before 1.12.4 violate the OpenID 2.0 protocol by ensuring only that at least one field is signed, which allows remote attackers to bypass authentication by leveraging an assertion from an OpenID provider.

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.

Using the Consumer component of ZendOpenId (or Zend_OpenId in ZF1), 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.

Moreover, the Consumer accepts OpenID tokens with arbitrary signed elements. The framework does not check if, for example, both openid.claimed_id and openid.endpoint_url are signed. It is just sufficient to sign one parameter. According to https://openid.net/specs/openid-authentication-2_0.html#positive_asser tions, at least op_endpoint, return_to, response_nonce, assoc_handle, and, if present in the response, claimed_id and identity, must be signed.

Solution

Run 'yum update php-ZendFramework' to update your system.

See Also

http://www.nessus.org/u?acf9f182

https://alas.aws.amazon.com/ALAS-2014-377.html

Plugin Details

Severity: High

ID: 78320

File Name: ala_ALAS-2014-377.nasl

Version: 1.3

Type: local

Agent: unix

Published: 10/12/2014

Updated: 4/18/2018

Dependencies: ssh_get_info.nasl

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.5

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:php-ZendFramework, p-cpe:/a:amazon:linux:php-ZendFramework-Auth-Adapter-Ldap, p-cpe:/a:amazon:linux:php-ZendFramework-Cache-Backend-Apc, p-cpe:/a:amazon:linux:php-ZendFramework-Cache-Backend-Libmemcached, p-cpe:/a:amazon:linux:php-ZendFramework-Cache-Backend-Memcached, p-cpe:/a:amazon:linux:php-ZendFramework-Captcha, p-cpe:/a:amazon:linux:php-ZendFramework-Db-Adapter-Mysqli, p-cpe:/a:amazon:linux:php-ZendFramework-Db-Adapter-Pdo, p-cpe:/a:amazon:linux:php-ZendFramework-Db-Adapter-Pdo-Mssql, p-cpe:/a:amazon:linux:php-ZendFramework-Db-Adapter-Pdo-Mysql, p-cpe:/a:amazon:linux:php-ZendFramework-Db-Adapter-Pdo-Pgsql, p-cpe:/a:amazon:linux:php-ZendFramework-Dojo, p-cpe:/a:amazon:linux:php-ZendFramework-Feed, p-cpe:/a:amazon:linux:php-ZendFramework-Ldap, p-cpe:/a:amazon:linux:php-ZendFramework-Pdf, p-cpe:/a:amazon:linux:php-ZendFramework-Search-Lucene, p-cpe:/a:amazon:linux:php-ZendFramework-Serializer-Adapter-Igbinary, p-cpe:/a:amazon:linux:php-ZendFramework-Services, p-cpe:/a:amazon:linux:php-ZendFramework-Soap, p-cpe:/a:amazon:linux:php-ZendFramework-demos, p-cpe:/a:amazon:linux:php-ZendFramework-extras, p-cpe:/a:amazon:linux:php-ZendFramework-full, cpe:/o:amazon:linux

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

Patch Publication Date: 7/23/2014

Reference Information

CVE: CVE-2014-2681, CVE-2014-2682, CVE-2014-2683, CVE-2014-2684, CVE-2014-2685

ALAS: 2014-377