Most active commenters
  • jacquesm(3)

297 points galnagli | 61 comments | | HN request time: 1.629s | source | bottom
1. intheitmines ◴[] No.45674109[source]
Just out of interest have you had any legal threats etc from this kind of probing if they don't have explicit bug bounty programs? Also do you ever get offered bounties in on reporting where there wasn't a program?
replies(3): >>45674680 #>>45674761 #>>45675110 #
2. luxuryballs ◴[] No.45674151[source]
well at least it was a password hash :D
replies(2): >>45674633 #>>45674864 #
3. GEBBL ◴[] No.45674347[source]
Strange, the site is run by an Ian Carroll, but the examples show Sam Curry, who is a very famous bug bounty hunter.
replies(2): >>45674412 #>>45674851 #
4. captnasia ◴[] No.45674412[source]
if you look at his other posts, it looks like they collaborate often.
5. cathalc ◴[] No.45674490[source]
That is shamefully poor security.
replies(2): >>45674850 #>>45676283 #
6. whatever1 ◴[] No.45674554[source]
Just use a framework to build your site. Don’t reinvent the wheel!
replies(4): >>45674712 #>>45674794 #>>45676337 #>>45677228 #
7. dmitrygr ◴[] No.45674633[source]
Don't get too excited. They never said what kind of hash. Given the rest of the site's security design, might have easily been unsalted md5
replies(1): >>45675776 #
8. forgotaccount22 ◴[] No.45674635[source]
Archaic company has archaic security. Well done on the RD, but boy does it not surprise me one bit. Would almost be willing to bet that the hash was MD5 too.
replies(2): >>45674810 #>>45674956 #
9. forgotaccount22 ◴[] No.45674680[source]
When I was still in university I reported a vulnerability and when the company started threatening me with legal action, my professor wrote a strongly worded email and they dropped it. Haven't had it since in 8 years. Feels like many companies understand what we do now, atleast compared to 10 years ago.
10. ChaseRensberger ◴[] No.45674712[source]
i respectfully disagree with this sentiment. i think that in general, reinventing the wheel can be a great learning opportunity in understanding how the wheel works.
replies(5): >>45674725 #>>45675267 #>>45675268 #>>45675502 #>>45677159 #
11. ◴[] No.45674717[source]
12. AnimalMuppet ◴[] No.45674725{3}[source]
It can. But it can be very bad at producing wheels that don't break.
replies(1): >>45674825 #
13. iancarroll ◴[] No.45674761[source]
Actual legal threats are uncommon but I have seen some companies try to offer a bribe disguised as a retroactive bug bounty program, in exchange for not publishing. Obviously it is important to decline that.
replies(1): >>45676060 #
14. motorest ◴[] No.45674794[source]
> Just use a framework to build your site. Don’t reinvent the wheel!

How do you arrive at that conclusion after reading an article on how an API had a broken access control vulnerability?

replies(1): >>45674813 #
15. veqq ◴[] No.45674810[source]
What hash do you use?
replies(3): >>45674884 #>>45675297 #>>45677005 #
16. renewiltord ◴[] No.45674813{3}[source]
He’s being sarcastic and suggesting using some out of the box rbac thing.
17. adamtaylor_13 ◴[] No.45674825{4}[source]
Not if you understand how the wheel works. That's the whole point.
18. gnerd00 ◴[] No.45674850[source]
wait until you see the party footage
19. gregschlom ◴[] No.45674851[source]
From the post:

"Having been able to attend these events by hoarding airline miles and schmoozing certain cybersecurity vendors, Gal Nagli, Sam Curry, and I thought it would be fun to try and hack some of the different supporting websites for the Formula 1 events."

20. Group_B ◴[] No.45674864[source]
There's probably another rockyou out there waiting to happen
21. scq ◴[] No.45674884{3}[source]
bcrypt is the industry standard.
replies(1): >>45675775 #
22. LorenDB ◴[] No.45674934[source]
Ian, it would be great to see an RSS feed on your website if you want to gain another regular reader :)
replies(2): >>45674939 #>>45675520 #
23. galnagli ◴[] No.45674939[source]
Ian is a great writer
24. jacquesm ◴[] No.45674947[source]
That's not just one vulnerability, that's a whole slew of failures. For instance there is absolutely no need to keep those documents on the live server for applicants once they have been used for their intended purpose. Blast radius reduction and all that.

