Input validation error in Ruby on Rails - CVE-2013-0156

 

Input validation error in Ruby on Rails - CVE-2013-0156

Published: January 14, 2013 / Updated: November 15, 2024


Vulnerability identifier: #VU31841
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/U:Green
CVE-ID: CVE-2013-0156
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vendor: Rails
Affected software:
Ruby on Rails

Detailed vulnerability description

The vulnerability allows a remote non-authenticated attacker to read and manipulate data.

active_support/core_ext/hash/conversions.rb in Ruby on Rails before 2.3.15, 3.0.x before 3.0.19, 3.1.x before 3.1.10, and 3.2.x before 3.2.11 does not properly restrict casts of string values, which allows remote attackers to conduct object-injection attacks and execute arbitrary code, or cause a denial of service (memory and CPU consumption) involving nested XML entity references, by leveraging Action Pack support for (1) YAML type conversion or (2) Symbol type conversion.


How to mitigate CVE-2013-0156

Install update from vendor's website.

Sources