Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Filter Skipping Vulnerability in Ruby on Rails 3.0
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Aaron Patterson  
View profile  
 More options Aug 16 2011, 4:58 pm
From: Aaron Patterson <aa...@tenderlovemaking.com>
Date: Tue, 16 Aug 2011 13:58:41 -0700
Local: Tues, Aug 16 2011 4:58 pm
Subject: Filter Skipping Vulnerability in Ruby on Rails 3.0

Filter Skipping Vulnerability in Ruby on Rails 3.0

There is a vulnerability in the template selection code in Ruby on Rails releases after 3.0 which could allow an attacker to render a view they should not have access to. This vulnerability has been assigned the CVE identifier CVE-YYYY-XXXX.

Versions Affected:  3.0.0 and Later
Not affected:       Versions prior to 3.0
Fixed Versions:     3.0.10, 3.1.0.rc6

Impact
------
Due to a bug in the template selection code an attacker can craft a URL and cause Rails to render an arbitrary view, but not call its corresponding action.  This only affects 3.0 applications which use ':action' in their routes.

All users running an affected release and using :action in their routes should either upgrade or use one of the workarounds immediately.

Releases
--------
The 3.0.10 and 3.1.0.rc6 releases are available at the normal locations.

Workarounds
-----------
This only affects users with routes containing the parameter :action,  you can avoid the vulnerability by providing additional constraints.  For instance replacing:

    match '/:controller(/:action(/:id))'

with

  match '/:controller(/:action(/:id))', :action => /[a-z_]+/

Patches
-------
To aid users who aren't able to upgrade immediately we have provided patches for the two supported release series.  They are in git-am format and consist of a single changeset.

* 3-0-filter_skipping.patch - Patch for 3.0 series

Please note that only the 2.3.x and 3.0.x series are supported at present.  Users of earlier unsupported releases are advised to upgrade as soon as possible.

Credits
-------

Thanks to Jan M. Faber of supersaas for reporting the problem to us and working with us to verify the fix.

--
Aaron Patterson
http://tenderlovemaking.com/

  3-0-stable-fix-filter-skipping.patch
2K Download

  3-1-stable-fix-filter-skipping.patch
3K Download

  application_pgp-signature_part
< 1K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »