[CVE-2016-2098] Possible remote code execution vulnerability in Action Pack #194
There is a possible remote code execution vulnerability in Action Pack.
Versions Affected: 3.2.x, 4.0.x, 4.1.x, 4.2.x
Applications that pass unverified user input to the
Impacted code will look like this:
class TestController < ApplicationController def show render params[:id] end end
An attacker could use the request parameters to coerce the above example
All users running an affected release should either upgrade or use one of the
The FIXED releases are available at the normal locations.
A workaround to this issue is to not pass arbitrary user input to the
For example, change this:
def show render params[:id] end
def show render verify_id(params[:id]) end private def verify_id(id) # add verification logic particular to your application here end
To aid users who aren't able to upgrade immediately we have provided a patch for
Thanks to both Tobias Kraze from makandra and joernchen of Phenoelit for reporting this!
The text was updated successfully, but these errors were encountered: