Bug 737617 (CVE-2011-2732)

Summary: CVE-2011-2732 Spring Security: Header injection flaw due improper use of 'spring-security-redirect' parameter
Product: [Other] Security Response Reporter: Jan Lieskovsky <jlieskov>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: brms-jira, djorm, tkirby
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-15 08:45:36 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:    
Bug Blocks: 737623    

Description Jan Lieskovsky 2011-09-12 18:00:59 UTC
A header injection flaw was found in the way the Spring Security tool processed the value of 'spring-security-redirect' parameter by user logout. A remote attacker could provide a specially-crafted URL, which once visited by a valid Spring Security tool user, could allow the attacker inject additional HTTP headers or split the response.

References:
[1] http://www.securityfocus.com/archive/1/519592/30/0/threaded
[2] http://www.springsource.com/security/cve-2011-2732

Comment 1 Jan Lieskovsky 2011-09-12 18:02:53 UTC
Sample PoC (from [1]):
=======================
<quote>
Example:
A logout link such as
/mywebapp/logout/spring-security-redirect=%0d%0a%20NewHeader%3ainjectedV
alue
could be used to inject the header
NewHeader:InjectedValue
to the response
</quote>

Comment 2 David Jorm 2011-09-15 08:45:36 UTC
Statement:

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