Vulnerability Name:

CVE-2009-4214 (CCN-54437)

Assigned:2009-11-30
Published:2009-11-30
Updated:2019-08-08
Summary:Cross-site scripting (XSS) vulnerability in the strip_tags function in Ruby on Rails before 2.2.s, and 2.3.x before 2.3.5, allows remote attackers to inject arbitrary web script or HTML via vectors involving non-printing ASCII characters, related to HTML::Tokenizer and actionpack/lib/action_controller/vendor/html-scanner/html/node.rb.
CVSS v3 Severity:5.3 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): Low
Availibility (A): None
CVSS v2 Severity:4.3 Medium (CVSS v2 Vector: AV:N/AC:M/Au:N/C:N/I:P/A:N)
3.7 Low (Temporal CVSS v2 Vector: AV:N/AC:M/Au:N/C:N/I:P/A:N/E:H/RL:OF/RC:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Medium
Authentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): Partial
Availibility (A): None
4.3 Medium (CCN CVSS v2 Vector: AV:N/AC:M/Au:N/C:N/I:P/A:N)
3.7 Low (CCN Temporal CVSS v2 Vector: AV:N/AC:M/Au:N/C:N/I:P/A:N/E:H/RL:OF/RC:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Medium
Athentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): Partial
Availibility (A): None
Vulnerability Type:CWE-79
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2009-4214

Source: CONFIRM
Type: Patch
http://github.com/rails/rails/commit/bfe032858077bb2946abe25e95e485ba6da86bd5

Source: MLIST
Type: UNKNOWN
[rubyonrails-security] 20091127 XSS Weakness in strip_tags

Source: APPLE
Type: UNKNOWN
APPLE-SA-2010-03-29-1

Source: SUSE
Type: UNKNOWN
SUSE-SR:2010:006

Source: CCN
Type: SA37446
Ruby on Rails "strip_tags" Cross-Site Scripting Vulnerability

Source: SECUNIA
Type: Vendor Advisory
37446

Source: SECUNIA
Type: Vendor Advisory
38915

Source: CCN
Type: SECTRACK ID: 1023245
Ruby on Rails Input Validation Flaw in strip_tags() Permits Cross-Site Scripting Attacks

Source: CCN
Type: Apple Web site
About the security content of Security Update 2010-002 / Mac OS X v10.6.3

Source: CONFIRM
Type: UNKNOWN
http://support.apple.com/kb/HT4077

Source: CCN
Type: Ruby on Rails Weblog
Ruby on Rails 2.3.5 Released

Source: CONFIRM
Type: UNKNOWN
http://weblog.rubyonrails.org/2009/11/30/ruby-on-rails-2-3-5-released

Source: DEBIAN
Type: UNKNOWN
DSA-2260

Source: DEBIAN
Type: UNKNOWN
DSA-2301

Source: DEBIAN
Type: DSA-2260
rails -- several vulnerabilities

Source: DEBIAN
Type: DSA-2301
rails -- several vulnerabilities

Source: CCN
Type: GLSA-200912-02
Ruby on Rails: Multiple vulnerabilities

Source: MLIST
Type: UNKNOWN
[oss-security] 20091127 CVE request: ruby on rails XSS Weakness in strip_tags

Source: MLIST
Type: UNKNOWN
[oss-security] 20091208 Re: CVE request: ruby on rails XSS Weakness in strip_tags

Source: CCN
Type: OSVDB ID: 60544
Ruby on Rails HTML::Tokenizer strip_tags Function XSS

Source: CCN
Type: Ruby on Rails Web site
Download Ruby on Rails

Source: BID
Type: Patch
37142

Source: CCN
Type: BID-37142
Ruby on Rails 'strip_tags()' Non-Printable Character Cross Site Scripting Vulnerability

Source: SECTRACK
Type: UNKNOWN
1023245

Source: VUPEN
Type: Patch, Vendor Advisory
ADV-2009-3352

Source: XF
Type: UNKNOWN
rubyonrails-striptags-xss(54437)

Source: SUSE
Type: SUSE-SR:2010:005
SUSE Security Summary Report

Source: SUSE
Type: SUSE-SR:2010:006
SUSE Security Summary Report

