Bug 1160574 (CVE-2014-7827)

Summary: CVE-2014-7827 JBoss Security: Wrong security context loaded when using SAML2 STS Login Module
Product: [Other] Security Response Reporter: Arun Babu Neelicattu <aneelica>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: anmiller, bdawidow, cdewolf, chazlett, dandread, darran.lofthouse, grocha, hfnukal, jawilson, jcacek, jcoleman, jpallich, kconner, kejohnso, lgao, mweiler, myarboro, olukas, pavelp, pgier, pskopek, pslavice, rsvoboda, rzhang, security-response-team, sguilhen, spinder, theute, ttarrant, vtunka
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
It was found that when processing undefined security domains, the org.jboss.security.plugins.mapping.JBossMappingManager implementation would fall back to the default security domain if it was available. A user with valid credentials in the defined default domain, with a role that is valid in the expected application domain, could perform actions that were otherwise not available to them. When using the SAML2 STS Login Module, JBossMappingManager exposed this issue due to the PicketLink Trust SecurityActions implementation using a hardcoded default value when defining the context.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-02 17:58:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1162884, 1162885, 1163831, 1163832, 1163833, 1163835, 1163836, 1163837, 1163838, 1163839, 1163841, 1163842, 1163844    
Bug Blocks: 1155350, 1160563, 1210482    

Description Arun Babu Neelicattu 2014-11-05 08:13:34 UTC
It was discovered that when dealing with undefined security domains, the org.jboss.security.plugins.mapping.JBossMappingManager implementation would fall back to the default security domain if available. A user with valid credentials in the defined default domain, with a role that is valid in the expected application domain, can perform actions that was otherwise not available to them. When using the SAML2 STS Login Module, JBossMappingManager exposes this issue since PicketLink Trust SecurityActions implementation use a hardcoded default value when defining the context.

Comment 1 Arun Babu Neelicattu 2014-11-05 08:17:11 UTC
Acknowledgements:

This issue was discovered by Ondra Lukas of the Red Hat Quality Engineering Team.

Comment 2 Arun Babu Neelicattu 2014-11-05 08:23:39 UTC
Statement:

Red Hat JBoss BRMS 5; Red Hat JBoss Enterprise Application Platform 4 and 5; Red Hat JBoss Enterprise Portal Platform 5; Red Hat JBoss Enterprise SOA Platform 4 and 5; and Red Hat JBoss Enterprise Web Platform 5 are now in Phase 3, Extended Life Support, of their respective life cycles. This issue has been rated as having Low security impact and is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat JBoss Middleware and Red Hat JBoss Operations Network Product Update and Support Policy: https://access.redhat.com/support/policy/updates/jboss_notes/

Comment 5 errata-xmlrpc 2015-02-11 20:06:42 UTC
This issue has been addressed in the following products:

  JBoss Enterprise Application Platform 6.3.3

Via RHSA-2015:0215 https://rhn.redhat.com/errata/RHSA-2015-0215.html

Comment 6 errata-xmlrpc 2015-02-11 20:26:32 UTC
This issue has been addressed in the following products:

  JBEAP 6.3.z for RHEL 6

Via RHSA-2015:0217 https://rhn.redhat.com/errata/RHSA-2015-0217.html

Comment 7 errata-xmlrpc 2015-02-11 20:28:00 UTC
This issue has been addressed in the following products:

  JBEAP 6.3.z for RHEL 5

Via RHSA-2015:0216 https://rhn.redhat.com/errata/RHSA-2015-0216.html

Comment 8 errata-xmlrpc 2015-02-11 21:14:37 UTC
This issue has been addressed in the following products:

  JBEAP 6.3.z for RHEL 7

Via RHSA-2015:0218 https://rhn.redhat.com/errata/RHSA-2015-0218.html

Comment 9 Arun Babu Neelicattu 2015-02-12 01:16:48 UTC
Victims Record:

https://github.com/victims/victims-cve-db/blob/master/database/java/2014/7827.yaml

Comment 14 errata-xmlrpc 2015-04-16 16:07:37 UTC
This issue has been addressed in the following products:

  JBoss BPM Suite 6.1.0

Via RHSA-2015:0851 https://rhn.redhat.com/errata/RHSA-2015-0851.html

Comment 15 errata-xmlrpc 2015-04-16 16:10:29 UTC
This issue has been addressed in the following products:

  JBoss BRMS 6.1.0

Via RHSA-2015:0850 https://rhn.redhat.com/errata/RHSA-2015-0850.html

Comment 16 Chess Hazlett 2015-11-02 17:58:04 UTC
All trackers fixed/errata or resolved. Closing flaw bug.