Executive Summary



This Alert is flagged as TOP 25 Common Weakness Enumeration from CWE/SANS. For more information, you can read this.
Summary
Title rails security update
Informations
Name DSA-2247 First vendor Publication 2011-05-31
Vendor Debian Last vendor Modification 2011-05-31
Severity (Vendor) N/A Revision 1

Security-Database Scoring CVSS v3

Cvss vector : N/A
Overall CVSS Score NA
Base Score NA Environmental Score NA
impact SubScore NA Temporal Score NA
Exploitabality Sub Score NA
 
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector : (AV:N/AC:M/Au:N/C:P/I:P/A:P)
Cvss Base Score 6.8 Attack Range Network
Cvss Impact Score 6.4 Attack Complexity Medium
Cvss Expoit Score 8.6 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

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.

For the oldstable distribution (lenny), this problem has been fixed in version 2.1.0-7+lenny0.1.

For the stable distribution (squeeze), this problem has been fixed in version 2.3.5-1.2+squeeze0.1.

For the unstable distribution (sid), this problem has been fixed in version 2.3.11-0.1.

We recommend that you upgrade your rails packages.

Original Source

Url : http://www.debian.org/security/2011/dsa-2247

CWE : Common Weakness Enumeration

% Id Name
50 % CWE-352 Cross-Site Request Forgery (CSRF) (CWE/SANS Top 25)
50 % CWE-79 Failure to Preserve Web Page Structure ('Cross-site Scripting') (CWE/SANS Top 25)

OVAL Definitions

Definition Id: oval:org.mitre.oval:def:12893
 
Oval ID: oval:org.mitre.oval:def:12893
Title: DSA-2247-1 rails -- several vulnerabilities
Description: 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 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 attacks.
Family: unix Class: patch
Reference(s): DSA-2247-1
CVE-2011-0446
CVE-2011-0447
Version: 5
Platform(s): Debian GNU/Linux 5.0
Debian GNU/Linux 6.0
Debian GNU/kFreeBSD 6.0
Product(s): rails
Definition Synopsis:

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 30

OpenVAS Exploits

Date Description
2011-09-12 Name : Fedora Update for rubygem-actionpack FEDORA-2011-11567
File : nvt/gb_fedora_2011_11567_rubygem-actionpack_fc14.nasl
2011-08-03 Name : Debian Security Advisory DSA 2247-1 (rails)
File : nvt/deb_2247_1.nasl
2011-03-08 Name : Fedora Update for rubygem-actionpack FEDORA-2011-2133
File : nvt/gb_fedora_2011_2133_rubygem-actionpack_fc14.nasl
2011-03-08 Name : Fedora Update for rubygem-actionpack FEDORA-2011-2138
File : nvt/gb_fedora_2011_2138_rubygem-actionpack_fc13.nasl
2011-02-23 Name : Ruby on Rails Multiple Cross Site Scripting Vulnerabilities
File : nvt/secpod_ruby_rails_mult_xss_vuln.nasl
2011-02-22 Name : Mandriva Update for python-django MDVSA-2011:031 (python-django)
File : nvt/gb_mandriva_MDVSA_2011_031.nasl
2010-08-02 Name : Ruby on Rails Cross Site Request Forgery Vulnerability
File : nvt/secpod_ruby_rails_csrf_vuln.nasl

Open Source Vulnerability Database (OSVDB)

Id Description
70928 Ruby on Rails mail_to Helper Multiple Parameter XSS

Ruby on Rails contains a flaw that allows a remote cross-site scripting (XSS) attack. This flaw exists because the application does not validate the 'name' or 'email' values upon submission to the 'mail_to' helper. This may allow a user to create a specially crafted URL that would execute arbitrary script code in a user's browser within the trust relationship between their browser and the server.
70927 Ruby on Rails Ajax/API Request CSRF Protection Bypass

Ruby on Rails contains a flaw that allows a remote Cross-site Request Forgery (CSRF / XSRF) attack. The flaw exists because the application does not require multiple steps or explicit confirmation for AJAX or API HTTP requests that contain a X-Requested-With header. This makes it easier for an attacker to use a crafted URL (e.g., a crafted GET request inside an "img" tag) to trick the victim into clicking on the image to take advantage of the trust relationship between the authenticated victim and the application. Such an attack could trick the victim into executing arbitrary commands in the context of their session with the application, without further prompting or verification.

Nessus® Vulnerability Scanner

Date Description
2014-12-15 Name : The remote Gentoo host is missing one or more security-related patches.
File : gentoo_GLSA-201412-28.nasl - Type : ACT_GATHER_INFO
2014-06-13 Name : The remote openSUSE host is missing a security update.
File : suse_11_3_rubygem-actionmailer-111116.nasl - Type : ACT_GATHER_INFO
2014-06-13 Name : The remote openSUSE host is missing a security update.
File : suse_11_4_rubygem-actionmailer-111116.nasl - Type : ACT_GATHER_INFO
2011-06-10 Name : The remote Debian host is missing a security-related update.
File : debian_DSA-2247.nasl - Type : ACT_GATHER_INFO
2011-04-06 Name : The remote Fedora host is missing one or more security updates.
File : fedora_2011-4358.nasl - Type : ACT_GATHER_INFO
2011-03-07 Name : The remote Fedora host is missing a security update.
File : fedora_2011-2133.nasl - Type : ACT_GATHER_INFO
2011-03-07 Name : The remote Fedora host is missing a security update.
File : fedora_2011-2138.nasl - Type : ACT_GATHER_INFO
2011-02-20 Name : The remote Mandriva Linux host is missing a security update.
File : mandriva_MDVSA-2011-031.nasl - Type : ACT_GATHER_INFO

Alert History

If you want to see full details history, please login or register.
0
Date Informations
2014-02-17 11:30:12
  • Multiple Updates