News for hackers. Stuff that matters.
Re:Attempt to hack WordPress with a pull request by ck2 on Saturday September 01, 2012 @12:31PM (#4464199)
WP has absolutely no room to be making fun of security issues.

They caught this one because it was an obvious attempt, but their track history sucks.

Mocking evil hackers is a very stupid idea.

Oh and I believe they tried this because someone was successful in the past if I remember correctly.

Re:Attempt to hack WordPress with a pull request by scribu on Saturday September 01, 2012 @01:05PM (#4464321)
> Mocking evil hackers is a very stupid idea.

So, every script kiddie is an "evil hacker" now?

> Oh and I believe they tried this because someone was successful in the past if I remember correctly.

Source?

Re:Attempt to hack WordPress with a pull request by ck2 on Saturday September 01, 2012 @01:31PM (#4464410)
At least one incident here, my memory is clouded by all the issues over the years:

http://it.slashdot.org/story/11/06/22/1241241/wordpressorg-h...

Re:Attempt to hack WordPress with a pull request by scribu on Saturday September 01, 2012 @01:47PM (#4464466)
Thanks for the link, but inserting commits by hacking the infrastructure isn't quite the same as having a pull request officially merged.

Even the Linux infrastructure was hacked not too long ago. More such example here: https://news.ycombinator.com/item?id=4464303

Re:Attempt to hack WordPress with a pull request by kevinconroy on Saturday September 01, 2012 @12:23PM (#4464167)
Nothing subtle, but he was clever in the sense that he managed to stuff a complete injection attack into his single file and included a Google-call in case his script didn't recognize the operating system.

Worth a read not because it's a genius-level hack, but worth to see the breadth-first attempt that the attack takes to utilize a number of strategies. Realizing the number of attack vectors that you have to defend against is key to writing secure code.

In that sense, I wonder if there are other good examples of attack code hosted on github somewhere. Seems like there's as much to learn from "black hat" code attacks as there is from doing code reviews on your own codebase.

Re:Attempt to hack WordPress with a pull request by TazeTSchnitzel on Saturday September 01, 2012 @02:02PM (#4464516)
It's cool and all, but I get the feeling that the pull requester probably didn't write the code.
Re:Attempt to hack WordPress with a pull request by notJim on Saturday September 01, 2012 @02:27PM (#4464620)
Hacks like this are commonly available. Back when I was working with Wordpress more, I saw them a few times. What's kind of cool when you see them is that they're often obfuscated several layers deep, so getting to the code is kind of like a puzzle.
Re:Attempt to hack WordPress with a pull request by zoul on Saturday September 01, 2012 @01:08PM (#4464330)
Sweet Jesus the discussion under the request looks like MySpace. I sincerely hope that this isn't going to be the norm on GitHub in the future.
Re:Attempt to hack WordPress with a pull request by callahad on Saturday September 01, 2012 @01:49PM (#4464475)
It's already pretty common on any issue or pull request that gets a lot of attention and has an aspect of community drama. The Crockford / semicolon one isn't as bad straight out of the gate (https://github.com/twitter/bootstrap/issues/3057), but still...
Re:Attempt to hack WordPress with a pull request by pooriaazimi on Saturday September 01, 2012 @02:17PM (#4464570)
That thread's been modified heavily since then. And I mean heavily. The first 300 posts were all memes back then.
Re:Attempt to hack WordPress with a pull request by tlrobinson on Saturday September 01, 2012 @02:22PM (#4464596)
I don't see any harm in having a little fun on ridiculous pull requests/issues. On legitimate issues it could be annoying.
Re:Attempt to hack WordPress with a pull request by DasIch on Saturday September 01, 2012 @02:03PM (#4464519)
That's already the norm on popular projects. Github really needs to add features for moderation.
Re:Attempt to hack WordPress with a pull request by misnome on Saturday September 01, 2012 @03:17PM (#4464770)
The comments on the actual diff https://github.com/wordpress/wordpress/pull/18/files are actually reasonably intelligent, and amusing
Re:Attempt to hack WordPress with a pull request by DigitalSea on Saturday September 01, 2012 @12:44PM (#4464249)
Very clever but given Wordpress's security track record when it comes to code exploits I wouldn't have been surprised if this somehow made its way into the core. Good code for learning how some particular Wordpress exploits work.
Re:Attempt to hack WordPress with a pull request by pervycreeper on Sunday September 02, 2012 @02:03AM (#4466342)
Are you saying that someone who hasn't read the complete source code of all the software he uses is a moron?
Re:Attempt to hack WordPress with a pull request by pervycreeper on Sunday September 02, 2012 @06:00AM (#4466673)
Re:Attempt to hack WordPress with a pull request by nyodeneD on Saturday September 01, 2012 @01:00PM (#4464303)
Are there any examples of hackers successfully inserting exploits into a popular codebase like this?
Re:Attempt to hack WordPress with a pull request by nl on Saturday September 01, 2012 @01:16PM (#4464356)
There was the famous attempt to insert a backdoor in the Linux sourcetree[1]. That wasn't quite the same as it wasn't a pull request (or equivalent), was instead done by directly modifying the CVS mirror of the BitKeeper sourcetree.

[1] http://lkml.indiana.edu/hypermail/linux/kernel/0311.0/0621.h...

Re:Attempt to hack WordPress with a pull request by charonn0 on Saturday September 01, 2012 @01:13PM (#4464347)
It happened to UnrealIRC a few years back. The tarball on their website was adulterated to include a backdoor and the published checksums were altered too. They've since moved to cryptographic signatures for verification.

http://www.irc-junkie.org/2010-06-12/some-unrealircd-3-2-8-1...

http://www.unrealircd.com/txt/unrealsecadvisory.20100612.txt

Re:Attempt to hack WordPress with a pull request by tjdetwiler on Saturday September 01, 2012 @12:19PM (#4464144)
I was expecting something subtle and clever.
Re:Attempt to hack WordPress with a pull request by cheap on Saturday September 01, 2012 @04:08PM (#4464955)
Instead of focusing on the pull request maybe we should think about better vulnerability trajectories. Next time don't make a pull request. Just fork the project, add some dumb feature someone will want or need, then leave your fork out there on Github. Morons will pull it down and use it without ever checking the code.
Re:Attempt to hack WordPress with a pull request by ohashi on Saturday September 01, 2012 @12:26PM (#4464177)
So he just put in a remote shell and removed the actual code? I've found a couple remote shell scripts on my server over the years as they got compromised, I was always impressed with how much they could really do from 1 file to my server. Scary stuff.
Re:Attempt to hack WordPress with a pull request by adrinavarro on Saturday September 01, 2012 @12:44PM (#4464251)
https://github.com/maxymax I'm quite intrigued by his profile. Note the '10,000 commits with 255,815 additions and 29,562 deletions'.
Re:Attempt to hack WordPress with a pull request by e03179 on Saturday September 01, 2012 @12:47PM (#4464268)
Member Since: Aug 31, 2012
Re:Attempt to hack WordPress with a pull request by alpb on Saturday September 01, 2012 @12:56PM (#4464290)
Oh God how could possibly do 10,000 commits on a single file?
Re:Attempt to hack WordPress with a pull request by duskwuff on Saturday September 01, 2012 @01:25PM (#4464386)
Not sure, but possibly by attempting to insert a malicious commit into the history and rebase everything else over it.
Re:Attempt to hack WordPress with a pull request by Shank on Saturday September 01, 2012 @01:40PM (#4464445)
That would be this pull request he sent:

https://github.com/WordPress/WordPress/pull/19

Re:Attempt to hack WordPress with a pull request by xymostech on Saturday September 01, 2012 @01:20PM (#4464373)
Failing to merge? I dunno, if you look at the changelog it's the past 10,000 commits plus one of his at the end.
Re:Attempt to hack WordPress with a pull request by ibotty on Sunday September 02, 2012 @06:50AM (#4466727)
the pull-request seems to be deleted. for people that want to have a look at the (partly not yet obfuscated) commit will want to search for the sha

2fa93590c7881fab043be7b8b51358894dbc1466

Re:Attempt to hack WordPress with a pull request by keithburgun on Saturday September 01, 2012 @01:38PM (#4464441)
Could someone explain this joke to me, a total programming noob?
Re:Attempt to hack WordPress with a pull request by mcantor on Saturday September 01, 2012 @02:06PM (#4464528)
This is the programming equivalent of a politician embezzling money by writing a law that says "I get ten percent of all the money!" and asking everyone to pass it.
Re:Attempt to hack WordPress with a pull request by TazeTSchnitzel on Saturday September 01, 2012 @02:04PM (#4464522)
They made a pull request - which basically means a request to change the source code - to insert a huge hacker console into wp.
Re:Attempt to hack WordPress with a pull request by kghose on Saturday September 01, 2012 @02:56PM (#4464705)
Thanks. I'm with parent and very curious about what this is about. Does this console give root access to the server via a web interface?
Re:Attempt to hack WordPress with a pull request by OtisBoxcar on Sunday September 02, 2012 @04:30AM (#4466558)
Sort of. It gives access with whatever user the webserver is running under. Might be root, but will usually be a less privileged user eg www-data.
Re:Attempt to hack WordPress with a pull request by newobj on Saturday September 01, 2012 @02:35PM (#4464643)
Laugh now, but someone will pull it off one day.
Re:Attempt to hack WordPress with a pull request by Gamefoo on Saturday September 01, 2012 @01:45PM (#4464461)
"An hilarious", really? Dude, spend a minute on your title. It's not Reddit here.
Re:Attempt to hack WordPress with a pull request by jameyc on Saturday September 01, 2012 @01:55PM (#4464491)
That's actually correct - 'an' before a sounded 'h' is a style issue in American English, and still commonly used. In nearly every other English dialect it is a strict rule.
Re:Attempt to hack WordPress with a pull request by ajhit406 on Saturday September 01, 2012 @02:18PM (#4464574)
Yeah I was just going to comment on this too-- "a" vs. "an" actually has to do with pronunciation, not strictly words that begin with vowels.

Maybe the author is Irish =)

Re:Attempt to hack WordPress with a pull request by astrodust on Friday September 07, 2012 @11:52AM (#4489693)
What's peculiar is that "a house" or "a hose" is given to be correct, but "a honour" or "a hour" is not.

It's probably that words with a more French origin, where the "h" is subdued, require "an" where the harder "h" from more Germanic words does not.

Re:Attempt to hack WordPress with a pull request by homakov on Saturday September 01, 2012 @02:55PM (#4464699)
i'm envy. smart hack
[deleted]
Re:Attempt to hack WordPress with a pull request by ballooney on Saturday September 01, 2012 @02:20PM (#4464578)
If you're going to be smug it's helpful to not be wrong!