News for hackers. Stuff that matters.
Re:Yahoo Hacked by gopalv on Monday October 06, 2014 @12:03PM (#8416580)
Frick. A .pl CGI script on a production box?

All the yapache & yphp security fixes and is all undone by a a .pl with +ExeCGI.

They used to run "crack days" where all of us used to get kicks out of breaking & entering prod, whatever means available.

Was a fun way to weed through such low-hanging issues, by a highly motivated (i.e otherwise bored) crowd.

I wonder if they still have them.

Re:Yahoo Hacked by jlgaddis on Monday October 06, 2014 @03:52PM (#8417859)
What's the issue with Perl scripts on production web servers? Probably 90% of my (homegrown) scripts are written in Perl. What does Perl vs. PHP vs. Ruby vs. $languageoftheweek have to do with anything?
Re:Yahoo Hacked by btown on Monday October 06, 2014 @05:59PM (#8418565)
It's really just that Shellshock becomes viable only when HTTP headers are passed to your code as environment variables. For CGI, this is the way things are done, and most Perl scripts interact with the web server through CGI. On the other hand, Ruby and $languageoftheweek are usually called through a server framework like WSGI or Rack, which have their own ways of getting HTTP headers to the user code besides passing them as environment variables. Perl has PSGI ( plackperl.org ) but it's more commonly used in CGI.
Re:Yahoo Hacked by btilly on Monday October 06, 2014 @09:22PM (#8419296)
Perl has PSGI ( plackperl.org ) but it's more commonly used in CGI.

Citation needed.

I've been a serious Perl programmer since the 90s who has written public facing code at at least a half-dozen companies in the last decade. I've seen all kinds of combinations of things like mod_perl, fastcgi and Plack, but not once CGI.

I don't doubt that there are still some toy websites that run old CGI programs written in Perl. But I haven't seen them in the wild. And that niche has been replaced by PHP.

Re:Yahoo Hacked by csirac2 on Monday October 06, 2014 @11:09PM (#8419507)
I spent four years mostly on perl 2009-2012, and again briefly last year. The performance of any non-trivial perl web app is laughably bad when you run as CGI. I've never run prod systems without psgi or mod_fcgid.
Re:Yahoo Hacked by discardorama on Monday October 06, 2014 @12:38PM (#8416789)
I think therein lies the problem: yapache. It's their own version of (modified) Apache. So when these bugs like shellshock come out, it's harder to patch your own home-grown version.
Re:Yahoo Hacked by jmathai on Monday October 06, 2014 @01:07PM (#8416946)
Not sure that's the problem though. yapache and yphp solve a very important need and probably saved Yahoo!'s ass on multiple occasions with engineers making lazy or common mistakes.

There might have been a better way to implement it but with a company the size of Yahoo! I think they'd have the resources to maintain/patch such critical flaws. So the idea of a home-grown (really it's more of a patched version of apache / php than anything else) isn't entirely crazy.

Just looks like this one slipped through the cracks.

Re:Yahoo Hacked by ambrood on Monday October 06, 2014 @01:36PM (#8417066)
Nobody was really working on yapache when I worked there around 2 years ago.
Re:Yahoo Hacked by monokrome on Monday October 06, 2014 @01:33PM (#8417052)
The idea of still using Apache / PHP nowadays is pretty crazy if you ask me.
Re:Yahoo Hacked by sudowhodoido on Monday October 06, 2014 @01:39PM (#8417080)
I could say the same about most of the supposed superior replacements.

Everything is dangerous in the hands of idiots. The technology is almost entirely irrelevant to the discussion.

Re:Yahoo Hacked by jmulho on Monday October 06, 2014 @05:57PM (#8418553)
Half the world must be crazy. What is better and why?
Re:Yahoo Hacked by currysausage on Monday October 06, 2014 @10:16PM (#8419406)
Nginx, Node.js … and Twitter Bootstrap, obviously. (scnr)
Re:Yahoo Hacked by nodata on Monday October 06, 2014 @01:32PM (#8417046)
What's wrong with a Perl CGI script?
Re:Yahoo Hacked by dTal on Monday October 06, 2014 @01:34PM (#8417059)
Golly. Who was this "they" and "all of us"?
Re:Yahoo Hacked by darkstar999 on Monday October 06, 2014 @06:48PM (#8418779)
People who use the word "frick" or "frickin'".
Re:Yahoo Hacked by andrewflnr on Monday October 06, 2014 @11:45PM (#8419574)
I'm guessing GP once worked for Yahoo.