CVE-2016-2098 - POC of RCE Ruby on Rails: Improper Input Validation (CVE-2016-2098) in bash. Remote attackers can execute arbitrary Ruby code by leveraging an application's unrestricted use of the render method.# CVE-2016-2098
Action Pack in Ruby on Rails before 3.2.22.2, 4.x before 4.1.14.2, and 4.2.x before 4.2.5.2 allows remote attackers to execute arbitrary Ruby code by leveraging an application's unrestricted use of the render method (RCE)
https://nvd.nist.gov/vuln/detail/CVE-2016-2098
# Use
git clone https://github.com/Debalinax64/CVE-2016-2098.git
cd CVE-2016-2098
/bin/bash ruby-on-rail-RCE.sh < website> <target_uri> < command>
Example: /bin/bash ruby-on-rail-RCE.sh "http://target.com" "pages?id" "pwd"
[4.0K] /data/pocs/1d1950de49d5edea50a1b1e424217deed3061369
├── [ 519] README.md
└── [ 664] ruby-on-rail-RCE.sh
0 directories, 2 files