<?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-ec2-eap 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-2012:1376</ID></Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
       <Revision>
         <Number>1</Number>
         <Date>2012-10-16T13:20:00Z</Date>
         <Description>Current version</Description>
       </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2012-10-16T13:20:00Z</InitialReleaseDate>
    <CurrentReleaseDate>2012-10-16T13:20:00Z</CurrentReleaseDate>
    <Generator>
      <Engine>Red Hat rhsa-to-cvrf 1.0.1484</Engine>
      <Date>2012-10-16T13:21:01Z</Date>
    </Generator>
  </DocumentTracking>
  <DocumentNotes>
    <Note Title="Topic" Type="Summary" Ordinal="1" xml:lang="en">
An updated jboss-ec2-eap package that fixes one security issue is now
available for JBoss Enterprise Application Platform 5.1.2 for Red Hat
Enterprise Linux 6 running on the Amazon Web Services (AWS) Elastic Compute
Cloud (EC2).

The Red Hat Security Response Team has rated this update as having low
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-ec2-eap provides JBoss Operations Network (JBoss ON) scripts for
JBoss Enterprise Application Platform running on the Amazon Web
Services (AWS) Elastic Compute Cloud (EC2).

It was found that the &quot;/var/cache/jboss-ec2-eap/&quot; directory had world
readable permissions when using the EC2 AMI (Amazon Machine Image) for
JBoss Enterprise Application Platform 5.1.2 on Red Hat Enterprise Linux
6. A local attacker could use this flaw to read potentially sensitive
information from this directory, such as Amazon Web Services (AWS)
credentials. (CVE-2012-3427)

Note: This flaw only affected the EC2 AMI for JBoss Enterprise Application
Platform 5.1.2.

This issue was discovered by Aleksandar Kostadinov of the Red Hat QE Team.

Warning: Before applying this update, back up your JBoss Enterprise
Application Platform's &quot;server/[PROFILE]/deploy/&quot; directory, along with all
other customized configuration files.

Users of JBoss Enterprise Application Platform 5.1.2 on Red Hat Enterprise
Linux 6 running on EC2 should upgrade to this updated package, which
corrects this issue. The JBoss server process must be restarted for this
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 © 2012 Red Hat, Inc. All rights reserved.</DocumentDistribution>
  <AggregateSeverity Namespace="https://access.redhat.com/security/updates/classification/">Low</AggregateSeverity>
  <DocumentReferences>
    <Reference Type="Self">
       <URL>https://rhn.redhat.com/errata/RHSA-2012-1376.html</URL>
       <Description>https://rhn.redhat.com/errata/RHSA-2012-1376.html</Description>
    </Reference>
    <Reference>
       <URL>https://access.redhat.com/security/updates/classification/#low</URL>
       <Description>https://access.redhat.com/security/updates/classification/#low</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 6 Server">
        <FullProductName ProductID="6Server-JBEAP-5">JBoss Enterprise Application Platform 5 for RHEL 6 Server</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="jboss-ec2-eap-5.1.2-8.11.ep5.el6">
      <FullProductName ProductID="jboss-ec2-eap-5.1.2-8.11.ep5.el6">jboss-ec2-eap-5.1.2-8.11.ep5.el6.src.rpm</FullProductName>
    </Branch>
    <Relationship ProductReference="jboss-ec2-eap-5.1.2-8.11.ep5.el6" RelationType="Default Component Of" RelatesToProductReference="6Server-JBEAP-5">
      <FullProductName ProductID="6Server-JBEAP-5:jboss-ec2-eap-5.1.2-8.11.ep5.el6">jboss-ec2-eap-5.1.2-8.11.ep5.el6 as a component of JBoss Enterprise Application Platform 5 for RHEL 6 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">It was found that the &quot;/var/cache/jboss-ec2-eap/&quot; directory had world readable permissions when using the EC2 AMI (Amazon Machine Image) for JBoss Enterprise Application Platform 5.1.2 on Red Hat Enterprise Linux 6. A local attacker could use this flaw to read potentially sensitive information from this directory, such as Amazon Web Services (AWS) credentials. </Note></Notes>
    <DiscoveryDate>2012-07-24T00:00:00Z</DiscoveryDate>
    <ReleaseDate>2012-10-16T00:00:00Z</ReleaseDate>
    <Involvements><Involvement Party="Vendor" Status="Completed"></Involvement></Involvements>
    <CVE>CVE-2012-3427</CVE>
    <ProductStatuses><Status Type="Fixed">
      <ProductID>6Server-JBEAP-5:jboss-ec2-eap-5.1.2-8.11.ep5.el6</ProductID>
    </Status></ProductStatuses>
    <Threats><Threat Type="Impact"><Description>Low</Description></Threat></Threats>
    <CVSSScoreSets><ScoreSet>
      <BaseScore>2.1</BaseScore>
      <Vector>AV:L/AC:L/Au:N/C:P/I:N/A:N</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-2012-1376.html</URL></Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.redhat.com/security/data/cve/CVE-2012-3427.html</URL>
        <Description>CVE-2012-3427</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.redhat.com/show_bug.cgi?id=843335</URL>
        <Description>bz#843335: CVE-2012-3427 JBoss EAP 5 AMI: insecure default file permissions for /var/cache/jboss-ec2-eap</Description>
      </Reference>
    </References>
    <Acknowledgments><Acknowledgment><Description>This issue was discovered by Aleksandar Kostadinov of the Red Hat QE Team.</Description></Acknowledgment></Acknowledgments>
  </Vulnerability>
</cvrfdoc>
