copyright | disclaimer | privacy | contact  
Australia's Leading Computer Emergency Response Team
 
Search this site

 
On this site

 > HOME
 > About AusCERT
 > Membership
 > Contact Us
 > PKI Services
 > Training
 > Publications
 > Sec. Bulletins
 > Conferences
 > News & Media
 > Services
 > Web Log
 > Site Map
 > Site Help
 > Member login





 

ASB-2009.1147 - [Win][UNIX/Linux] Ruby on Rails: Cross-site scripting - Remote with user interaction

Date: 30 November 2009

Click here for printable version
Click here for PGP verifiable version
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

===========================================================================
                         AUSCERT Security Bulletin

                               ASB-2009.1147
   Ruby on Rails release 2.3.5 fixes Cross Site Scripting vulnerability
                              1 December 2009

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:              Ruby on Rails
Operating System:     UNIX variants (UNIX, Linux, OSX)
                      Windows
Impact/Access:        Cross-site Scripting -- Remote with User Interaction
Resolution:           Patch/Upgrade
Member content until: Thursday, December 31 2009

OVERVIEW

        Ruby on Rails 2.3.5 has been released fixing a Cross Site Scripting
        (XSS) vulnerability.


IMPACT

        The vendor has provided the following information regarding the
        vulnerability that have been corrected in version 2.3.5:
        
        "There is a weakness in the strip_tags function in ruby on rails. Due
        to a bug in the parsing code inside HTML::Tokenizer regarding
        non-printable ascii characters, an attacker can include values
        which certain browsers will then evaluate" [1,2]


MITIGATION

        Version 2.3.5 which corrects this issues have been made available on
        the vendors website. [2]


REFERENCES

        [1] XSS Weakness in strip_tags
            http://groups.google.com/group/rubyonrails-security/browse_thread/thread/4d4f71f2aef4c0ab

        [2] Ruby on Rails 2.3.5 Released
            http://weblog.rubyonrails.org/2009/11/30/ruby-on-rails-2-3-5-released

AusCERT has made every effort to ensure that the information contained
in this document is accurate.  However, the decision to use the information
described is the responsibility of each user or organisation. The decision to
follow or act on information or advice contained in this security bulletin is
the responsibility of each user or organisation, and should be considered in
accordance with your organisation's site policies and procedures. AusCERT
takes no responsibility for consequences which may arise from following or
acting on information or advice contained in this security bulletin.

If you believe that your computer system has been compromised or attacked in 
any way, we encourage you to let us know by completing the secure National IT 
Incident Reporting Form at:

        http://www.auscert.org.au/render.html?it=3192

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours 
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iD8DBQFLFJeZNVH5XJJInbgRAuNJAJ4v42I8vuPDszZ58CkRgKlh7Z/C3ACfR9m2
nrq5dU68J/nVItwAQ/QZfmo=
=wLEw
-----END PGP SIGNATURE-----