Red Hat Security Advisory 2012-1026-01 - JBoss Application Server is the base package for JBoss Enterprise Application Platform, providing the core server components. The Java Naming and Directory Interface Java API allows Java software clients to locate objects or services in an application server. The Java Authorization Contract for Containers specification defines Permission classes and the binding of container access decisions to operations on instances of these permission classes. JaccAuthorizationRealm performs authorization based on Java ACC permissions and a Policy implementation. It was found that the JBoss JNDI service allowed unauthenticated, remote write access by default. The JNDI and HA-JNDI services, and the HAJNDIFactory invoker servlet were all affected. A remote attacker able to access the JNDI service, HA-JNDI service, or the HAJNDIFactory invoker servlet on a JBoss server could use this flaw to add, delete, and modify items in the JNDI tree. This could have various, application-specific impacts.
4168e8b5dde8d8685ff22bfc83da9f6eacabfa3c71ef704249f1b017705b45a7
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
=====================================================================
Red Hat Security Advisory
Synopsis: Important: jbossas and jboss-naming security update
Advisory ID: RHSA-2012:1026-01
Product: JBoss Enterprise Application Platform
Advisory URL: https://rhn.redhat.com/errata/RHSA-2012-1026.html
Issue date: 2012-06-20
CVE Names: CVE-2011-4605 CVE-2012-1167
=====================================================================
1. Summary:
Updated jbossas and jboss-naming packages that fix two security issues are
now available for JBoss Enterprise Application Platform 5.1.2 for Red Hat
Enterprise Linux 4, 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.
2. Relevant releases/architectures:
JBoss Enterprise Application Platform 5 for RHEL 4 AS - noarch
JBoss Enterprise Application Platform 5 for RHEL 4 ES - noarch
JBoss Enterprise Application Platform 5 for RHEL 5 Server - noarch
JBoss Enterprise Application Platform 5 for RHEL 6 Server - noarch
3. Description:
JBoss Application Server is the base package for JBoss Enterprise
Application Platform, providing the core server components. The Java Naming
and Directory Interface (JNDI) Java API allows Java software clients to
locate objects or services in an application server. The Java Authorization
Contract for Containers (Java ACC) specification defines Permission classes
and the binding of container access decisions to operations on instances of
these permission classes. JaccAuthorizationRealm performs authorization
based on Java ACC permissions and a Policy implementation.
It was found that the JBoss JNDI service allowed unauthenticated, remote
write access by default. The JNDI and HA-JNDI services, and the
HAJNDIFactory invoker servlet were all affected. A remote attacker able to
access the JNDI service (port 1099), HA-JNDI service (port 1100), or the
HAJNDIFactory invoker servlet on a JBoss server could use this flaw to add,
delete, and modify items in the JNDI tree. This could have various,
application-specific impacts. (CVE-2011-4605)
When a JBoss server is configured to use JaccAuthorizationRealm, the
WebPermissionMapping class creates permissions that are not checked and can
permit access to users without checking their roles. If the
ignoreBaseDecision property is set to true on JBossWebRealm, the web
authorization process is handled exclusively by JBossAuthorizationEngine,
without any input from JBoss Web. This allows any valid user to access an
application, without needing to be assigned the role specified in the
application's web.xml "security-constraint" tag. (CVE-2012-1167)
Red Hat would like to thank Christian Schlüter (VIADA) for reporting
CVE-2011-4605.
Warning: Before applying this update, back up your JBoss Enterprise
Application Platform's "server/[PROFILE]/deploy/" directory, along with all
other customized configuration files.
Users of JBoss Enterprise Application Platform 5.1.2 on Red Hat Enterprise
Linux 4, 5, and 6 should upgrade to these updated packages, which correct
these issues. The JBoss server process must be restarted for this update to
take effect.
4. 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
5. Bugs fixed (https://bugzilla.redhat.com/):
766469 - CVE-2011-4605 JNDI: unauthenticated remote write access is permitted by default
802622 - CVE-2012-1167 JBoss: authentication bypass when running under JACC with ignoreBaseDecision on JBossWebRealm
6. Package List:
JBoss Enterprise Application Platform 5 for RHEL 4 AS:
Source:
ftp://updates.redhat.com/enterprise/4AS/en/JBEAP/SRPMS/jboss-naming-5.0.3-4.CP01_patch_01.1.ep5.el4.src.rpm
ftp://updates.redhat.com/enterprise/4AS/en/JBEAP/SRPMS/jbossas-5.1.2-10.ep5.el4.src.rpm
noarch:
jboss-naming-5.0.3-4.CP01_patch_01.1.ep5.el4.noarch.rpm
jbossas-5.1.2-10.ep5.el4.noarch.rpm
jbossas-client-5.1.2-10.ep5.el4.noarch.rpm
jbossas-messaging-5.1.2-10.ep5.el4.noarch.rpm
jbossas-ws-native-5.1.2-10.ep5.el4.noarch.rpm
JBoss Enterprise Application Platform 5 for RHEL 4 ES:
Source:
ftp://updates.redhat.com/enterprise/4ES/en/JBEAP/SRPMS/jboss-naming-5.0.3-4.CP01_patch_01.1.ep5.el4.src.rpm
ftp://updates.redhat.com/enterprise/4ES/en/JBEAP/SRPMS/jbossas-5.1.2-10.ep5.el4.src.rpm
noarch:
jboss-naming-5.0.3-4.CP01_patch_01.1.ep5.el4.noarch.rpm
jbossas-5.1.2-10.ep5.el4.noarch.rpm
jbossas-client-5.1.2-10.ep5.el4.noarch.rpm
jbossas-messaging-5.1.2-10.ep5.el4.noarch.rpm
jbossas-ws-native-5.1.2-10.ep5.el4.noarch.rpm
JBoss Enterprise Application Platform 5 for RHEL 5 Server:
Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/JBEAP/SRPMS/jboss-naming-5.0.3-4.CP01_patch_01.1.ep5.el5.src.rpm
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/JBEAP/SRPMS/jbossas-5.1.2-10.ep5.el5.src.rpm
noarch:
jboss-naming-5.0.3-4.CP01_patch_01.1.ep5.el5.noarch.rpm
jbossas-5.1.2-10.ep5.el5.noarch.rpm
jbossas-client-5.1.2-10.ep5.el5.noarch.rpm
jbossas-messaging-5.1.2-10.ep5.el5.noarch.rpm
jbossas-ws-native-5.1.2-10.ep5.el5.noarch.rpm
JBoss Enterprise Application Platform 5 for RHEL 6 Server:
Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/JBEAP/SRPMS/jboss-naming-5.0.3-4.CP01_patch_01.2.ep5.el6.src.rpm
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/JBEAP/SRPMS/jbossas-5.1.2-10.ep5.el6.src.rpm
noarch:
jboss-naming-5.0.3-4.CP01_patch_01.2.ep5.el6.noarch.rpm
jbossas-5.1.2-10.ep5.el6.noarch.rpm
jbossas-client-5.1.2-10.ep5.el6.noarch.rpm
jbossas-messaging-5.1.2-10.ep5.el6.noarch.rpm
jbossas-ws-native-5.1.2-10.ep5.el6.noarch.rpm
These packages are GPG signed by Red Hat for security. Our key and
details on how to verify the signature are available from
https://access.redhat.com/security/team/key/#package
7. References:
https://www.redhat.com/security/data/cve/CVE-2011-4605.html
https://www.redhat.com/security/data/cve/CVE-2012-1167.html
https://access.redhat.com/security/updates/classification/#important
8. Contact:
The Red Hat security contact is <secalert@redhat.com>. More contact
details at https://access.redhat.com/security/team/contact/
Copyright 2012 Red Hat, Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)
iD8DBQFP4fXKXlSAg2UNWIIRAiuOAJ4m5i1k9Emuqxb1QHBkfojEYonqGwCdHKTK
iTqEhwZiNIQR62MU+g17vNg=
=ZTTD
-----END PGP SIGNATURE-----
--
RHSA-announce mailing list
RHSA-announce@redhat.com
https://www.redhat.com/mailman/listinfo/rhsa-announce