News for hackers. Stuff that matters.
Re:How to boost your popularity on OkCupid using CSRF and a ... by ctoth on Monday August 02, 2021 @01:24PM (#28039690)
> It also occurred to me that if I redirected my website to the CSRF link that automatically sent a message to me, I could see the OkCupid profiles of my website visitors who were logged into okcupid.com, which would make for an intense web analytics tool.

Ouch.

Re:How to boost your popularity on OkCupid using CSRF and a ... by Teever on Monday August 02, 2021 @01:39PM (#28039958)
I learned recently that if someone forwards you the email that OKC sends them alerting them to a new message and you click on it you gain passwordless access to their account.

I contacted OKC about this but they said that it was not an issue.

Re:How to boost your popularity on OkCupid using CSRF and a ... by DJBunnies on Monday August 02, 2021 @01:51PM (#28040130)
Lots of sites do this, it’s a feature for the majority of users who prefer convenience over security.
Re:How to boost your popularity on OkCupid using CSRF and a ... by cmckn on Monday August 02, 2021 @03:13PM (#28041294)
I find that passwordless links usually expire after 1 use or some amount of time; generating eternal alt-passwords for an OkCupid account in every message notification email seems pretty heinous.
Re:How to boost your popularity on OkCupid using CSRF and a ... by AlchemistCamp on Monday August 02, 2021 @04:15PM (#28042033)
Gmail now pretty much breaks single-use tokens in links because it consumes them itself after a user clicks on them, but before redirecting the user to the site.

It's an unfortunate change that has made single-use links a worse UX and less popular in the last couple of years.

Re:How to boost your popularity on OkCupid using CSRF and a ... by gbl08ma on Monday August 02, 2021 @04:56PM (#28042525)
This sounds like it would break a bunch of email address verification systems, password recovery links and the like. I wonder if indeed it does break them, but since it only affects smaller websites nobody seems to care.
Re:How to boost your popularity on OkCupid using CSRF and a ... by AlchemistCamp on Monday August 02, 2021 @06:27PM (#28043472)
> "This sounds like it would break a bunch of email address verification systems, password recovery links and the like."

This is exactly the pain I've experienced with my own site, https://alchemist.camp

I've manually tested it and seen the token consumed when clicking the link via gmail but had no issues when copying the link from the password reset email to a gmail account. A second manual tester confirmed the same, as have multiple support cases.

Password recovery links sporadically fail for gmail users. I had to add extra instructions to copy and paste rather than click through the link and am in the process of moving away from single-use tokens because a lot of people still click before reading those instructions and email me for support.

My increased customer support burden isn't something Gmail PMs worry about, but they may whitelist some larger service's emails.

Re:How to boost your popularity on OkCupid using CSRF and a ... by konha on Tuesday August 03, 2021 @03:16AM (#28046485)
Instead of copy and paste you could have a POST form on your site to trigger the actual reset (with a hidden field pre-populated from the params of the email link). Gmail and others won’t touch it. They assume a GET is free from side effects and that it is safe to load your link because of that.
Re:How to boost your popularity on OkCupid using CSRF and a ... by lazide on Monday August 02, 2021 @08:13PM (#28044343)
Why not make them 2 use tokens?

Not quite as secure, but way better than never expires?

Re:How to boost your popularity on OkCupid using CSRF and a ... by jsf01 on Tuesday August 03, 2021 @03:33AM (#28046588)
Or after initial token use, set to expire after n seconds rather than immediately
Re:How to boost your popularity on OkCupid using CSRF and a ... by AlchemistCamp on Tuesday August 03, 2021 @03:34AM (#28046596)
That's exactly the approach I'm leaning towards using.
Re:How to boost your popularity on OkCupid using CSRF and a ... by faeyanpiraat on Tuesday August 03, 2021 @04:05AM (#28046763)
Or you could trigger an ajax call on the page that actually checks the token validity then redirect the user to a new password or a sorryexpired form.

Gmail may fetch the page but wont run the js on it.

Edit: this works for situations when spam filters fetch the links as soon as the mail arrives.

Re:How to boost your popularity on OkCupid using CSRF and a ... by labawi on Tuesday August 03, 2021 @04:29AM (#28046898)
Yes, please ruin functionality without javascript for the sake of gmail's nosiness.

Comment about a form and PUT/POST is good - it will work by standards in any browser, even when gmail starts executing javascript. Add auto-submit on top javascript if preferred.

Re:How to boost your popularity on OkCupid using CSRF and a ... by ncallaway on Monday August 02, 2021 @05:01PM (#28042590)
This isn't the case in my experience.

We have a tool that sends me an email with a single use link when it's used.

I just now confirmed that I receive the email containing the single-use link, that I can click on it and view the page, and that the single-use link is no longer available after I've viewed the link.

Is this perhaps conditional behavior of some sort?

Re:How to boost your popularity on OkCupid using CSRF and a ... by ExtraE on Monday August 02, 2021 @05:23PM (#28042853)
Perhaps it’s 2-use?
Re:How to boost your popularity on OkCupid using CSRF and a ... by ncallaway on Monday August 02, 2021 @05:29PM (#28042927)
It's not. It's a tool we developed, and I've confirmed that the resource at the link is fully destroyed after the first access.
Re:How to boost your popularity on OkCupid using CSRF and a ... by WhompingWindows on Monday August 02, 2021 @08:40PM (#28044493)
Wow, can you theorize why they would build it that way?
Re:How to boost your popularity on OkCupid using CSRF and a ... by Blankenface on Monday August 02, 2021 @09:57PM (#28044933)
They never expire. Source: am OKCupid user.

As mentioned in another comment: this is one of the reasons I laughed when they made a grab for everyone's phone numbers, claiming it was to prevent people from haxxoring your account.

Re:How to boost your popularity on OkCupid using CSRF and a ... by nicoburns on Monday August 02, 2021 @02:35PM (#28040816)
This isn't ideal, but why would anyone forward this kind of email?
Re:How to boost your popularity on OkCupid using CSRF and a ... by Johnny555 on Monday August 02, 2021 @04:30PM (#28042228)
I might forward it to a friend to ask if that's the girl he dated last week, without meaning to give him passwordless access to my account.
Re:How to boost your popularity on OkCupid using CSRF and a ... by jmnicolas on Tuesday August 03, 2021 @08:44AM (#28048479)
A good way to know if he is really your friend ;)
Re:How to boost your popularity on OkCupid using CSRF and a ... by entropicdrifter on Monday August 02, 2021 @04:19PM (#28042079)
The email itself could be intercepted, could it not?
Re:How to boost your popularity on OkCupid using CSRF and a ... by thih9 on Monday August 02, 2021 @03:18PM (#28041345)
I guess when an adversary knows about the feature and uses some social engineering against the user?
Re:How to boost your popularity on OkCupid using CSRF and a ... by EpicEng on Monday August 02, 2021 @03:50PM (#28041753)
In order to get access to their... OkCupid account? Not sure that I care.
Re:How to boost your popularity on OkCupid using CSRF and a ... by wizzwizz4 on Monday August 02, 2021 @04:25PM (#28042164)
Re:How to boost your popularity on OkCupid using CSRF and a ... by Johnny555 on Monday August 02, 2021 @05:13PM (#28042728)
You might care if you were married and using OKCupid to find a girlfriend.

You may say that getting exposed for trying to have an affair is a good thing, but that's a still a reason why someone may care how secure their OKCupid activity is.

Re:How to boost your popularity on OkCupid using CSRF and a ... by shakna on Tuesday August 03, 2021 @02:10AM (#28046159)
Certain sexual behaviours are outlawed in certain nations. And may result in death or long incarceration times.

In other nations, it may not be strictly illegal, but is more than enough information that, if publicly released, would result in death threats and other social pressures.

Re:How to boost your popularity on OkCupid using CSRF and a ... by kfrzcode on Monday August 02, 2021 @04:21PM (#28042103)
Everyone's got something to hide somewhere.
Re:How to boost your popularity on OkCupid using CSRF and a ... by simonw on Monday August 02, 2021 @02:17PM (#28040552)
That's shocking! Really surprised that they don't see this as an issue, I would expect that it's trivial to social engineer someone into forwarding you one of those emails.
Re:How to boost your popularity on OkCupid using CSRF and a ... by Blankenface on Monday August 02, 2021 @09:09PM (#28044652)
It also really takes the wind out of the sails of their whole "you must give us your phone number for security" song and dance and makes it clear the phone number was only for tying your username to your real world identity.
Re:How to boost your popularity on OkCupid using CSRF and a ... by AnIdiotOnTheNet on Monday August 02, 2021 @02:41PM (#28040898)
Maybe, but how much value is there in taking over people's OKCupid account?
Re:How to boost your popularity on OkCupid using CSRF and a ... by rendall on Monday August 02, 2021 @03:17PM (#28041341)
Someone I knew once sent me an urgent direct message over Twitter that they were stranded in the City of London and needed me to wire money. Phone gone, computer stolen, they could only communicate by Twitter. Of course it wasn't actually my friend, but a 2-bit hacker. But if they were to collect enough accounts and message enough people, someone might bite. Maybe someone would give up something truly valuable if they really thought it was someone they cared about, a long lost son, or a pined-for ex.
Re:How to boost your popularity on OkCupid using CSRF and a ... by Johnny555 on Monday August 02, 2021 @04:32PM (#28042241)
If there's no value or downside to someone taking over my OKCupid account, why have a password on it in the first place?
Re:How to boost your popularity on OkCupid using CSRF and a ... by yunohn on Monday August 02, 2021 @05:21PM (#28042823)
This is a horrible take, obviously there’s different levels of security and risk associated with everything.
Re:How to boost your popularity on OkCupid using CSRF and a ... by Johnny555 on Monday August 02, 2021 @05:26PM (#28042887)
A horrible take on how much value is there in taking over people's OKCupid account?

If there's literally no value in taking it over, then why password protect it in the first place?

I have an online photo album and while I could password protect it and share the password with people that I want to share it with, there's very little value (perhaps there's some small social engineering value) in protecting it. If there's no value in exposing it, why bother password protecting it?

Re:How to boost your popularity on OkCupid using CSRF and a ... by AnIdiotOnTheNet on Monday August 02, 2021 @05:29PM (#28042926)
It's a bad take because you made it sound like I said it was worthless, when all I implied was that it isn't worth much. There's a difference.
Re:How to boost your popularity on OkCupid using CSRF and a ... by Johnny555 on Monday August 02, 2021 @05:32PM (#28042958)
I took your reply as meaning it has so little value that there's no reason to or even harm if someone takes it over.

Did you mean that it's valuable enough that someone should protect it, but shouldn't bother protecting it too much (like, anyone with the URL should have access to it) since it has little value? I'm not sure I really understand the nuance, but I'd be awfully surprised if I forwarded an email to someone from OKCupid and it gave them passwordless access to the account.

Re:How to boost your popularity on OkCupid using CSRF and a ... by srmarm on Monday August 02, 2021 @05:57PM (#28043210)
There is a huge market in romance scams and people lose huge amounts to it, most people are clever enough to spot them but many aren't. Now if you're able to intercept a genuine conversation it'd give you a good advantage.

Even at a lower level, just sending a bunch of messages asking for money for a cab/train/airfare might yield good returns. People let their guard down when there's a possibility of getting laid.

Re:How to boost your popularity on OkCupid using CSRF and a ... by rootsudo on Monday August 02, 2021 @02:49PM (#28041011)
You'd be surprised, alot - but I'd wager it's easier to just save the photos and open up your own honeypot that way.

But the messages could be interesting.

Re:How to boost your popularity on OkCupid using CSRF and a ... by kfrzcode on Monday August 02, 2021 @04:22PM (#28042120)
The value is relative to motivation, I'd posit
Re:How to boost your popularity on OkCupid using CSRF and a ... by llampx on Monday August 02, 2021 @01:35PM (#28039903)
The Data Protection Agency loves this weird trick!