I hope you got at least free tickets for life out of this.

replies(1): >>45675356 #
25. zozbot234 ◴[] No.45674956[source]
It's an F1 racing site, their job is literally to move fast and break things. https://xkcd.com/1428/
replies(2): >>45675118 #>>45675695 #
26. zozbot234 ◴[] No.45675110[source]
The kind of probing they did and described in the blogpost, with the attempt to raise their privileges to admin is legally fishy AIUI. Usually this kind of thing would be part of a formal, agreed-to "red teaming" or "penetration testing" exercise, precisely to avoid any kind of legal liability and establish necessary guidelines. Calling an attempted access "ethical" after the fact is not enough.
replies(2): >>45677031 #>>45677741 #
27. olyjohn ◴[] No.45675118{3}[source]
You break things in F1, you lose. Reliability and consistency is key.
28. jonplackett ◴[] No.45675267{3}[source]
But maybe do that on a smaller scale personal project?
29. catoc ◴[] No.45675268{3}[source]
Reinventing the wheel for Formula 1 driving…
replies(1): >>45675471 #
30. ◴[] No.45675297{3}[source]
31. awesome_dude ◴[] No.45675356[source]
Rule 1.

NEVER trust user supplied data.

Once that rule was broken, any other rules broken became clear to everyone

replies(2): >>45676139 #>>45676989 #
32. dmoy ◴[] No.45675471{4}[source]
Depending on the wheel, maybe. Nowadays it's more standardized - same rims for example. The tires are standardized.

There's a lot less freedom in reinventing the wheel in formula 1 nowadays

https://www.formula1-dictionary.net/wheels.html

The steering wheel of course isn't even a wheel anymore, for a long time. It's some video game console / airplane cockpit looking monstrosity.

33. samarthr1 ◴[] No.45675502{3}[source]
I funnily just read a whole Twitter thread that had this same thesis, not 45 minutes ago... What a small world
34. heavyset_go ◴[] No.45675520[source]
Seconding this
35. paddleon ◴[] No.45675550[source]
missed opportunity to grant the authors a F1 super license and get the chance to actually drive one of the cars!
replies(1): >>45676873 #
36. 9dev ◴[] No.45675574[source]
They may have said that process was related to GDPR, but that was either a lie or someone with so little understanding for basic laws that I wonder about their capability to conduct business at all.

Everything about this is prohibited and discouraged under GDPR.

37. mikey_p ◴[] No.45675695{3}[source]
No, this is the FIA[1], not Formula 1. They are very very different organizations.

[1] https://en.wikipedia.org/wiki/F%C3%A9d%C3%A9ration_Internati... https://en.wikipedia.org/wiki/Formula_One_Group

38. maxbond ◴[] No.45675775{4}[source]
`bcrypt` is probably the "standard" in the sense that it has the widest adoption, but since 2015 [1] the "standard" in terms of what you should recommend for new work has been `argon2id` (and you can find parameter recommendations here [2]).

[1] https://en.wikipedia.org/wiki/Password_Hashing_Competition

[2] https://cheatsheetseries.owasp.org/cheatsheets/Password_Stor...

39. auxiliarymoose ◴[] No.45675776{3}[source]
Or maybe rot26 — I've heard it's twice as secure as rot13!
replies(1): >>45677929 #
40. CSDude ◴[] No.45675799[source]
Imagine being a world class F1 driver and (someone) still have to upload your CV somewhere.
41. necovek ◴[] No.45675873[source]
As pointed out, this is unrelated to GDPR.

Many countries in Europe require you to register with the local police any visitors you are hosting and pay a visitor's tax: this is why hotels would ask for the same documents too.

GDPR should help ensure they only keep the passport data until they complete the registration, and then remove it after some time or at your request.

42. intheitmines ◴[] No.45676060{3}[source]
Thanks, its cool to hear attitudes have changed.
43. jacquesm ◴[] No.45676139{3}[source]
You'd think that client side security would be something that we'd gotten over by now.
replies(1): >>45677562 #
44. daemonologist ◴[] No.45676283[source]
It's hard to even call it security - it was just wide open...

I will say though, this kind of thing does wonders for my imposter syndrome.

