<?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: jbossweb 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:0235</ID></Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
       <Revision>
         <Number>1</Number>
         <Date>2013-02-04T23:35:00Z</Date>
         <Description>Current version</Description>
       </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2013-02-04T23:35:00Z</InitialReleaseDate>
    <CurrentReleaseDate>2013-02-04T23:35:00Z</CurrentReleaseDate>
    <Generator>
      <Engine>Red Hat rhsa-to-cvrf 1.0.1484</Engine>
      <Date>2013-02-04T23:42:02Z</Date>
    </Generator>
  </DocumentTracking>
  <DocumentNotes>
    <Note Title="Topic" Type="Summary" Ordinal="1" xml:lang="en">
An update for JBoss Enterprise Portal Platform 5.2.2 and JBoss Enterprise
SOA Platform 5.3.0 that fixes one security issue is now available from the
Red Hat Customer Portal.

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 Web is a web container based on Apache Tomcat. It provides a single
deployment platform for the JavaServer Pages (JSP) and Java Servlet
technologies.

It was found that when an application used FORM authentication, along with
another component that calls request.setUserPrincipal() before the call to
FormAuthenticator#authenticate() (such as the Single-Sign-On valve), it was
possible to bypass the security constraint checks in the FORM authenticator
by appending &quot;/j_security_check&quot; to the end of a URL. A remote attacker
with an authenticated session on an affected application could use this
flaw to circumvent authorization controls, and thereby access resources not
permitted by the roles associated with their authenticated session.
(CVE-2012-3546)

Warning: Before applying this update, back up your JBoss installation,
including any databases, database settings, applications, configuration
files, and so on.

All users of JBoss Enterprise Portal Platform 5.2.2 and JBoss Enterprise
SOA Platform 5.3.0 as provided from the Red Hat Customer Portal are advised
to install this update.    </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-0235.html</URL>
       <Description>https://rhn.redhat.com/errata/RHSA-2013-0235.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>https://access.redhat.com/jbossnetwork/restricted/listSoftware.html?downloadType=securityPatches&amp;product=jbportal&amp;version=5.2.2</URL>
       <Description>https://access.redhat.com/jbossnetwork/restricted/listSoftware.html?downloadType=securityPatches&amp;product=jbportal&amp;version=5.2.2</Description>
    </Reference>
    <Reference>
       <URL>https://access.redhat.com/jbossnetwork/restricted/listSoftware.html?downloadType=securityPatches&amp;product=soaplatform&amp;version=5.3.0+GA</URL>
       <Description>https://access.redhat.com/jbossnetwork/restricted/listSoftware.html?downloadType=securityPatches&amp;product=soaplatform&amp;version=5.3.0+GA</Description>
    </Reference>
    <Reference>
       <URL>http://tomcat.apache.org/security-6.html</URL>
       <Description>http://tomcat.apache.org/security-6.html</Description>
    </Reference>
  </DocumentReferences>

  <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 when an application used FORM authentication, along with another component that calls request.setUserPrincipal() before the call to FormAuthenticator#authenticate() (such as the Single-Sign-On valve), it was possible to bypass the security constraint checks in the FORM authenticator by appending &quot;/j_security_check&quot; to the end of a URL. A remote attacker with an authenticated session on an affected application could use this flaw to circumvent authorization controls, and thereby access resources not permitted by the roles associated with their authenticated session. </Note></Notes>
    <DiscoveryDate>2012-12-05T00:00:00Z</DiscoveryDate>
    <ReleaseDate>2012-12-04T00:00:00Z</ReleaseDate>
    <Involvements><Involvement Party="Vendor" Status="Completed"></Involvement></Involvements>
    <CVE>CVE-2012-3546</CVE>
    <Threats><Threat Type="Impact"><Description>Important</Description></Threat></Threats>
    <CVSSScoreSets><ScoreSet>
      <BaseScore>5.5</BaseScore>
      <Vector>AV:N/AC:L/Au:S/C:P/I:P/A:N</Vector>
    </ScoreSet></CVSSScoreSets>
    <Remediations>
      <Remediation Type="Vendor Fix"><Description xml:lang="en">
The References section of this erratum contains download links (you must
log in to download the update). Before applying this update, back up your
JBoss installation, including any databases, database settings,
applications, configuration files, and so on.

For both JBoss Enterprise Portal Platform and JBoss Enterprise SOA
Platform, it is recommended to halt the server by stopping the JBoss
Application Server process before installing this update, and then after
installing the update, restart the server by starting the JBoss Application
Server process.    </Description>      <URL>https://rhn.redhat.com/errata/RHSA-2013-0235.html</URL></Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.redhat.com/security/data/cve/CVE-2012-3546.html</URL>
        <Description>CVE-2012-3546</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.redhat.com/show_bug.cgi?id=883634</URL>
        <Description>bz#883634: CVE-2012-3546 Tomcat/JBoss Web: Bypass of security constraints</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
