#VU8567 Code injection in Ruby on Rails


| Updated: 2024-04-19

Vulnerability identifier: #VU8567

Vulnerability risk: High

CVSSv3.1: 9.3 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H/E:F/RL:O/RC:C]

CVE-ID: CVE-2016-2098

CWE-ID: CWE-94

Exploitation vector: Network

Exploit availability: Yes

Vulnerable software:
Ruby on Rails
Universal components / Libraries / Scripting languages

Vendor: Rails

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.

Mitigation
Update to version 3.2.22.2, 4.1.14.2 or 4.2.5.2.

Vulnerable software versions

Ruby on Rails: 3.2.0 - 3.2.22.1, 4.0.0 - 4.0.13 rc1, 4.1.0 - 4.1.14.1, 4.2.0 - 4.2.5 rc2


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


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, a fully functional exploit for this vulnerability is available.


Latest bulletins with this vulnerability