Skip to content
OpenAdvisories
Critical · 9.8 Scanner template Public exploit CVE-2017-8046 EUVD-2022-3430GHSA-9qf9-28h9-hqcj

Remote code execution in PATCH requests in Spring Data REST

Published Jan 4, 2018 · Updated Aug 5, 2024 · Assigned by dell

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

VendorProductAffectedFixed
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.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 10 repositories

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.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
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

References