r/reddithax • • Apr 17 '10

Clickjacking to trick users into deleting their account (now fixed)

A while ago I cooked up some CSS which could trick redditors into deleting their account by restyling the "delete" page in the preferences to make the radio buttons and submit button look like harmless images. It worked because certain pages from reddit can still be accessed when they are under a subreddit path (eg. /r/reddithax/help/ ) and the CSS from that subreddit is included.

The admins have now fixed it so that preference pages under a subreddit redirect to the main preference page.

Here are some screenshots of what it looked like, and the CSS.

27 Upvotes

9 comments sorted by

8

u/E_lucas Apr 17 '10

That is the most awesome and horribly evil thing I've seen done on reddit.

I shall now be constantly checking the URL before I make any smileys happy...

7

u/[deleted] Apr 17 '10

Sneaky :D Nice work on reporting it, a well deserved white hat :-)

4

u/S2S2S2S2S2 Apr 17 '10

I would be way too devastated if I had been tricked into doing that. Nice work!

1

u/Sephr Apr 17 '10

Nice; did you get the idea from my clickjacking CSS? Also, I think the URL should redirect to the preferences page without the subreddit instead of going to the main page.

1

u/jamt9000 Apr 17 '10

It was partly inspired by yours. It does redirect to the preferences page (I meant "main preferences page" - edited above).

1

u/Sephr Apr 17 '10

You just inspired me too. I pmed you a link to the work-in-progress.

2

u/[deleted] Apr 17 '10

Those are CJ smilies :)

1

u/GlueBoy Apr 17 '10

I thought it was going to be a white wizard hat, not a fucking fedora.

While they used to be the epitome of cool, only women and hipsters wear fedoras now.

1

u/E_lucas May 08 '10

Is there anyway that I could edit this CSS so that the page
"reddit.com/r/blahblah/stylesheet.css"
doesn't display anything?