Description
Malicious PATCH requests submitted to servers using Spring Data REST versions prior to 2.6.9 (Ingalls SR9), versions prior to 3.0.1 (Kay SR1) and Spring Boot versions prior to 1.5.9, 2.0 M6 can use specially crafted JSON data to run arbitrary Java code.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Pivotal | Pivotal Spring Data REST and Spring Boot | Pivotal Spring Data REST versions prior to 2.6.9 (Ingalls SR9), 3.0.1 (Kay SR1) and Spring Boot versions prior to 1.5.9, 2.0 M6 | — |
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.
Exploit-DB 1
- Spring Data REST < 2.6.9 (Ingalls SR9) / 3.0.1 (Kay SR1) - PATCH Request Remote Code Execution EDB-44289 · webapps · Mar 15, 2018
GitHub 10 repositories
-
m3ssap0/spring-break_cve-2017-8046 ★ 17 · Mar 9, 2018
This is a Java program that exploits Spring Break vulnerability (CVE-2017-8046).
-
m3ssap0/SpringBreakVulnerableApp ★ 14 · Mar 8, 2018
WARNING: This is a vulnerable application to test the exploit for the Spring Break vulnerability (CVE-2017-8046). Run it at your own risk!
-
cved-sources/cve-2017-8046 ★ 1 · Jan 17, 2019
cve-2017-8046
-
jkutner/spring-break-cve-2017-8046 ★ 1 · Apr 16, 2018
This is a Java program that exploits Spring Break vulnerability (CVE-2017-8046).
-
FixYourFace/SpringBreakPoC ★ 1 · Mar 12, 2018
PoC for SpringBreak (CVE-2017-8046)
-
sj/spring-data-rest-CVE-2017-8046 ★ 1 · Nov 8, 2017
Fork of github.com/spring-projects/spring-data-rest (vulnerable to CVE-2017-8046)
-
lgtm-migrator/CVE-2017-8046-DEMO ★ 0 · Nov 10, 2022
SPRING DATA REST CVE-2017-8046 DEMO
-
guanjivip/CVE-2017-8046 ★ 0 · Aug 1, 2020
修改IP地址即可实现命令执行
-
jsotiro/VulnerableSpringDataRest ★ 0 · Apr 27, 2019
An intentionally vulnerable (CVE-2017-8046) SrpingData REST appl with Swagger Support for pentesting purposes
-
bkhablenko/CVE-2017-8046 ★ 0 · Sep 26, 2018
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Spring Data REST < 2.6.9 (Ingalls SR9) / 3.0.1 (Kay SR1) - PATCH Request Remote Code Execution http/cves/2017/CVE-2017-8046.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.springframework.data:spring-data-rest-core | < 2.6.9.RELEASE | 2.6.9.RELEASE | GHSA-9qf9-28h9-hqcj |
| Maven | org.springframework.data:spring-data-rest-core | >= 3.0.0, < 3.0.1.RELEASE | 3.0.1.RELEASE | GHSA-9qf9-28h9-hqcj |
Advisories 1
- WID-SEC-2024-0528 Dell Data Protection Advisor: Mehrere Schwachstellen BSI CERT-Bund (WID) · Feb 29, 2024
References
- https://pivotal.io/security/cve-2017-8046
- RHSA-2018:2405 vendor-advisory
- 100948 vdb-entry
- 44289 exploit