-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2011.0908
                           rails security update
                             6 September 2011

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

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

Product:           rails
Publisher:         Debian
Operating System:  Debian GNU/Linux 5
                   Debian GNU/Linux 6
                   UNIX variants (UNIX, Linux, OSX)
                   Windows
Impact/Access:     Cross-site Scripting            -- Remote with User Interaction
                   Execute Arbitrary Code/Commands -- Remote with User Interaction
Resolution:        Patch/Upgrade
CVE Names:         CVE-2011-3186 CVE-2011-2931 CVE-2011-2930
                   CVE-2009-4214  

Reference:         ESB-2011.0639

Original Bulletin: 
   http://www.debian.org/security/2011/dsa-2301

Comment: This advisory references vulnerabilities in products which run on 
         platforms other than Debian. It is recommended that administrators 
         running rails check for an updated version of the software for their
         operating system.

- --------------------------BEGIN INCLUDED TEXT--------------------

- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- - -------------------------------------------------------------------------
Debian Security Advisory DSA-2301-1                   security@debian.org
http://www.debian.org/security/                             Luciano Bello
September 5, 2011                      http://www.debian.org/security/faq
- - -------------------------------------------------------------------------

Package        : rails
Vulnerability  : several
Problem type   : remote
Debian-specific: no
CVE ID         : CVE-2011-2930 CVE-2011-2931 CVE-2011-3186 CVE-2009-4214

Several vulnerabilities have been discovered in Rails, the Ruby web
application framework. The Common Vulnerabilities and Exposures project
identifies the following problems:

CVE-2009-4214

    A cross-site scripting (XSS) vulnerability had been found in the
    strip_tags function. An attacker may inject non-printable characters
    that certain browsers will then evaluate. This vulnerability only
    affects the oldstable distribution (lenny).

CVE-2011-2930

    A SQL injection vulnerability had been found in the quote_table_name
    method could allow malicious users to inject arbitrary SQL into a
    query.

CVE-2011-2931

    A cross-site scripting (XSS) vulnerability had been found in the
    strip_tags  helper. An parsing error can be exploited by an attacker,
    who can confuse the parser and may inject HTML tags into the output
    document.

CVE-2011-3186

    A newline (CRLF) injection vulnerability had been found in
    response.rb. This vulnerability allows an attacker to inject arbitrary
    HTTP headers and conduct HTTP response splitting attacks via the
    Content-Type header.

For the oldstable distribution (lenny), this problem has been fixed in
version 2.1.0-7+lenny1.

For the stable distribution (squeeze), this problem has been fixed in
version 2.3.5-1.2+squeeze1.

For the unstable distribution (sid), this problem has been fixed in
version 2.3.14.

We recommend that you upgrade your rails packages.

Further information about Debian Security Advisories, how to apply
these updates to your system and frequently asked questions can be
found at: http://www.debian.org/security/

Mailing list: debian-security-announce@lists.debian.org
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEcBAEBAgAGBQJOZS+XAAoJEOxfUAG2iX57/RoIANAWqvaKoG3V5sfmVzREDG4M
qcnQ3RhaVc//I2RuvPDSY9zDbE4OfgNYRtAnk3j7kbVf0U4ohs9TNTJqy1uCYjZn
dA6b27JdgxgXnRFM0AvHfYOyA/V2+w4ykwfAjGJG2hcmCxxkofDkzbf/WKrGinYV
o+NEF5QEU5y84Z+4EvFYEP+zmMShIvoBU/Fui+TNzxEh3MSRumMdJoJfV2MdSO+m
C98R6hx1Q8nxmNCZpPXAWttfGomhtTXAwYIlywR0pqxyrBpsaEleNLbDPaNnr2/D
Jph+q3Mv5nRteRfMRyX0bmqguSYsa0TIFZlL5vvIRGBw+b7Q4wIL0ywRvWqxLGU=
=r9kt
- -----END PGP SIGNATURE-----

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. 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.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/render.html?cid=1980

===========================================================================
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

iQIVAwUBTmVwxe4yVqjM2NGpAQIMqxAAssvroBIKPDFgZ9iRqiDy84dGafGeMcO9
3ucn6aCVw7tw/RfduIaKzoYZewXLIUm2kGhhesXuphJRU1dDuuPopV6HRu8452GU
FWkW/kq1WC8Y7OoVEZfCXE+WueKZnM9LZ45+yB5n4zhHbFxS4/LLjojsJXIz4l9K
rceW19a6FYQgt723OHo8BACX6ppJSGTZbaDFSb1Lv21kvfboHS4wei1NzKFIOfRL
DqJAGdjGsXljuduM3U18C+XwiB43eixoGrirko9Kg9lCuJ6pb2eDSGfyoX1TIxiu
BlotxO6TQA/0qmxM3FXIuKz9w/aJ39OnBDtVRaDGJxp9gRGmDgJMk6G+ngNioN3d
tgkqsDxL1k4wsDgzGbtQ/0Ag8gEo9qrgXVvedp44LqC1tWmgl5X4AliK8GfoOM9L
VU9mOaW3RpP9PfvE5Fm8tH3fpdMTxTVUgTjIitFzf3kB4PnbN5Owg8YbS7SeyLt7
U5pTqGKzBlT4Wj7SXEIF0QoURYurDc3adoofSCPL30TUA0cM3zOhlSw/G/VC6VMz
78S626XqFSaFyL+d+NsamrYab7iIgAfU6v/zFcFdVXCNZEoABNdcB7odB1g+byz3
YFgcokQQP5+wyHDjMRFIGJx69PomHT4V2HdRmkPBKk5ai5QtfFo63koho+pl+wMj
s9qYWQFkuus=
=h3wx
-----END PGP SIGNATURE-----