Vulnerable Configuration:Configuration 1:
  • cpe:/a:rubyonrails:rails:2.3.2:*:*:*:*:*:*:*
  • OR cpe:/a:rubyonrails:rails:2.3.3:*:*:*:*:*:*:*
  • OR cpe:/a:rubyonrails:rails:2.3.4:*:*:*:*:*:*:*

  • Configuration 2:
  • cpe:/a:rubyonrails:rails:0.9.1:*:*:*:*:*:*:*
  • OR cpe:/a:rubyonrails:rails:0.9.2:*:*:*:*:*:*:*
  • OR cpe:/a:rubyonrails:rails:0.9.3:*:*:*:*:*:*:*
  • OR cpe:/a:rubyonrails:rails:0.9.4:*:*:*:*:*:*:*
  • OR cpe:/a:rubyonrails:rails:0.9.4.1:*:*:*:*:*:*:*
  • OR cpe:/a:rubyonrails:rails:0.10.0:*:*:*:*:*:*:*
  • OR cpe:/a:rubyonrails:rails:0.10.1:*:*:*:*:*:*:*
  • OR cpe:/a:rubyonrails:rails:0.11.0:*:*:*:*:*:*:*
  • OR cpe:/a:rubyonrails:rails:0.11.1:*:*:*:*:*:*:*
  • OR cpe:/a:rubyonrails:rails:0.12.0:*:*:*:*:*:*:*
  • OR cpe:/a:rubyonrails:rails:0.12.1:*:*:*:*:*:*:*
  • OR cpe:/a:rubyonrails:rails:0.13.0:*:*:*:*:*:*:*
  • OR cpe:/a:rubyonrails:rails:0.13.1:*:*:*:*:*:*:*
  • OR cpe:/a:rubyonrails:rails:0.14.1:*:*:*:*:*:*:*
  • OR cpe:/a:rubyonrails:rails:0.14.2:*:*:*:*:*:*:*
  • OR cpe:/a:rubyonrails:rails:0.14.3:*:*:*:*:*:*:*
  • OR cpe:/a:rubyonrails:rails:0.14.4:*:*:*:*:*:*:*
  • OR cpe:/a:rubyonrails:rails:1.0.0:*:*:*:*:*:*:*
  • OR cpe:/a:rubyonrails:rails:1.1.0:-:*:*:*:*:*:*
  • OR cpe:/a:rubyonrails:rails:1.1.1:*:*:*:*:*:*:*
  • OR cpe:/a:rubyonrails:rails:1.1.2:*:*:*:*:*:*:*
  • OR cpe:/a:rubyonrails:rails:1.1.3:*:*:*:*:*:*:*
  • OR cpe:/a:rubyonrails:rails:1.1.4:*:*:*:*:*:*:*
  • OR cpe:/a:rubyonrails:rails:1.1.5:*:*:*:*:*:*:*
  • OR cpe:/a:rubyonrails:rails:1.1.6:*:*:*:*:*:*:*
  • OR cpe:/a:rubyonrails:rails:1.2.0:-:*:*:*:*:*:*
  • OR cpe:/a:rubyonrails:rails:1.2.1:*:*:*:*:*:*:*
  • OR cpe:/a:rubyonrails:rails:1.2.2:*:*:*:*:*:*:*
  • OR cpe:/a:rubyonrails:rails:1.2.3:*:*:*:*:*:*:*
  • OR cpe:/a:rubyonrails:rails:1.2.4:*:*:*:*:*:*:*
  • OR cpe:/a:rubyonrails:rails:1.2.5:*:*:*:*:*:*:*
  • OR cpe:/a:rubyonrails:rails:1.2.6:*:*:*:*:*:*:*
  • OR cpe:/a:rubyonrails:rails:1.9.5:*:*:*:*:*:*:*
  • OR cpe:/a:rubyonrails:rails:2.0.0:-:*:*:*:*:*:*
  • OR cpe:/a:rubyonrails:rails:2.0.0:rc1:*:*:*:*:*:*
  • OR cpe:/a:rubyonrails:rails:2.0.0:rc2:*:*:*:*:*:*
  • OR cpe:/a:rubyonrails:rails:2.0.1:*:*:*:*:*:*:*
  • OR cpe:/a:rubyonrails:rails:2.0.2:*:*:*:*:*:*:*
  • OR cpe:/a:rubyonrails:rails:2.0.4:*:*:*:*:*:*:*
  • OR cpe:/a:rubyonrails:rails:2.1.0:-:*:*:*:*:*:*
  • OR cpe:/a:rubyonrails:rails:2.1.1:*:*:*:*:*:*:*
  • OR cpe:/a:rubyonrails:ruby_on_rails:0.5.0:*:*:*:*:*:*:*
  • OR cpe:/a:rubyonrails:ruby_on_rails:0.5.5:*:*:*:*:*:*:*
  • OR cpe:/a:rubyonrails:ruby_on_rails:0.5.6:*:*:*:*:*:*:*
  • OR cpe:/a:rubyonrails:ruby_on_rails:0.5.7:*:*:*:*:*:*:*
  • OR cpe:/a:rubyonrails:ruby_on_rails:0.6.0:*:*:*:*:*:*:*
  • OR cpe:/a:rubyonrails:ruby_on_rails:0.6.5:*:*:*:*:*:*:*
  • OR cpe:/a:rubyonrails:ruby_on_rails:0.7.0:*:*:*:*:*:*:*
  • OR cpe:/a:rubyonrails:ruby_on_rails:0.8.0:*:*:*:*:*:*:*
  • OR cpe:/a:rubyonrails:ruby_on_rails:0.8.5:*:*:*:*:*:*:*
  • OR cpe:/a:rubyonrails:ruby_on_rails:0.9.0:*:*:*:*:*:*:*
  • OR cpe:/a:rubyonrails:ruby_on_rails:*:*:*:*:*:*:*:* (Version <= 2.1.2)

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:20094214
    V
    CVE-2009-4214
    2017-09-27
    oval:org.mitre.oval:def:12767
    P
    DSA-2260-1 rails -- several
    2014-06-23
    oval:org.mitre.oval:def:14680
    P
    DSA-2301-1 rails -- several
    2014-06-23
    oval:org.mitre.oval:def:15291
    P
    DSA-2301-2 rails -- several
    2014-06-23
    BACK
    rubyonrails rails 2.3.2
    rubyonrails rails 2.3.3
    rubyonrails rails 2.3.4
    rubyonrails rails 0.9.1
    rubyonrails rails 0.9.2
    rubyonrails rails 0.9.3
    rubyonrails rails 0.9.4
    rubyonrails rails 0.9.4.1
    rubyonrails rails 0.10.0
    rubyonrails rails 0.10.1
    rubyonrails rails 0.11.0
    rubyonrails rails 0.11.1
    rubyonrails rails 0.12.0
    rubyonrails rails 0.12.1
    rubyonrails rails 0.13.0
    rubyonrails rails 0.13.1
    rubyonrails rails 0.14.1
    rubyonrails rails 0.14.2
    rubyonrails rails 0.14.3
    rubyonrails rails 0.14.4
    rubyonrails rails 1.0.0
    rubyonrails rails 1.1.0
    rubyonrails rails 1.1.1
    rubyonrails rails 1.1.2
    rubyonrails rails 1.1.3
    rubyonrails rails 1.1.4
    rubyonrails rails 1.1.5
    rubyonrails rails 1.1.6
    rubyonrails rails 1.2.0
    rubyonrails rails 1.2.1
    rubyonrails rails 1.2.2
    rubyonrails rails 1.2.3
    rubyonrails rails 1.2.4
    rubyonrails rails 1.2.5
    rubyonrails rails 1.2.6
    rubyonrails rails 1.9.5
    rubyonrails rails 2.0.0
    rubyonrails rails 2.0.0 rc1
    rubyonrails rails 2.0.0 rc2
    rubyonrails rails 2.0.1
    rubyonrails rails 2.0.2
    rubyonrails rails 2.0.4
    rubyonrails rails 2.1.0
    rubyonrails rails 2.1.1
    rubyonrails ruby on rails 0.5.0
    rubyonrails ruby on rails 0.5.5
    rubyonrails ruby on rails 0.5.6
    rubyonrails ruby on rails 0.5.7
    rubyonrails ruby on rails 0.6.0
    rubyonrails ruby on rails 0.6.5
    rubyonrails ruby on rails 0.7.0
    rubyonrails ruby on rails 0.8.0
    rubyonrails ruby on rails 0.8.5
    rubyonrails ruby on rails 0.9.0
    rubyonrails ruby on rails *