News for hackers. Stuff that matters.
Re:Rookie coding mistake prior to Gab hack came from site’s CTO by lawnchair_larry on Tuesday March 02, 2021 @10:13PM (#26324290)
Brian Acton and Jan Koum weren’t exceptions either. WhatsApp had some hilariously bad vulnerabilities. Like no authentication on their APIs and trusting the client.

https://www.mathyvanhoef.com/2012/05/whatsapp-considered-ins...

https://www.mathyvanhoef.com/2012/07/whatsapp-follow-up-unau...

Re:Rookie coding mistake prior to Gab hack came from site’s CTO by rjzzleep on Wednesday March 03, 2021 @12:10AM (#26325007)
To be fair, Rails has a lot more baked in base security than erlang did. Yes Rails had it's fair share of vulnerabilities. I remember there was a major eval issue in some deserializer code, but things such as sql injections or using POST over query strings is just basic knowledge almost every mediocre+ rails dev knows. They picked erlang for their scalability, but as a result had to write a lot of other things from scratch. WhatsApp is still an interesting engineering case study.
Re:Rookie coding mistake prior to Gab hack came from site’s CTO by quetzthecoatl on Wednesday March 03, 2021 @02:24AM (#26325660)
it's not a rails vulnerability though. This would happen irrespective of the language/framework if the developer decide to forego basic sanity checks. This would have been prevented with basic input validations (in any of the layers before it hit model, and model itself), or the organization did basic security testing.
Re:Rookie coding mistake prior to Gab hack came from site’s CTO by rjzzleep on Thursday March 04, 2021 @12:05AM (#26338863)
You miss the point. If you use rails provided primitives it absolutely wouldn't happen. So it's fair to categorize this as a rookie coding mistake. The author took code that had these security primitives baked in the framework and REMOVED them, replacing it with insecure custom sql, which in turn led to the vulnerability.
Re:Rookie coding mistake prior to Gab hack came from site’s CTO by DaniloDias on Tuesday March 02, 2021 @10:17PM (#26324311)
Hah! Too great. Ok, so no good code in startups.