News for hackers. Stuff that matters.
Re:What The Rails Security Issue Means For Your Startup by SilasX on Thursday January 31, 2013 @01:05PM (#5146296)
Really? Has a giant framework like Django had bugs this severe, that allowed data-file parsers to execute arbitrary attacker code?
Re:What The Rails Security Issue Means For Your Startup by gingerlime on Thursday January 31, 2013 @01:19PM (#5146390)
Nearly. Both piston and tastypie (the two leading frameworks for writing APIs for django) were affected by a very similar code execution vulnerability a while ago. see https://www.djangoproject.com/weblog/2011/nov/01/piston-and-...
Re:What The Rails Security Issue Means For Your Startup by mpyne on Thursday January 31, 2013 @04:11PM (#5147497)
Those were both third-party modules for Django (albeit popular ones). But at best, this means that Rails devs have known since Nov 2011 or so that YAML code should be carefully audited, especially since there was no equivalent in Ruby for Python's .safe_load (http://stackoverflow.com/questions/14348538/is-there-an-equi...).

I don't mean to beat on the Rails guys too hard though, they're off shipping stuff and I'm not and I'm not very fond of those who criticize while a safe distance from the action. But I think it's fair to say that this could have been foreseen earlier (or much earlier, depending on who you ask).

Re:What The Rails Security Issue Means For Your Startup by makomk on Friday February 01, 2013 @07:17AM (#5150352)
Wow. Not sure how they managed to miss the big warnings about yaml.load. Notice, however, that unlike Ruby's YAML parser the Python one does actually have a yaml.safe_load.
Re:What The Rails Security Issue Means For Your Startup by tomjen3 on Friday February 01, 2013 @06:51PM (#5154334)
The OP specifically mentioned that a similar bug was found in Django, and had previously been found in another big java framework.

I understand the appeal of "magic" to solve issues when you are under a deadline. It is just that trusting it is dangerous.

Re:What The Rails Security Issue Means For Your Startup by SilasX on Friday February 01, 2013 @08:34PM (#5154723)
I checked the article, and that bug was similar in the relevant sense. It was a security bug related to hashed messaged authentication codes, a class of security exploits related to very non-trivial issues in cryptography. It was not comparable to "let's allow an information-file parser to execute arbitrary attacker code".