Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 737613 - (CVE-2011-2731) CVE-2011-2731 Spring Security: Privilege escalation by using RunAsManager mechanism
CVE-2011-2731 Spring Security: Privilege escalation by using RunAsManager mec...
Status: CLOSED NOTABUG
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20110909,repor...
: Security
Depends On:
Blocks: 737623
  Show dependency treegraph
 
Reported: 2011-09-12 13:51 EDT by Jan Lieskovsky
Modified: 2011-09-15 04:44 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2011-09-15 04:44:08 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jan Lieskovsky 2011-09-12 13:51:43 EDT
A privilege escalation flaw was found in the way the RunAsManager mechanism of the Spring Security tool performed user account (privileges) switch. Due to a race condition, a remote attacker could use this flaw to escalate their privileges (elevated privileges would be shared between concurrently executing threads).

References:
[1] http://www.securityfocus.com/archive/1/519594/30/0/threaded
[2] http://www.springsource.com/security/cve-2011-2731
Comment 1 Jan Lieskovsky 2011-09-12 13:52:47 EDT
Sample PoC (from [1]):
======================
<quote>
Example:
If the RunAsManager returns an Authentication object for the current invocation, the security interceptor will temporarily store this in the security context for the duration of the invocation. This authentication object would be shared with other concurrently executing threads, leading to a possible escalation of privileges in those threads.
</quote>
Comment 2 David Jorm 2011-09-15 04:44:08 EDT
Statement:

Not vulnerable. This issue affects the Spring Security package, which is not shipped with any Red Hat products.

Note You need to log in before you can comment on or make changes to this bug.