Description
Spring Framework 3.0.0 through 3.0.5, Spring Security 3.0.0 through 3.0.5 and 2.0.0 through 2.0.6, and possibly other versions deserialize objects from untrusted sources, which allows remote attackers to bypass intended security restrictions and execute untrusted code by (1) serializing a java.lang.Proxy instance and using InvocationHandler, or (2) accessing internal AOP interfaces, as demonstrated using deserialization of a DefaultListableBeanFactory instance to execute arbitrary commands via the java.lang.Runtime class.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
pwntester/SpringBreaker ★ 44 · Jul 31, 2013
Exploit PoC for Spring RCE issue (CVE-2011-2894)
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.springframework:spring-core | >= 3.0.0, < 3.0.6 | 3.0.6 | GHSA-f866-m9mv-2xr3 |
| Maven | org.springframework.security:spring-security-core | >= 3.0.0, < 3.0.6 | 3.0.6 | GHSA-f866-m9mv-2xr3 |
| Maven | org.springframework.security:spring-security-core | >= 2.0.0, < 2.0.7 | 2.0.7 | GHSA-f866-m9mv-2xr3 |
References
- http://www.springsource.com/security/cve-2011-2894
- 49536 vdb-entry
- 20110909 CVE-2011-2894: Spring Framework and Spring Security serialization-based remoting vulnerabilities mailing-list
- RHSA-2011:1334 vendor-advisory
- spring-framework-object-sec-bypass(69687) vdb-entry
- 8405 third-party-advisory
- 75263 vdb-entry
- https://web.archive.org/web/20120307233721/http://www.springsource.com/security/cve-2011-2894