CVE-2011-2929
Description
The template selection functionality in actionpack/lib/action_view/template/resolver.rb in Ruby on Rails 3.0.x before 3.0.10 and 3.1.x before 3.1.0.rc6 does not properly handle glob characters, which allows remote attackers to render arbitrary views via a crafted URL, related to a "filter skipping vulnerability."
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2011-2929
Vendor advisory: secalert@redhat.com — https://github.com/rails/rails/commit/5f94b93279f6d0682fafb237c301302c107a9552
Vendor advisory: secalert@redhat.com — https://bugzilla.redhat.com/show_bug.cgi?id=731432
Vendor advisory: secalert@redhat.com — http://www.openwall.com/lists/oss-security/2011/08/22/5
Vendor advisory: secalert@redhat.com — http://www.openwall.com/lists/oss-security/2011/08/22/13
Vendor advisory: secalert@redhat.com — http://www.openwall.com/lists/oss-security/2011/08/20/1
Vendor advisory: secalert@redhat.com — http://www.openwall.com/lists/oss-security/2011/08/19/11
Vendor advisory: secalert@redhat.com — http://www.openwall.com/lists/oss-security/2011/08/17/1
Vendor advisory: secalert@redhat.com — http://weblog.rubyonrails.org/2011/8/16/ann-rails-3-1-0-rc6
Vendor advisory: secalert@redhat.com — http://groups.google.com/group/rubyonrails-security/msg/cbbbba6e4f7eaf61?dmode=source&output=gplain
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| debian | bookworm | fixed | 0 |
| debian | bullseye | fixed | 0 |
| debian | forky | fixed | 0 |
| debian | sid | fixed | 0 |
| debian | trixie | fixed | 0 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| RubyGems | actionpack | !< 3.0.0||<~> 3.0.10 | ~> 3.0.10 |
| RubyGems | actionpack | >=3.0.0,<3.0.10 | 3.0.10 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| rubyonrails | rails | 3.0.0 | |
| rubyonrails | rails | 3.0.1 | |
| rubyonrails | rails | 3.0.2 | |
| rubyonrails | rails | 3.0.3 | |
| rubyonrails | rails | 3.0.4 | |
| rubyonrails | rails | 3.0.5 | |
| rubyonrails | rails | 3.0.6 | |
| rubyonrails | rails | 3.0.7 | |
| rubyonrails | rails | 3.0.8 | |
| rubyonrails | rails | 3.0.9 | |
| rubyonrails | rails | 3.0.10 | |
| rubyonrails | ruby_on_rails | 3.0.4 | |
| rubyonrails | rails | 3.1.0 | |
References
- https://rubyonrails.org/2011/8/16/ann-rails-3-1-0-rc6
- http://groups.google.com/group/rubyonrails-security/msg/cbbbba6e4f7eaf61?dmode=source&output=gplain
- http://lists.fedoraproject.org/pipermail/package-announce/2011-September/065109.html
- http://lists.fedoraproject.org/pipermail/package-announce/2011-September/065212.html
- http://weblog.rubyonrails.org/2011/8/16/ann-rails-3-1-0-rc6
- http://www.openwall.com/lists/oss-security/2011/08/17/1
- http://www.openwall.com/lists/oss-security/2011/08/19/11
- http://www.openwall.com/lists/oss-security/2011/08/20/1
- http://www.openwall.com/lists/oss-security/2011/08/22/13
- http://www.openwall.com/lists/oss-security/2011/08/22/14
- http://www.openwall.com/lists/oss-security/2011/08/22/5
- https://bugzilla.redhat.com/show_bug.cgi?id=731432
- https://github.com/rails/rails/commit/5f94b93279f6d0682fafb237c301302c107a9552
- https://nvd.nist.gov/vuln/detail/CVE-2011-2929
- https://github.com/rails/rails
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2011-2929.yml
- https://security-tracker.debian.org/tracker/CVE-2011-2929
CWEs
CWE-20
Verify integrity in audit chain (admin only). AS-IS.