<?xml version="1.0" encoding="utf-8"?>
<cvrfdoc xmlns="http://www.icasi.org/CVRF/schema/cvrf/1.1" xmlns:cvrf="http://www.icasi.org/CVRF/schema/cvrf/1.1">
  <DocumentTitle xml:lang="en">Red Hat Security Advisory: JBoss Enterprise Application Platform 5.2.0 security update</DocumentTitle>
  <DocumentType>Security Advisory</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>secalert@redhat.com</ContactDetails>
    <IssuingAuthority>Red Hat Security Response Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification><ID>RHSA-2013:0229</ID></Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
       <Revision>
         <Number>1</Number>
         <Date>2013-02-04T23:17:00Z</Date>
         <Description>Current version</Description>
       </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2013-02-04T23:17:00Z</InitialReleaseDate>
    <CurrentReleaseDate>2013-02-04T23:17:00Z</CurrentReleaseDate>
    <Generator>
      <Engine>Red Hat rhsa-to-cvrf 1.0.1484</Engine>
      <Date>2013-02-04T23:22:01Z</Date>
    </Generator>
  </DocumentTracking>
  <DocumentNotes>
    <Note Title="Topic" Type="Summary" Ordinal="1" xml:lang="en">
An updated jbosssx2 package for JBoss Enterprise Application Platform 5.2.0
that fixes one security issue is now available for Red Hat Enterprise Linux
4, 5, and 6.

The Red Hat Security Response Team has rated this update as having
important security impact. A Common Vulnerability Scoring System (CVSS)
base score, which gives a detailed severity rating, is available from the
CVE link in the References section.    </Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">
JBoss Enterprise Application Platform is a platform for Java applications,
which integrates the JBoss Application Server with JBoss Hibernate and
JBoss Seam.

When using LDAP authentication with the provided LDAP login modules
(LdapLoginModule/LdapExtLoginModule), empty passwords were allowed by
default. An attacker could use this flaw to bypass intended authentication
by providing an empty password for a valid username, as the LDAP server may
recognize this as an 'unauthenticated authentication' (RFC 4513). This
update sets the allowEmptyPasswords option for the LDAP login modules to
false if the option is not already configured. (CVE-2012-5629)

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

All users of JBoss Enterprise Application Platform 5.2.0 on Red Hat
Enterprise Linux 4, 5, and 6 are advised to upgrade to this updated
package. The JBoss server process must be restarted for the update to take
effect.    </Note>
    <Note Title="Terms of Use" Ordinal="3" Type="Legal Disclaimer" xml:lang="en">Please see https://www.redhat.com/footer/terms-of-use.html</Note>
  </DocumentNotes>
  <DocumentDistribution xml:lang="en">Copyright © 2013 Red Hat, Inc. All rights reserved.</DocumentDistribution>
  <AggregateSeverity Namespace="https://access.redhat.com/security/updates/classification/">Important</AggregateSeverity>
  <DocumentReferences>
    <Reference Type="Self">
       <URL>https://rhn.redhat.com/errata/RHSA-2013-0229.html</URL>
       <Description>https://rhn.redhat.com/errata/RHSA-2013-0229.html</Description>
    </Reference>
    <Reference>
       <URL>https://access.redhat.com/security/updates/classification/#important</URL>
       <Description>https://access.redhat.com/security/updates/classification/#important</Description>
    </Reference>
    <Reference>
       <URL>http://tools.ietf.org/html/rfc4513</URL>
       <Description>http://tools.ietf.org/html/rfc4513</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="JBoss Enterprise Application Platform">
      <Branch Type="Product Name" Name="JBoss Enterprise Application Platform 5 for RHEL 4 AS">
        <FullProductName ProductID="4AS-JBEAP-5">JBoss Enterprise Application Platform 5 for RHEL 4 AS</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="JBoss Enterprise Application Platform 5 for RHEL 6 Server">
        <FullProductName ProductID="6Server-JBEAP-5">JBoss Enterprise Application Platform 5 for RHEL 6 Server</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="JBoss Enterprise Application Platform 5 for RHEL 4 ES">
        <FullProductName ProductID="4ES-JBEAP-5">JBoss Enterprise Application Platform 5 for RHEL 4 ES</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="JBoss Enterprise Application Platform 5 for RHEL 5 Server">
        <FullProductName ProductID="5Server-JBEAP-5">JBoss Enterprise Application Platform 5 for RHEL 5 Server</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="jbosssx2-2.0.5-9.1.SP3_1_patch_01.ep5.el6">
      <FullProductName ProductID="jbosssx2-2.0.5-9.1.SP3_1_patch_01.ep5.el6">jbosssx2-2.0.5-9.1.SP3_1_patch_01.ep5.el6.src.rpm</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="jbosssx2-2.0.5-9.SP3_1_patch_01.ep5.el4">
      <FullProductName ProductID="jbosssx2-2.0.5-9.SP3_1_patch_01.ep5.el4">jbosssx2-2.0.5-9.SP3_1_patch_01.ep5.el4.src.rpm</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="jbosssx2-2.0.5-9.SP3_1_patch_01.ep5.el5">
      <FullProductName ProductID="jbosssx2-2.0.5-9.SP3_1_patch_01.ep5.el5">jbosssx2-2.0.5-9.SP3_1_patch_01.ep5.el5.src.rpm</FullProductName>
    </Branch>
    <Relationship ProductReference="jbosssx2-2.0.5-9.SP3_1_patch_01.ep5.el4" RelationType="Default Component Of" RelatesToProductReference="4AS-JBEAP-5">
      <FullProductName ProductID="4AS-JBEAP-5:jbosssx2-2.0.5-9.SP3_1_patch_01.ep5.el4">jbosssx2-2.0.5-9.SP3_1_patch_01.ep5.el4 as a component of JBoss Enterprise Application Platform 5 for RHEL 4 AS</FullProductName>
    </Relationship>
    <Relationship ProductReference="jbosssx2-2.0.5-9.1.SP3_1_patch_01.ep5.el6" RelationType="Default Component Of" RelatesToProductReference="6Server-JBEAP-5">
      <FullProductName ProductID="6Server-JBEAP-5:jbosssx2-2.0.5-9.1.SP3_1_patch_01.ep5.el6">jbosssx2-2.0.5-9.1.SP3_1_patch_01.ep5.el6 as a component of JBoss Enterprise Application Platform 5 for RHEL 6 Server</FullProductName>
    </Relationship>
    <Relationship ProductReference="jbosssx2-2.0.5-9.SP3_1_patch_01.ep5.el4" RelationType="Default Component Of" RelatesToProductReference="4ES-JBEAP-5">
      <FullProductName ProductID="4ES-JBEAP-5:jbosssx2-2.0.5-9.SP3_1_patch_01.ep5.el4">jbosssx2-2.0.5-9.SP3_1_patch_01.ep5.el4 as a component of JBoss Enterprise Application Platform 5 for RHEL 4 ES</FullProductName>
    </Relationship>
    <Relationship ProductReference="jbosssx2-2.0.5-9.SP3_1_patch_01.ep5.el5" RelationType="Default Component Of" RelatesToProductReference="5Server-JBEAP-5">
      <FullProductName ProductID="5Server-JBEAP-5:jbosssx2-2.0.5-9.SP3_1_patch_01.ep5.el5">jbosssx2-2.0.5-9.SP3_1_patch_01.ep5.el5 as a component of JBoss Enterprise Application Platform 5 for RHEL 5 Server</FullProductName>
    </Relationship>
  </ProductTree>

  <Vulnerability Ordinal="1" xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1">
    <Notes><Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">When using LDAP authentication with the provided LDAP login modules (LdapLoginModule/LdapExtLoginModule), empty passwords were allowed by default. An attacker could use this flaw to bypass intended authentication by providing an empty password for a valid username, as the LDAP server may recognize this as an 'unauthenticated authentication' (RFC 4513). This update sets the allowEmptyPasswords option for the LDAP login modules to false if the option is not already configured. </Note></Notes>
    <DiscoveryDate>2012-12-07T00:00:00Z</DiscoveryDate>
    <ReleaseDate>2013-02-04T00:00:00Z</ReleaseDate>
    <Involvements><Involvement Party="Vendor" Status="Completed"></Involvement></Involvements>
    <CVE>CVE-2012-5629</CVE>
    <ProductStatuses><Status Type="Fixed">
      <ProductID>4AS-JBEAP-5:jbosssx2-2.0.5-9.SP3_1_patch_01.ep5.el4</ProductID>
      <ProductID>4ES-JBEAP-5:jbosssx2-2.0.5-9.SP3_1_patch_01.ep5.el4</ProductID>
      <ProductID>5Server-JBEAP-5:jbosssx2-2.0.5-9.SP3_1_patch_01.ep5.el5</ProductID>
      <ProductID>6Server-JBEAP-5:jbosssx2-2.0.5-9.1.SP3_1_patch_01.ep5.el6</ProductID>
    </Status></ProductStatuses>
    <Threats><Threat Type="Impact"><Description>Important</Description></Threat></Threats>
    <CVSSScoreSets><ScoreSet>
      <BaseScore>7.5</BaseScore>
      <Vector>AV:N/AC:L/Au:N/C:P/I:P/A:P</Vector>
    </ScoreSet></CVSSScoreSets>
    <Remediations>
      <Remediation Type="Vendor Fix"><Description xml:lang="en">
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    </Description>      <URL>https://rhn.redhat.com/errata/RHSA-2013-0229.html</URL></Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.redhat.com/security/data/cve/CVE-2012-5629.html</URL>
        <Description>CVE-2012-5629</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.redhat.com/show_bug.cgi?id=885569</URL>
        <Description>bz#885569: CVE-2012-5629 JBoss: allows empty password to authenticate against LDAP</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
