SecurityContext

CVE-2012-1099: Ruby on Rails - Reflected XSS

  • Cve: CVE-2012-1099
  • Name: Ruby on Rails - Reflected XSS
  • Description: Cross-site scripting (XSS) vulnerability in actionpack/lib/action_view/helpers/form_options_helper.rb in the select helper in Ruby on Rails 3.0.x before 3.0.12, 3.1.x before 3.1.4, and 3.2.x before 3.2.2 allows remote attackers to inject arbitrary web script or HTML via vectors involving certain generation of OPTION elements within SELECT elements.
  • Impact: Attackers can execute arbitrary scripts in the context of the victim's browser, leading to session hijacking or defacement.
  • Remediation: Update to Rails 3.0.12, 3.1.4, 3.2.2 or later versions.
  • Vulnerability type: reflected_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: Attacker needs to craft specific input to exploit the vulnerability.
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 4.3
  • Cvss vector: CVSS:2.0/AV:N/AC:M/Au:N/C:N/I:P/A:N
  • Epss score: 0.02386
  • Epss percentile: 0.84355
  • Assignee: [email protected]
  • Published at: 2012-03-13T10:55:01Z
  • Age in days: 5369
  • Modified at: 2026-06-16T23:39:01Z
  • References total: 8
  • Products total: 2
  • Oss: yes
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2012-1099
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

References

Same in every row:

  • Source: nvd
  • Tags:
Url
http://groups.google.com/group/rubyonrails-security/msg/6fca4f5c47705488?dmode=source&output=gplain
http://lists.fedoraproject.org/pipermail/package-announce/2012-March/075675.html
http://lists.fedoraproject.org/pipermail/package-announce/2012-March/075740.html
http://weblog.rubyonrails.org/2012/3/1/ann-rails-3-0-12-has-been-released
http://www.debian.org/security/2012/dsa-2466
http://www.openwall.com/lists/oss-security/2012/03/02/6
http://www.openwall.com/lists/oss-security/2012/03/03/1
https://bugzilla.redhat.com/show_bug.cgi?id=799276

Products

ProductAffectedPlatform boundSourcesUrl
rubyonrails:rails= 3.1.0 rc8, = 3.1.0 rc7, = 3.1.0 rc6, = 3.0.9 rc5, = 3.1.0 rc5, = 3.0.0 beta4, = 3.0.8 rc4, = 3.0.9 rc4, = 3.1.0 rc4, = 3.2.2 rc1, = 3.2.1, = 3.2.0, = 3.2.0 rc1, = 3.2.0 rc2, = 3.1.4 rc1, = 3.1.3, = 3.1.2, = 3.1.2 rc1, = 3.1.2 rc2, = 3.1.1, = 3.1.1 rc1, = 3.1.1 rc2, = 3.1.1 rc3, = 3.1.0, = 3.1.0 beta1, = 3.1.0 rc1, = 3.1.0 rc2, = 3.1.0 rc3, = 3.0.12 rc1, = 3.0.11, = 3.0.10, = 3.0.10 rc1, = 3.0.9, = 3.0.9 rc1, = 3.0.9 rc2, = 3.0.9 rc3, = 3.0.8, = 3.0.8 rc1, = 3.0.8 rc2, = 3.0.8 rc3, = 3.0.7, = 3.0.7 rc1, = 3.0.7 rc2, = 3.0.6, = 3.0.6 rc1, = 3.0.6 rc2, = 3.0.5, = 3.0.5 rc1, = 3.0.4 rc1, = 3.0.3, = 3.0.2, = 3.0.2 pre, = 3.0.1, = 3.0.1 pre, = 3.0.0, = 3.0.0 beta, = 3.0.0 beta2, = 3.0.0 beta3, = 3.0.0 rc, = 3.0.0 rc2nonvd/v1/products/rubyonrails/rails
rubyonrails:ruby_on_rails= 3.0.4nonvd/v1/products/rubyonrails/ruby_on_rails

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Exposed hosts: 2416366
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports