Security Advisory Important: apache-cxf security update

Advisory: RHSA-2013:0644-1
Type: Security Advisory
Severity: Important
Issued on: 2013-03-13
Last updated on: 2013-03-13
Affected Products: JBoss Enterprise Application Platform 6 EL5
JBoss Enterprise Application Platform 6 EL6
CVEs (cve.mitre.org): CVE-2012-5633
CVE-2013-0239

Details

An updated apache-cxf package for JBoss Enterprise Application Platform
6.0.1 which fixes two security issues is now available for Red Hat
Enterprise Linux 5 and 6.

The Red Hat Security Response Team has rated this update as having
important security impact. Common Vulnerability Scoring System (CVSS) base
scores, which give detailed severity ratings, are available for each
vulnerability from the CVE links in the References section.

Apache CXF is an open source services framework.

It was found that the Apache CXF UsernameTokenPolicyValidator and
UsernameTokenInterceptor allowed a UsernameToken element with no password
child element to bypass authentication. A remote attacker could use this
flaw to circumvent access controls applied to web services by omitting the
password in a UsernameToken. This flaw was exploitable on web services that
rely on WS-SecurityPolicy plain text UsernameTokens to authenticate users.
It was not exploitable when using hashed passwords or WS-Security without
WS-SecurityPolicy. (CVE-2013-0239)

If web services were deployed using Apache CXF with the WSS4JInInterceptor
enabled to apply WS-Security processing, HTTP GET requests to these
services were always granted access, without applying authentication
checks. The URIMappingInterceptor is a legacy mechanism for allowing
REST-like access (via GET requests) to simple SOAP services. A remote
attacker could use this flaw to access the REST-like interface of a simple
SOAP service using GET requests that bypass the security constraints
applied by WSS4JInInterceptor. This flaw was only exploitable if
WSS4JInInterceptor was used to apply WS-Security processing. Services that
use WS-SecurityPolicy to apply security were not affected. (CVE-2012-5633)

Warning: Before applying this update, back up your existing JBoss
Enterprise Application Platform installation and deployed applications.

All users of JBoss Enterprise Application Platform 6.0.1 on Red Hat
Enterprise Linux 5 and 6 are advised to upgrade to this updated package.
The JBoss server process must be restarted for the update to take effect.


Solution

Before applying this update, make sure all previously-released errata
relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to
use the Red Hat Network to apply this update are available at
https://access.redhat.com/knowledge/articles/11258

Updated packages

JBoss Enterprise Application Platform 6 EL5

SRPMS:
apache-cxf-2.4.9-6.redhat_3.ep6.el5.src.rpm
File outdated by:  RHBA-2015:1236
    MD5: 80cf2482584141ff7773fb5100773236
SHA-256: f15a10a8afce8e884817cc5e19881c1bd531d34895ada9a46066a091fc5b8ca6
 
IA-32:
apache-cxf-2.4.9-6.redhat_3.ep6.el5.noarch.rpm
File outdated by:  RHBA-2015:1236
    MD5: 15729f56b2582b6bd96768ab89b4ca8f
SHA-256: b59e0497baa4b4f16fb708d80fffd6b93f29814e5e0fa912d88d8b49cf39b6c2
 
x86_64:
apache-cxf-2.4.9-6.redhat_3.ep6.el5.noarch.rpm
File outdated by:  RHBA-2015:1236
    MD5: 15729f56b2582b6bd96768ab89b4ca8f
SHA-256: b59e0497baa4b4f16fb708d80fffd6b93f29814e5e0fa912d88d8b49cf39b6c2
 
JBoss Enterprise Application Platform 6 EL6

IA-32:
apache-cxf-2.4.9-6.redhat_3.ep6.el6.noarch.rpm
File outdated by:  RHBA-2015:1237
    MD5: 4169ff226b838f9afe9843119d375277
SHA-256: 209b8592530b5d7212fd5122d79c8c7b30fd627e7233ae162cf57bb19125e248
 
x86_64:
apache-cxf-2.4.9-6.redhat_3.ep6.el6.noarch.rpm
File outdated by:  RHBA-2015:1237
    MD5: 4169ff226b838f9afe9843119d375277
SHA-256: 209b8592530b5d7212fd5122d79c8c7b30fd627e7233ae162cf57bb19125e248
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

889008 - CVE-2012-5633 jbossws-cxf, apache-cxf: Bypass of security constraints on WS endpoints when using WSS4JInInterceptor
905722 - CVE-2013-0239 jbossws-cxf, apache-cxf: UsernameTokenPolicyValidator and UsernameTokenInterceptor allow empty passwords to authenticate


References



These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/