Multiple Security Holes In Ruby 1.8, 1.9
ruphus13 notes a six-pack of serious vulnerabilities discovered in Ruby by a member of Apple's security team, Drew Yao. Patches are linked from the ruby-lang.org advisory. "With the following vulnerabilities, an attacker can lead to denial of service condition or execute arbitrary code... 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."
oh nose, it can't be the first *hide*
I can see the blood now!
The real story here is how quickly the bugs were patched. I'd like to see MS respond half as fast to holes in Windows and it's attendant parts and pieces.
Confirmation that Ruby simply isn't "enterprise ready".
Quick, find a hole in something to take the heat off the osX Vuln! nah - not in Vista, something else...
Acid House saves Souls
Muuuuuhahahahahahaha !! It's so fucking funnny. I don't even know what the fuck ruby is but it's fucking funny with those gaping holes. You lamos need a powerhouse like Microsoft to baby-feed you something a little less FLAAWED !! Dumb-downed is what the doctor orders for you a!!
and click your heels three times
This, IMHO, goes to show that Ruby isn't any better than the other Open Source interpreted languages. Despite what the Ruby fanboys allways claim, it is actually far less mature then, let's say, Python or PHP.
A matured, tested and established mod_ruby, unicode and a few years more in the field is what Ruby needs before I take a look at it.
My 2 cents.
We suffer more in our imagination than in reality. - Seneca
Now it's time to start calling up all those RoR sites and use this to convince them to switch the Django.
God invented whiskey so the Irish would not rule the world.
Bugs this simple shouldn't occur on software like this, especially one which is suppose to be wide spread.
If they can't get something this simple right then what else are they doing wrong?
Ruby - it's the new PHP.
Confucius say, "Find worm in apple - bad. Find half a worm - worse."
Case 1: the code has no bugs: "many eyes make for shallow bugs!" everyone chants.
Case 2: the code has bugs which get reported and fixed. "See, this would have taken much longer if the source was closed!" This claim is impossible to verify objectively but is stated as a fact, regardless of how trivial the bugs are.
Huh? Who lets users enter arbitrary integers to index into arrays? Or let's users submit arbitrary loops for execution? Apart from the statement quoted above, what indication is there that any of these would "crop up" in any but the most contrived circumstances?
--MarkusQ
Good maybe it and all the "Web 2.0" assholes will go away with it.
"Ubuntu" -- an African word, meaning "Slackware is too hard for me". - stolen from Dan C alt.os.linux.slackware
I did some testing on an off line server, and then pushed these patches.
I am concerned about "Ruby the Platform". I have dealt with deployment and scaling issues for a few years on a customer project written in Rails + Common Lisp, and as much as I *love* coding in Ruby and Lisp, this experience has also made me appreciate "Java the platform" :-)
This reminds me of the notorious suidperl vulnerability from back in the day. In a nutshell, you could use the following code to achieve a root shell from an unprivileged account (apologies if I don't get it exactly right... I don't have an ancient system to verify on):
That was available for how many years? Anyhow, that's much more serious than this Ruby DoS attack.They don't grade fathers, but if your daughter's a stripper, you fucked up. --Chris Rock
The same people that let remote users enter arbitrary data into an SQL query [...]
You mean "if you're stupid enough to let someone sneak arbitrary Ruby code in via a form, then they can use this complex memory corruption attack instead of just opening up a backdoor shell"? Or what?
Well, Windows has a waaaay worse track record yet it's used by 90+% of businesses.
I LOVE ruby as a language, but let's be realistic here. All you need for a DOS attack against a ruby-based web application of any complexity is a few dozen users using it as intended. No need to waste time figuring out complicated exploits for that.
Everyone is stupid except for you. You never had made a stupid mistake or had a bug or a volnerability.
Oh no, I've been stupid, often enough. I'll happily admit that, because concentrating on the "stupid" but is completely missing the point.
The point isn't that it's stupid to worry about buffer overflows.
The point is that the mechanism you're talking about, code injection attacks similar to the SQL injection attacks, don't need buffer overflows. Because once you've pulled a Ruby code injection attack you've already got full control. It's like the skit about the burglar who needs a knife, so he opens the kitchen door of the house he's breaking into, grabs a knife, then goes back out to work on the window he's trying to lever open...
Maybe it is popular because it is easy?
If the programming elite are so clever they would have come up with something that allow developers to prototype and put in production things quickly.
You may be right in regards to security, but patronizing people about how they are trying to fulfil a real practical need is frankly beyond the pale.
IANAL but write like a drunk one.
Basic, COBOL and Visual Basic at some point were all the most popular languages (shudder).
And as always, ruby detractors keep to themselves those catastrophic inherent problems that are glaringly obvious ....
IANAL but write like a drunk one.
Yip, the number one problem in Ruby today is the sheer number of trolls it attracts.
Fortunately I hear Matz is going to make Proc.kill_troll part of the standard library in the next release.
How so? What array? Where does the user specify the integer? Where in the code is this indexing done (I assmue you're talking about Rails, unless you're just blowing smoke)? On the face of it, your claim here makes no sense.
--MarkusQ
My Parent is getting modded all the way up and down the scale.
Looks like I struck a cord right there. Hehe.
Flamewar-A-GoGo!
We suffer more in our imagination than in reality. - Seneca
Broad, very broad claims backed up by no evidence at all. Parent doesn't need any evidence to claim that "VB6 is completely insecure". Not just insecure mind you, no: completely insecure. There's apparently no VB6 statement thinkable that will compile to something without security holes. *rolls eyes* And oh, don't forget that "the entire language was fundamentally flawed". That's right - no single statement does what it's supposed to and all the people who loved the language should be locked up in an insane asylum.