-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2013.0855
           Important: Red Hat JBoss Portal 5.2.2 security update
                               19 June 2013

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           Red Hat JBoss Portal 5.2.2
Publisher:         Red Hat
Operating System:  Windows
                   UNIX variants (UNIX, Linux, OSX)
Impact/Access:     Access Privileged Data          -- Remote/Unauthenticated
                   Execute Arbitrary Code/Commands -- Remote/Unauthenticated
                   Reduced Security                -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2012-5575 CVE-2011-2730 CVE-2011-2487
                   CVE-2011-1096  

Reference:         ESB-2013.0823
                   ESB-2013.0747
                   ESB-2013.0716
                   ESB-2013.0288
                   ESB-2013.0237
                   ESB-2013.0209
                   ESB-2013.0140

Original Bulletin: 
   https://rhn.redhat.com/errata/RHSA-2013-0953.html

Comment: This advisory references vulnerabilities in products which run on 
         platforms other than Red Hat. It is recommended that administrators
         running Red Hat JBoss Portal 5.2.2 check for an updated version of 
         the software for their operating system.

- --------------------------BEGIN INCLUDED TEXT--------------------

- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

=====================================================================
                   Red Hat Security Advisory

Synopsis:          Important: Red Hat JBoss Portal 5.2.2 security update
Advisory ID:       RHSA-2013:0953-01
Product:           Red Hat JBoss Middleware
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2013-0953.html
Issue date:        2013-06-18
CVE Names:         CVE-2011-2487 CVE-2011-2730 CVE-2012-5575 
=====================================================================

1. Summary:

Red Hat JBoss Portal 5.2.2 roll up patch 1, which fixes multiple security
issues and various bugs, is now available from the Red Hat Customer Portal.

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.

2. Description:

Red Hat JBoss Portal is the open source implementation of the Java EE suite
of services and Portal services running atop Red Hat JBoss Enterprise
Application Platform.

JBoss Web Services leaked side-channel data when distributing symmetric
keys (for XML encryption), allowing a remote attacker to recover the entire
plain text form of a symmetric key. (CVE-2011-2487)

Spring framework could possibly evaluate Expression Language (EL)
expressions twice, allowing a remote attacker to execute arbitrary code in
the context of the application server, or to obtain sensitive information
from the server. (CVE-2011-2730)

Note: Manual action is required to apply the fix for CVE-2011-2730. If your
system has deployed applications which use Spring framework, the context
parameter "springJspExpressionSupport" must be set to "false" to mitigate
CVE-2011-2730, for example, in the application's web.xml file. This will
prevent the double-evaluation of EL expressions that leads to the flaw.
Red Hat JBoss Portal will deploy an application using Spring framework if
JOSSO (Java Open Single Sign-On) is configured.

XML encryption backwards compatibility attacks were found against various
frameworks, including Apache CXF. An attacker could force a server to use
insecure, legacy cryptosystems, even when secure cryptosystems were enabled
on endpoints. By forcing the use of legacy cryptosystems, flaws such as
CVE-2011-1096 and CVE-2011-2487 would be exposed, allowing plain text to be
recovered from cryptograms and symmetric keys. This issue only affected
the JBoss Web Services Native (jbossws-native) stack as Red Hat JBoss
Portal does not use JBoss Web Services CXF (jbossws-cxf). (CVE-2012-5575)

For jbossws-native, the fix for CVE-2012-5575 is implemented by two new
configuration parameters in the 'encryption' element. This element can be a
child of 'requires' in both client and server wsse configuration
descriptors (set on a per-application basis via the application's
jboss-wsse-server.xml and jboss-wsse-client.xml files). The new attributes
are 'algorithms' and 'keyWrapAlgorithms'. These attributes should contain a
blank space or comma separated list of algorithm IDs that are allowed for
the encrypted incoming message, both for encryption and private key
wrapping. For backwards compatibility, no algorithm checks are performed by
default for empty lists or missing attributes.

For example (do not include the line break in your configuration):

encryption algorithms="aes-192-gcm aes-256-gcm"
keyWrapAlgorithms="rsa_oaep"

Specifies that incoming messages are required to be encrypted, and that the
only permitted encryption algorithms are AES-192 and 256 in GCM mode, and
RSA-OAEP only for key wrapping.

