Bug 836451 (CVE-2012-3369)

Summary: CVE-2012-3369 JBoss: CallerIdentityLoginModule retaining password from previous call if a null password is provided
Product: [Other] Security Response Reporter: David Jorm <djorm>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: aneelica, bbaranow, cdewolf, mjc, pcheung, security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: impact=low,public=20130124,reported=20120626,source=redhat,cvss2=4/AV:N/AC:H/Au:N/C:P/I:P/A:N,jboss/unknown=new,soap-5/EAP=affected,epp-5/PicketLink=wontfix,brms-5/Security=affected,openshift-1/jboss-as7=notaffected,openshift-1/jboss-eap6=notaffected,fedora-17/jboss-as=notaffected
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-06-02 20:32:50 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On: 843319, 843320, 843321, 843322    
Bug Blocks: 789173, 835396, 842474, 849517, 883225    

Description David Jorm 2012-06-29 02:44:07 EDT
The CallerIdentityLoginModule will retain the password from the previous call if a null password is provided, and pass the provided username along with the previously provided password as credentials for the current Principal. If the CallerIdentityLoginModule was utilized in a way that allowed a user to authenticate with a null password (rather than an empty string), then a remote attacker could exploit this flaw to hijack the credentials of a previously authenticated user if they knew their username, and were able to time their login attempt so it immediately followed a call made by the previously authenticated user.
Comment 1 Arun Babu Neelicattu 2012-07-25 00:31:06 EDT
Bug Source: https://issues.jboss.org/browse/JBPAPP-9388
Comment 17 David Jorm 2012-09-11 00:11:41 EDT
It has been found that this flaw is not exploitable on JBoss AS 7 and EAP 6. It will be fixed as a defence in depth measure in these products, but does not constitute a security flaw. This flaw is only exploitable on products based on EAP 5.
Comment 20 David Jorm 2013-01-21 22:37:34 EST
Acknowledgements:

This issue was discovered by Carlo de Wolf of Red Hat.
Comment 21 errata-xmlrpc 2013-01-24 13:09:42 EST
This issue has been addressed in following products:

  JBoss Enterprise Application Platform 5.2.0

Via RHSA-2013:0194 https://rhn.redhat.com/errata/RHSA-2013-0194.html
Comment 22 errata-xmlrpc 2013-01-24 13:32:34 EST
This issue has been addressed in following products:

  JBEAP 5 for RHEL 5

Via RHSA-2013:0192 https://rhn.redhat.com/errata/RHSA-2013-0192.html
Comment 23 errata-xmlrpc 2013-01-24 13:33:19 EST
This issue has been addressed in following products:

  JBEAP 5 for RHEL 6

Via RHSA-2013:0191 https://rhn.redhat.com/errata/RHSA-2013-0191.html
Comment 24 errata-xmlrpc 2013-01-24 13:45:36 EST
This issue has been addressed in following products:

  JBEWP 5 for RHEL 6

Via RHSA-2013:0195 https://rhn.redhat.com/errata/RHSA-2013-0195.html
Comment 25 errata-xmlrpc 2013-01-24 13:46:20 EST
This issue has been addressed in following products:

  JBEAP 5 for RHEL 4

Via RHSA-2013:0193 https://rhn.redhat.com/errata/RHSA-2013-0193.html
Comment 26 errata-xmlrpc 2013-01-24 13:58:38 EST
This issue has been addressed in following products:

  JBEWP 5 for RHEL 4

Via RHSA-2013:0197 https://rhn.redhat.com/errata/RHSA-2013-0197.html
Comment 27 errata-xmlrpc 2013-01-24 13:59:29 EST
This issue has been addressed in following products:

  JBEWP 5 for RHEL 5

Via RHSA-2013:0196 https://rhn.redhat.com/errata/RHSA-2013-0196.html
Comment 28 errata-xmlrpc 2013-01-24 14:08:33 EST
This issue has been addressed in following products:

  JBoss Enterprise Web Platform 5.2.0

Via RHSA-2013:0198 https://rhn.redhat.com/errata/RHSA-2013-0198.html
Comment 29 errata-xmlrpc 2013-01-31 15:31:30 EST
This issue has been addressed in following products:

  JBoss Enterprise BRMS Platform 5.3.1

Via RHSA-2013:0221 https://rhn.redhat.com/errata/RHSA-2013-0221.html
Comment 30 errata-xmlrpc 2013-02-20 16:44:17 EST
This issue has been addressed in following products:

  JBoss Enterprise SOA Platform 5.3.1

Via RHSA-2013:0533 https://rhn.redhat.com/errata/RHSA-2013-0533.html