Earlier quoted context omitted.
Thank you, Peter.
I was convinced of your way of thinking, eventually ;-)
Rails SQL injection vulnerability: here are the facts
61–70 of 121 posts
Re: Rails SQL injection vulnerability: here are the facts
#62Re: Rails SQL injection vulnerability: here are the facts
#63This post is written very confidently. I am less confident than the author of this post that the likelihood of a generic exploit via application input (that is, not using forged cookies) is remote. Wish there was more I could say right now. I'm not saying I have a curl command that exploits the vulnerability. I'd just be careful about making assumptions about this bug.
Re: Rails SQL injection vulnerability: here are the facts
#64I wish ruby had named the Hash class properly. It makes reading the article slightly confusing. Hash != Hashtable
Re: Rails SQL injection vulnerability: here are the facts
#65This post is written very confidently. I am less confident than the author of this post that the likelihood of a generic exploit via application input (that is, not using forged cookies) is remote. Wish there was more I could say right now. I'm not saying I have a curl command that exploits the vulnerability. I'd just be careful about making assumptions about this bug.
Re: Rails SQL injection vulnerability: here are the facts
#66But - I'm confused why one of the readers on the post (Jonas) is calling this a PR Stunt?
Re: Rails SQL injection vulnerability: here are the facts
#67I'm starting to wonder if the DRY-uber-alles notion popularized by Rails is turning into a security antipattern. It's just too easy for code like this (intended to "make things work cleanly") to forget all the needed checks and all the constraints on the design. The end user ends up repeating themselves less, but that means that the library code ends up getting used in lots of places and for lots of purposes that the…
Re: Rails SQL injection vulnerability: here are the facts
#68I'm starting to wonder if the DRY-uber-alles notion popularized by Rails is turning into a security antipattern. It's just too easy for code like this (intended to "make things work cleanly") to forget all the needed checks and all the constraints on the design. The end user ends up repeating themselves less, but that means that the library code ends up getting used in lots of places and for lots of purposes that the…
It also means that when a bug is found in that code that you only have to fix it in one place, not 75,000 random places where it's duplicated, and probably slightly differently each time, making it hard to search for.
Re: Rails SQL injection vulnerability: here are the facts
#69I wish ruby had named the Hash class properly. It makes reading the article slightly confusing. Hash != Hashtable
Re: Rails SQL injection vulnerability: here are the facts
#70I wish ruby had named the Hash class properly. It makes reading the article slightly confusing. Hash != Hashtable
Of course the Hash class in Ruby implements a hash table. What makes you think it doesn't?