Before performing any decryption, the jbossws-native stack will verify that
each algorithm specified in the incoming messages is included in the
allowed algorithms lists from these new encryption element attributes. The
algorithm values to be used for 'algorithms' and 'keyWrapAlgorithms' are
the same as for 'algorithm' and 'keyWrapAlgorithm' in the 'encrypt'
element.

Red Hat would like to thank Juraj Somorovsky of Ruhr-University Bochum
for reporting CVE-2011-2487, and Tibor Jager, Kenneth G. Paterson and Juraj
Somorovsky of Ruhr-University Bochum for reporting CVE-2012-5575.

Warning: Before applying this update, back up all applications deployed on
Red Hat JBoss Portal, along with all customized configuration files, and
any databases and database settings.

All users of Red Hat JBoss Portal 5.2.2 as provided from the Red Hat
Customer Portal are advised to apply this roll up patch.

3. Solution:

The References section of this erratum contains a download link (you must
log in to download the update). Before applying the update, back up all
applications deployed on Red Hat JBoss Portal, along with all customized
configuration files, and any databases and database settings.

Note that it is recommended to halt the Red Hat JBoss Portal server by
stopping the JBoss Application Server process before installing this
update, and then after installing the update, restart the Red Hat JBoss
Portal server by starting the JBoss Application Server process.

4. Bugs fixed (http://bugzilla.redhat.com/):

713539 - CVE-2011-2487 jbossws: Prone to Bleichenbacher attack against to be distributed symmetric key
737608 - CVE-2011-2730 Spring Framework: Information (internal server information, classpath, local working directories, session IDs) disclosure
880443 - CVE-2012-5575 jbossws-native, jbossws-cxf, apache-cxf: XML encryption backwards compatibility attacks

5. References:

https://www.redhat.com/security/data/cve/CVE-2011-2487.html
https://www.redhat.com/security/data/cve/CVE-2011-2730.html
https://www.redhat.com/security/data/cve/CVE-2012-5575.html
https://access.redhat.com/security/updates/classification/#important
https://access.redhat.com/jbossnetwork/restricted/listSoftware.html?product=jbportal&downloadType=securityPatches&version=5.2.2

6. Contact:

The Red Hat security contact is <secalert@redhat.com>.  More contact
details at https://access.redhat.com/security/team/contact/

Copyright 2013 Red Hat, Inc.
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)

iD8DBQFRwHYmXlSAg2UNWIIRAld7AKCuQ26xnHKGf8fPoHCspcPe2jrndgCdG60w
PbgYhVppcERfjvRszam4f/A=
=xmxe
- -----END PGP SIGNATURE-----

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/render.html?cid=1980

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBUcEU0O4yVqjM2NGpAQJZjQ/8D/hdKOBlNXt0gNTQqFK+/I62+VFILuP/
9dCuCAyR4Pht2h2pMlMbEw6Vflth5yDl5JmIr76+hvMDn8tg8v5A8+S15GbT/q5p
mU2aY/qEAnhayn4BHa6CyorUCSIdBCvHkD+z7M8WoRywAx+9I0LmfZsyChKZ8zww
7/XhiWM84g7UGF8QWVEGOf1mf3eWLBoxFFTQ9Hr68PY5vqYEL8HRBk0lV3tDxF2A
2O8BNNMfy9dsM105YOkATBTOwobjcaMI/tHqwNpcciF0Foc0fruklfVQ7qyrIsZE
6ybrPZ46Cc991XIGCq7TA41D3FWNW6rijh29w0mvR76HqW5F7sDtjaUYYaZmCVWy
xrsNTCtIuaEDC4wlZgyvwrHnvD+jLW0vsUxnXJ8F8nMj/I6Wk38S3hASJsF5OhFM
DsRdb7kqZSGZAcn7mgnBJMcwQxYPtbed0G9qF0bYKTMIMpXB/BU8G4UQFPRNnWcB
5g6pFqCrTsufotwcAc0Cv0jgiGk0FR03Gdm8w6MeHG80venycGLY//CX2sMe0UH8
H9v7uH/C9SSKwAS7cENslwMSHQ6hYrTIpLpfvVRnMlV/vE68CZqWVtN17tLJu5P1
QkaxLzK0ViIC0dbmbA/rQq9rJxZTcCnblEmSnOAB/4tbU9FH7FIVjttCJYlFKg8v
KZDcx1AGP7o=
=veNI
-----END PGP SIGNATURE-----