LWN.net Logo

rubygem-actionpack: three cross-site scripting vulnerabilities

Package(s):rubygem-actionpack CVE #(s):CVE-2012-3463 CVE-2012-3464 CVE-2012-3465
Created:August 23, 2012 Updated:March 29, 2013
Description:

From the Red Hat bugzilla entries [1, 2, 3]:

CVE-2012-3463: When a "prompt" value is supplied to the `select_tag` helper, the "prompt" value is not escaped. If untrusted data is not escaped, and is supplied as the prompt value, there is a potential for XSS attacks.

CVE-2012-3464: The HTML escaping code in Ruby on Rails does not escape all potentially dangerous characters. In particular the code does not escape the single quote character. The helpers used in Rails itself never use single quotes, so most applications are unlikely to be vulnerable, however all users running an affected release should still upgrade.

CVE-2012-3465: There is an XSS vulnerability in the strip_tags helper in Ruby on Rails, the helper doesn't correctly handle malformed html. As a result an attacker can execute arbitrary javascript through the use of specially crafted malformed html. All users who rely on strip_tags for XSS protection should upgrade or use the work around immediately.

Alerts:
Fedora FEDORA-2012-11870 2012-08-22
Fedora FEDORA-2012-11885 2012-08-22
Fedora FEDORA-2012-11880 2012-08-22
Fedora FEDORA-2012-11888 2012-08-22
openSUSE openSUSE-SU-2012:1218-1 2012-09-19
Red Hat RHSA-2013:0582-01 2013-02-28
Debian DSA-2655-1 2013-03-28

(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds