Earlier quoted context omitted.
This isn't a SQL injection vulnerability at all.
But you can use this to trigger the earlier SQL injection vulnerabilities, right?
Multiple vulnerabilities in parameter parsing in Action Pack
21–30 of 294 posts
Re: Multiple vulnerabilities in parameter parsing in Action Pack
#22An attacker can execute any ruby code he wants including system("unix command"). This effects any rails version for the last 6 years. I've written POCs for Rails 3.x and Rails 2.x on Ruby 1.9.3, Ruby 1.9.2 and Ruby 1.8.7 and there is no reason to believe this wouldn't work on any Ruby/Rails combination since when the bug has been introduced. The exploit does not depend on code the user has written and will work with…
I don't speak Ruby. Can you or someone else be more precise about where that introduces the vulnerability? (Surely it isn't that YAML::load(content) can run arbitrary shell code?)
Re: Multiple vulnerabilities in parameter parsing in Action Pack
#23As a newcomer to the Rails ecosystem all these posts of vunlerabilities and open doors leaves a bad taste in my mouth. God know I love programming in Ruby now, but is Rails really that insecure?
Re: Multiple vulnerabilities in parameter parsing in Action Pack
#24I'm just commenting here so that people can have a central thread for love / hatred. ;-) But seriously. This is extremely critical, please upgrade!
Re: Multiple vulnerabilities in parameter parsing in Action Pack
#25I'm just commenting here so that people can have a central thread for love / hatred. ;-) But seriously. This is extremely critical, please upgrade!
Re: Multiple vulnerabilities in parameter parsing in Action Pack
#26Earlier quoted context omitted.
I don't speak Ruby. Can you or someone else be more precise about where that introduces the vulnerability? (Surely it isn't that YAML::load(content) can run arbitrary shell code?)
I think it's better to not discuss this openly for a few days. The exploit isn't obviously (as you've noticed) so hopefully users will be able to upgrade before the script kiddies discovers this.
Re: Multiple vulnerabilities in parameter parsing in Action Pack
#27I'm just commenting here so that people can have a central thread for love / hatred. ;-) But seriously. This is extremely critical, please upgrade!
Re: Multiple vulnerabilities in parameter parsing in Action Pack
#28Re: Multiple vulnerabilities in parameter parsing in Action Pack
#29I'm just commenting here so that people can have a central thread for love / hatred. ;-) But seriously. This is extremely critical, please upgrade!
Re: Multiple vulnerabilities in parameter parsing in Action Pack
#30I'm just commenting here so that people can have a central thread for love / hatred. ;-) But seriously. This is extremely critical, please upgrade!
https://github.com/rails/rails/commit/d5cd97baa44fa66dc68104...
https://github.com/rails/rails/commit/43109ecb986470ef023a7e...
Are there others?