SB2013120704 - Cross-site scripting in Rails Action Mailer for Ruby on Rails
Published: December 7, 2013 Updated: July 28, 2020
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 security vulnerability.
1) Cross-site scripting (CVE-ID: CVE-2013-6415)
Vulnerability allows a remote attacker to perform Cross-site scripting attacks.
An input validation error exists in the number_to_currency helper in actionpack/lib/action_view/helpers/number_helper.rb in Ruby on Rails before 3.2.16 and 4.x before 4.0.2 when processing unit parameter. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in victim's browser in security context of vulnerable website.
Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.
Remediation
Install update from vendor's website.
References
- http://lists.opensuse.org/opensuse-updates/2013-12/msg00079.html
- http://lists.opensuse.org/opensuse-updates/2013-12/msg00080.html
- http://lists.opensuse.org/opensuse-updates/2013-12/msg00081.html
- http://lists.opensuse.org/opensuse-updates/2013-12/msg00082.html
- http://lists.opensuse.org/opensuse-updates/2014-01/msg00003.html
- http://lists.opensuse.org/opensuse-updates/2014-01/msg00013.html
- http://rhn.redhat.com/errata/RHSA-2013-1794.html
- http://rhn.redhat.com/errata/RHSA-2014-0008.html
- http://rhn.redhat.com/errata/RHSA-2014-1863.html
- http://secunia.com/advisories/56093
- http://weblog.rubyonrails.org/2013/12/3/Rails_3_2_16_and_4_0_2_have_been_released/
- http://www.debian.org/security/2014/dsa-2888
- http://www.securityfocus.com/bid/64077
- https://groups.google.com/forum/message/raw?msg=ruby-security-ann/9WiRn2nhfq0/2K2KRB4LwCMJ
- https://puppet.com/security/cve/cve-2013-6415