Remote code execution in Ruby on Rails

Published: 2016-03-16 17:27:36
Severity High
Patch available YES
Number of vulnerabilities 1
CVE ID CVE-2016-2098
CVSSv3 8.7 [CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H/E:U/RL:O/RC:C]
CWE ID CWE-94
Exploitation vector Network
Public exploit Not available
Vulnerable software Ruby on Rails
Vulnerable software versions Ruby on Rails 3.2.22.1
Ruby on Rails 3.2.22
Ruby on Rails 3.2.21
Show more
Vendor URL Rails

Security Advisory

1) Code injection

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to improper input validation in "render()" function. A remote attacker can send a specially crafted request to the vulnerable application and execute arbitrary code on the target system.

Successful exploitation of the vulnerability may allow an attacker to compromise vulnerable system.

Remediation

Update to version 3.2.22.2, 4.1.14.2 or 4.2.5.2.

External links

https://groups.google.com/forum/#!msg/rubyonrails-security/ly-IH-fxr_Q/WLoOhcMZIAAJ

Back to List