45. dboreham ◴[] No.45676321[source]
All hotels I stay at in all countries require my passport. OK, not the usa but there they want my driver's license.
46. maxbond ◴[] No.45676337[source]
There are some vulnerabilities frameworks can address wholesale (like CSRF or XSS) as long as you keep to the blessed way of doing things, but they aren't able to save you from a complete failure to build authorization into your API. Like how seatbelts save lives but can't stop you from accelerating directly into a pole if you choose to do so.
47. jacquesm ◴[] No.45676747[source]
You were lied to.
48. stingrae ◴[] No.45676873[source]
If only that's all it takes
49. yieldcrv ◴[] No.45676946[source]
responsible disclosure made you no money and even after that blogpost you still have to take the l33tcode interview
50. nradov ◴[] No.45676989{3}[source]
Never trust any data. Even if the data comes from a partner or internal system it could be compromised or defective.
51. megous ◴[] No.45677005{3}[source]
yescrypt is very common these days, default in Debian
52. iancarroll ◴[] No.45677031{3}[source]
Good-faith security research[0] is the only way this industry will move forward, for better or worse. It is clear that most companies do not want to invest in anything further like VDPs.

[0] https://www.justice.gov/archives/opa/pr/department-justice-a...

53. atonse ◴[] No.45677159{3}[source]
Great to reinvent the wheel for your mom and pop blog, or to teach yourself these concepts and try to break in. But not for authn and authz for something official like this.
54. zikani_03 ◴[] No.45677228[source]
Mass assignment problems sometimes also come from (improper?) use of frameworks. This goes beyond frameworks and more about how thorough the testing and review of how the user account modification and access control is done.
55. rpcope1 ◴[] No.45677562{4}[source]
You'd think but I keep meeting even "experienced" technical leadership that have been at this for a while that there's no way to get around validation and security that's implemented in client code.
replies(1): >>45677748 #
56. bitexploder ◴[] No.45677741{3}[source]
Without any sort of formally posted bug bounty program explicitly authorizing this sort of activity the CFAA prohibits unauthorized access of "protected computers". I would classify this as legally risky. If FIA had a stick up their ass they could definitely come after the researcher. The researcher's ethical standing is pretty clean in my book, but this was definitely a little more than just changing a URL parameter (only a little more). I would say this is unsafe to do if you are in the united states. The stopping point was somewhere around "I think I could provide the admin role" and reaching out to the best contact you can find and say "Hey, I am an ethical white hat security researcher and I noticed X and Y and in my experience when I see this there is a pretty reasonable chance this privilege escalation vulnerability exists. The chance it exists is high enough in my experience that you should treat it like it exists and examine your authorization code. If you would like I can validate this on my end as well if you give me permission to examine this issue. I am an ethical security researcher" ---> point over to your website and disclosed issues if you got em. To just do it is ehh... I would not take the risk. However if I /did/ do it I would definitely disclose it to them immediately and give an explanation like the above. Shooting the messenger in this case would be pretty asinine, especially if they didn't access anything sensitive, that would preclude FIA from having any evidence you did anything sketchy (cause you did not). The reason I would not do it is because you never know if a system like this pre-fetches data, etc. and that is definitely opening you up to liability of possessing PII etc. Overall, I have disclosed issues like this in the past without actually exploiting the issue to good results. Some times companies ignore it. You can always say "If you do not want to treat this issue as a vulnerability I am going to write this up on my website as an example of things you should probably not do" if you feel ethically compelled to force them to change without actually exploiting the issue. People tend to get the message and do something.
57. cheschire ◴[] No.45677748{5}[source]
I’ve used browser dev tools to regularly add additional drop down options to menus that weren’t present. Huel, for example, only offered 2 or 4 week subscriptions, so I added 3 weeks to it because that’s the frequency I needed, and it worked no problem. 3 weeks later my shakes arrived and every 3 weeks since.
replies(2): >>45677777 #>>45677902 #
58. umanwizard ◴[] No.45677777{6}[source]
That’s incredible
59. mulmen ◴[] No.45677902{6}[source]
Did you try adjusting price?
60. mulmen ◴[] No.45677929{4}[source]
It’s 2025, you should at least be on rot52.

Best practice guide: https://github.com/killerk3emstar/rot52