Distro advisory · Debian 5
rails - several vulnerabilities
Description
Vulnerability : several vulnerabilities Problem type : remote Debian-specific: no CVE ID : CVE-2011-0446 CVE-2011-0447 Debian Bug : 614864
Several vulnerabilities have been discovered in Rails, the Ruby web application framework. The Common Vulnerabilities and Exposures project identifies the following problems:
CVE-2011-0446
Multiple cross-site scripting (XSS) vulnerabilities when JavaScript
encoding is used, allow remote attackers to inject arbitrary web
script or HTML.
CVE-2011-0447
Rails does not properly validate HTTP requests that contain an
X-Requested-With header, which makes it easier for remote attackers
to conduct cross-site request forgery (CSRF) attacks.
Manual fix · Debian 5
sudo apt-get updatesudo apt-get install --only-upgrade railsdpkg -s rails | grep VersionSources