FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

rubygem-rails -- evaluation of ruby code

Affected packages
1.1.0 <= rubygem-rails < 1.1.3
1.1.4 <= rubygem-rails < 1.1.6

Details

VuXML ID 90064567-28b1-11db-844d-000c6ec775d9
Discovery 2006-08-09
Entry 2006-08-10

The Ruby on Rails blog reports:

With Rails 1.1.0 through 1.1.5 (minus the short-lived 1.1.3), you can trigger the evaluation of Ruby code through the URL because of a bug in the routing code of Rails. This means that you can essentially take down a Rails process by starting something like /script/profiler, as the code will run for a long time and that process will be hung while it happens. Other URLs can even cause data loss.

References

URL http://weblog.rubyonrails.org/2006/8/10/rails-1-1-6-backports-and-full-disclosure