On mySimon: Fisher Price Grow With Me Trike
BNET Business Network:
BNET
TechRepublic
ZDNet

June 20th, 2008

Apple security team finds code execution holes in Ruby

Posted by Ryan Naraine @ 11:14 am

Categories: Apple, Arbitrary Code Execution, Complex Attacks, Denial of Service (DoS), Exploit code, Patch Watch, Responsible disclosure, Vulnerability research

Tags: Team, Apple Inc., Ruby, Scripting Languages, Software/Web Development, Web Development, Ryan Naraine

Code execution holes in RubyA member of Apple’s security team has discovered multiple serious security vulnerabilities in Ruby, the popular open-source scripting language.

According to an advisory on the Ruby project site, Apple’s Drew Yao reported at least six of the vulnerabilities, which can be exploited to cause a denial-of-service  condition or the execution of arbitrary code.

The issues were confirmed in the 1.8 and 1.9 versions of Ruby.  Patch download locations can be found in the alert.

Ruby, initially developed and designed by Yukihiro “Matz” Matsumoto, is the interpreted scripting language for quick and easy object-oriented programming.

UPDATE:  Over on the Matasano Security blog, Thomas Ptacek Eric Monti describes some of these vulnerabilities as “disturbing.”

These vulnerabilities are likely to crop up in just about any average ruby web application. And by “crop up” I mean “crop up exploitable from trivial user-specified parameters”. It’s not hard to begin imagining cases where Ruby/Rails programmers use code similar to the samples above to routinely handle user input. Unlike un-handled ruby exceptions getting raised, these bugs aren’t the fault of the programmer as much as the fault of the interpreter. Part of the unwritten “contract” with your interpreted language is that it will prevent you from letting ridiculous things happen by raising an exception.

Weaponizing these for code-execution may or may not be trivial (we’re looking into this too, — keep you posted). But even a class of DoS attacks this trivial would be horrible enough.

Ryan NaraineRyan Naraine is a journalist and security evangelist at Kaspersky Lab. He manages Threatpost.com, a security news portal. Here is Ryan's full profile and disclosure of his industry affiliations.


Email Ryan Naraine

For daily updates on Ryan's activities, follow him on Twitter.

Subscribe to Zero Day via Email alerts or RSS.

Related Discussions on TechRepublic

Did you know you can take part in these discussions with your ZDNet membership?

  • Talkback
  • Most Recent of 8 Talkback(s)
response of biblical proportions
Look at the positives to be gained from this, not blame the the people who discovered the flaw.
As someone else has already pointed out this will make Apple look at their own code in Applescript for similar vulnerabilities.
Quoting the bible is unnecessary pontificating.... (Read the rest)
Posted by: Pheck Posted on: 06/23/08 You are currently: a Guest | | Terms of Use
Wouldn't the best answer here to be Matthew 7:5?  i75 | 06/20/08
A better response might be...  jasonp@... | 06/20/08
I think he meant that  Pliny the Elder | 06/20/08
So they should be quiet and not say anything? (nt)  A Grain of Salt | 06/20/08
response of biblical proportions  Pheck | 06/23/08
RE: Apple security team finds code execution holes in Ruby  fermion12 | 06/21/08
RE: Apple security team finds code execution holes in Ruby  ceo@... | 06/23/08
RE: Apple security team finds code execution holes in Ruby  ceo@... | 06/23/08

What do you think?

SponsoredWhite Papers, Webcasts, and Downloads

advertisement
Click Here

Recent Entries

advertisement

Archives

Favorite Links

ZDNet Blogs

White Papers, Webcasts, and Downloads

SmartPlanet

Click Here