Exploit databaseDownload repository ZIP
GH-08b4e46992fde5efb0a6e5e3983b5d84
jas502n/cve-2019-12384
Sources for CVE-2019-12384
5 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files9
jas502n/cve-2019-12384Revision 20605173b861
- classpath/
- jruby-9.2.7.0/
- CVE-2019-12384.jpg
- CVE-2019-12384.sh
- README.md
- exploited.txt
- inject.sql
- python.sh
- test.rb
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
test.rb
Ruby · 531 bytesrequire 'java'
Dir["./classpath/*.jar"].each do |f|
require f
end
java_import 'com.fasterxml.jackson.databind.ObjectMapper'
java_import 'com.fasterxml.jackson.databind.SerializationFeature'
content = ARGV[0]
puts "Mapping"
mapper = ObjectMapper.new
mapper.enableDefaultTyping()
mapper.configure(SerializationFeature::FAIL_ON_EMPTY_BEANS, false);
puts "Serializing"
obj = mapper.readValue(content, java.lang.Object.java_class) # invokes all the setters
puts "objectified"
puts "stringified: " + mapper.writeValueAsString(obj)