GitHub Advisoryadvisory · Maven
GHSA-wmv4-5w76-vp9g Authorization Bypass in Spring Security
CRITICAL
Official page ↗
- Aliases
- CVE-2014-3527
- Ecosystem
- Maven
- Packages
- org.springframework.security:spring-security-core
- Severity
- Critical
- CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-287
- Reviewed
- 2020-09-15
Affected packages
• Maven org.springframework.security:spring-security-core: < 3.1.7 → fixed in 3.1.7
• Maven org.springframework.security:spring-security-core: >= 3.2.0, < 3.2.5 → fixed in 3.2.5
Description
When using Spring Security's CAS Proxy ticket authentication a malicious CAS Service could trick another CAS Service into authenticating a proxy ticket that was not associated. This is due to the fact that the proxy ticket authentication uses the information from the HttpServletRequest which is populated based upon untrusted information within the HTTP request.
This means if there are access control restrictions on which CAS services can authenticate to one another, those restrictions can be bypassed.
If users are not using CAS Proxy tickets and not basing access control decisions based upon the CAS Service, then there is no impact to users.
Mitigation
Users of affected versions should apply the following mitigation:
• Users of 3.2x should upgrade to 3.2.5 or later
• Users of 3.1.x should upgrade to 3.1.7 or later
Credit
This issue was identified by David Ohsie and brought to our attention by the CAS Development team.
Related
Alias · CVE (1)
- CVE-2014-3527 When using the CAS Proxy ticket authentication from Spring Security 3.1 to 3.2.4 a malicious CAS Service could trick another CAS Service… vulnerability
Weakness · CWE (1)
- CWE-287 Improper Authentication weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2014-3527 advisory
- https://github.com/spring-projects/spring-security/issues/2907 web
- https://github.com/spring-projects/spring-security/commit/934937d9c1dc20c396b96c08310b72cfa627acb web
- https://github.com/spring-projects/spring-security web
- https://pivotal.io/security/cve-2014-3527 web