Live data from Hacker News

Vulnerabilities in the Feeld dating app

fortbridge.co.uk

81–90 of 150 posts

Re: Vulnerabilities in the Feeld dating app

#81
post #68

Who do you trust? Would tinder and bumble have the same mindset?

The for-profit dating scene is a quagmire. Sure it can work, I've seen it work, but at what cost? We desperately need a new platform owned and operated by the people, for the people.

Hey, sign me up. Outside the "necessary evil" trade-offs inherent to facilitating one-on-one meetups, I would really love a platform that treats people like people, not cattle to be milked for money.

Re: Vulnerabilities in the Feeld dating app

#82

I'm not terribly surprised. I use it but would describe it as incompetently put together as my bank app? maybe worse, it barley functions at all. I dont know how they managed it.

It was so bad when I used it, if it wasn't bizarre memory leak or privacy issues it was extremely poorly executed UX. Between it and Fetlife there's some huge issues with those communities just sticking with the first app that emerges regardless of quality

Given the overlap between those communities and OSS people I’m amazed no one has created a B Corp that does this stuff right.

Re: Vulnerabilities in the Feeld dating app

#83
Saddest part is that this sort of stuff or at least not proper authorization checks is very common. I do not really know what is the solution at this point. Clearly not enough developers care. Or can stop it...

Is it education problem? If so if there was training budget a day or two running against some simple capture the flag exercise might do a lot...

Re: Vulnerabilities in the Feeld dating app

#84
post #7

It seems like they implemented permission checks purely in the frontend, and not just on one endpoint, but almost everywhere. While it is conceptually easy to avoid this, I have seen similar mistakes much more frequently than I would like to admit. Edit: the solution "check all permissions on the backend" reminds me of the solution to buffer overflows: "just add bounds checks everywhere". It's clear to the community…

I once caught a webdev doing frontend authentification with a plain javascript dialog. Yes, simple! Put the password in the JS, and do a simple comparison. Why did I notice? Because the owner of the lamp account contacted me that all their data was suddenly gone. Checked the logs, and yep, Google Bot clicked all the "Delete" links in their internal management view. Simply because JavaScript is opt-in :-) Called the developer and educated him on what he just did. I lost a lot of trust in web people that day.

Re: Vulnerabilities in the Feeld dating app

#85
post #13

Earlier quoted context omitted.

I think the timeline is the more damaging part too. Not only was their design woefully inadequate, they don't seem to care.

The problem is they probably don’t have full time developers. They probably built the app once years ago via a dev shop and then never updated it again. The talent moved on and updating it is expensive now.

They had turnover of £39m last year and profits of £5.5m (double the previous year, quite good for a UK business of this scale). If they don't have full time devs it'll be shocking, certainly had the money to sort crap like this out

Re: Vulnerabilities in the Feeld dating app

#86

Earlier quoted context omitted.

That's an interesting idea. Bridge builders and flight sims are used in industry to test to see if a bridge design will fail or if a plane will crash. They're not limited to oversimplified and fun video games. I wonder if there's a market for a "write a CRUD app and let it loose on the Internet and watch it get pwned" simulator/game.

That's hiring a pen tester, and there is a market for it, but companies don't do it as much as they should because it costs money while the app already "works" and brings in revenue. Of the 3 I've worked at, only one had yearly pen tests done.

No one hires someone to test what happens when a bridge is shot with a missile from 6000 miles away. The bridge "works" in the same way that the software "works".

Re: Vulnerabilities in the Feeld dating app

#87

Earlier quoted context omitted.

It was so bad when I used it, if it wasn't bizarre memory leak or privacy issues it was extremely poorly executed UX. Between it and Fetlife there's some huge issues with those communities just sticking with the first app that emerges regardless of quality

Given the overlap between those communities and OSS people I’m amazed no one has created a B Corp that does this stuff right.

No one migrates from the first big thing so it's a waste of time. Feeld should be killed by this and it'll barely make a dint

Re: Vulnerabilities in the Feeld dating app

#88
post #47
post #17

Earlier quoted context omitted.

Ultimately, I don't disagree. However, I also try to make it a habit to not blame people for not knowing something. This presents as a structural problem in that company: they needed to hire people who do know how to secure server code and put them into a position to do so. Blame the company and those who decided to save every last penny in personnel cost.

People getting paid to create software should know better then these basic mistakes.

than

Re: Vulnerabilities in the Feeld dating app

#89
post #77
post #75

Earlier quoted context omitted.

Also no review or planning anywhere in that process. I'm semi-confident that if a Junior were to talk to another Junior before starting about things to look out for, and then the code was reviewed by say a third Junior, they would not have this bug. Call me naive, but I don't think Juniors are as oblivious as they are made out to be

I should add this works best if you hire with some diversity, such as one Junior with a preference for security topics. If you go up to the counter and yell "10 React devs please", don't be surprised

As a long time engineering manager, I have significantly benifited from this: leveling me up in WCAG/ADA, strcmp timing attacks, performance timing. Many managers start younger than we maybe should, and the burnout that I had in my early years pulled me out of my passion to learn more about comp sci. It was the random enthusiasm of younger folk that, in those times, was my exposure to topics I hadn't dived in to yet.

I have witnessed hiring, listening, and supporting early-career enthusiasm has significantly improved every startup I've had the joy to be a part of.

Re: Vulnerabilities in the Feeld dating app

#90
post #36

Earlier quoted context omitted.

It's pretty easy. Treat each resolver that retrieves data like it's a REST endpoint and secure it, and add a query allowlist that you append items to during your CI builds. You don't need to touch the AST or understand the context of the rest of the query. Just answer the question "can user ABC see the photos of user XYZ?" in the resolver that fetches the photos. If this is inefficient then prefetch some data or use…

Still I think this type of thing is much more likely to happen with GraphQL including various N + 1 and even worse performance issues. Like if you imagine having junior engs they will be much more likely to make the mistake with GraphQL than otherwise and it is harder to review as well. The permissions checking becomes a real spaghetti and difficult to understand in practice compared to just one by one checks.

The permissions checking is one-by-one checks. It's exactly as hard a mistake to make in GraphQL as it is in REST unless you've got more resolvers than an equivalent REST app would have, which is unlikely and would mean GraphQL wasn't a good choice.

I do think that you've got a good point about how the knowledge isn't widespread yet, that it's easier for frontend engineers to write awful expensive queries, and that GraphQL is very hard to secure against DoS unless you lock it down with query hashes.

Post reply on HN