RHEL 5 / 6 : richfaces (RHSA-2013:1043)

high Nessus Plugin ID 76289

Synopsis

The remote Red Hat host is missing a security update for richfaces.

Description

The remote Redhat Enterprise Linux 5 / 6 host has packages installed that are affected by a vulnerability as referenced in the RHSA-2013:1043 advisory.

RichFaces is an open source framework that adds Ajax capability into existing JavaServer Faces (JSF) applications.

A flaw was found in the way RichFaces ResourceBuilderImpl handled deserialization. A remote attacker could use this flaw to trigger the execution of the deserialization methods in any serializable class deployed on the server. This could lead to a variety of security impacts depending on the deserialization logic of these classes. (CVE-2013-2165)

The fix for this issue introduces a whitelist to limit classes that can be deserialized by RichFaces.

If you require to whitelist a class that is not already listed, for example, a custom class, you can achieve this by following one of these methods:

Method 1: Implementing the SerializableResource interface.
In RichFaces 3, this is defined at org.ajax4jsf.resource.SerializableResource and in RichFaces 4/5, at org.richfaces.resource.SerializableResource.

Method 2: Adding the class to the resource-serialization.properties file (a default properties file is provided once this update is applied).
To do this you can extend the framework provided properties file that is available under org.ajax4jsf.resource in RichFaces 3 and org.richfaces.resource in RichFaces 4/5. The modified properties file has to be copied into the classpath of your deployment under the version-specific packages.

Where possible, it is recommended that Method 1 be followed.

Red Hat would like to thank Takeshi Terada (Mitsui Bussan Secure Directions, Inc.) for reporting this issue.

Warning: Before applying this update, back up your existing Red Hat JBoss Web Platform installation (including all applications and configuration files).

All users of Red Hat JBoss Web Platform 5.2.0 on Red Hat Enterprise Linux 4, 5, and 6 are advised to upgrade to these updated packages. The JBoss server process must be restarted for the update to take effect.

Tenable has extracted the preceding description block directly from the Red Hat Enterprise Linux security advisory.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Update the RHEL richfaces package based on the guidance in RHSA-2013:1043.

See Also

http://www.nessus.org/u?97fc5036

https://access.redhat.com/errata/RHSA-2013:1043

https://access.redhat.com/security/updates/classification/#critical

https://bugzilla.redhat.com/show_bug.cgi?id=973570

Plugin Details

Severity: High

ID: 76289

File Name: redhat-RHSA-2013-1043.nasl

Version: 1.14

Type: local

Agent: unix

Published: 6/28/2014

Updated: 11/4/2024

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.2

Vendor

Vendor Severity: Critical

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

CVSS Score Source: CVE-2013-2165

CVSS v3

Risk Factor: High

Base Score: 7.3

Temporal Score: 6.6

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:redhat:enterprise_linux:5, p-cpe:/a:redhat:enterprise_linux:richfaces-ui, p-cpe:/a:redhat:enterprise_linux:richfaces-demo, cpe:/o:redhat:enterprise_linux:6, p-cpe:/a:redhat:enterprise_linux:richfaces-root, p-cpe:/a:redhat:enterprise_linux:richfaces, p-cpe:/a:redhat:enterprise_linux:richfaces-framework

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

Exploit Ease: No known exploits are available

Patch Publication Date: 7/10/2013

Vulnerability Publication Date: 7/23/2013

Reference Information

CVE: CVE-2013-2165

BID: 61085

CWE: 502

RHSA: 2013:1043