Exploit database

GH-c92592bd3594ce4ac32f7ba544255e71

javanxd/demo-exploit-jackson-rce

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2017-7525

9 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.

Repository files2

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

backend/src/main/java/de/javan/jacksonrce/app/api/PingResource.java

Java · 647 bytes
package de.javan.jacksonrce.app.api;

import java.util.HashMap;
import java.util.Map;

import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@CrossOrigin
@RestController
public class PingResource {

    @GetMapping(path = "/ping")
    public ResponseEntity<Map<String, String>> ping() {
        Map<String, String> map = new HashMap<>();
        map.put("ping", "pong");
        return new ResponseEntity<>(map, HttpStatus.OK);
    }
}