82 points · by louis-paul · 6y ago · 31 comments
We should agree to a system that auto-pwns (takes offline) anything that has an OWASP top-10 in it. janit0r had the right idea when s/he/they took all those IoT devices offline. The Japanese did something similar (iirc in 2018).
the top comment in the article nails it:
> I'm not a fan of a vulnerability reporting platform giving someone grief for finding a vuln in THEIR platform. Of all orgs, HackerOne should understand the optics of how they communicate with a reporting party.
Interrogating your voluntary reporting party with things like "why did you access so much data, you didn't need to" is just stupid, that's common exposure assessment practice for most in the industry.
Your vuln was found and exploited either way. Your choices are two:
1. Honorable guy validates scope of access and reports it. 2. Less honorable guy pwns your shit.
Come on, HackerOne.
EDIT: there is so much we could do (programmatically) using .well-known/security.txt to drive automation for all kinds of things in addition to mere providing of a contact point to report vulns to.
> Thank you for confirming you no longer have unauthorized access. As part of our investigation, we also want to make sure we have all the relevant information from you to ensure we’re capturing everything, even as we review our own logs / audit records. As such, we would appreciate your answers to a few questions to assist us.
HackerOne ask a bunch of questions about what was accessed.
> Again, thank you so much for responsibly reporting this issue to us. We really do appreciate it, and we thank you for your assistance with our investigation.
Then later after awarding a 20k bounty:
>To make it clear on how we believe these situations should be handled by hackers, we’ve added a clarifying section to our policy. We urge you to review this section, which will reduce the blast radius going forward. We’d like for you to continue to be a valuable member of the community and our top hacker, but for that, we require you to be mindful of the access that particular vulnerabilities give you. Being responsible and understanding the potential consequences of your actions is very important in this field. We hope you understand and will take this into consideration going forward.
https://hackerone.com/security/policy_versions?change=362468...
Tone and how you treat your reporters matters. The comment quoted by the person I responded to was edited to include this after they read the full report:
>> Edit: This comment was based on an incomplete understanding of the specifics of the communication between H1 and the reporter. This assessment wasn't the most fair, and I probably should have read the full report before passing judgment. [0]
You say:
>I'm not sure why that was necessary either. It might have been out of scope according to some H1 guideline the reporter wasn't aware of but what the reporter did wasn't really out of the ordinary.
Isn't it exactly the commonness of that practice that makes it clear it is important to take the time to educate your reporters and improve your policy? The amount of sensitive data was accessed increased the severity of the breach. HackerOne specifically acknowledges this as one of their planned courses of action to improve things going forward:
>> As the community grows, HackerOne needs to ensure that HackerOne is reinforcing the best practices in bug bounty hunting. The HackerOne Community team will look to increase hacker education around delivering proof of critical severity vulnerabilities in case sensitive information has been accessed by the hacker.
[0] https://arstechnica.com/information-technology/2019/12/hacke...
If you're not familiar with disclosures and communication via H1 maybe this all feels very odd or bad or something, idk. Looks fairly standard to me.
Ultimately, to me, someone found a vulnerability, reported the vuln, and it was remediated within ~3 hours. There was no "breach", unless you consider every H1 report a breach?
Having a repository of vulns is quite a scary thing though. I often wonder, with all of the "wontfix" and "too low impact to care" bugs chained together, how easy is it to own many of these customers?
There shouldn't be a gap between "won't fix" and "Too bad to be made public".
If a company is happy not to fix something, they shouldn't complain if it's published.
> Bind Sessions to IP Addresses
As they admit, "IPs... change for legitimate reasons", so it seems like most sites wouldn't want to roll out this protection, because it would randomly logout their users. I haven't tested this, but it seems like this would be pretty common on mobile networks from some googling.
> Bind Sessions to Devices
They say they will "investigate binding the session to a specific device"; is there a known good way to do this? I could imagine attempts to do this breaking legitimate use cases like Apple's Handoff between iOS and Mac, or just not adding much security.
My instinct is that the admin functionality could be put run behind a VPN, and that would be a good defense against a HackerOne employee's credentials or sessions cookie being leaked.
Do NOT bind session cookies to an IP. It breaks usability on mobiles, they change networks quite often.
What you can try to do instead is to associate the cookie to the country is user currently is in. It's available in the CF-IPCountry header if you use CloudFlare. This may also cause usability issues for frequent travelers or border workers.
https://support.cloudflare.com/hc/en-us/articles/200168236-C...
It's simple and it's extremely effective. It benefits security immensely.
1. Target leaks session cookie
2. Attacker uses VPN to connect from target's country with the leaked session cookie
3. Attacker's session is deemed validComplaining that the finder poked around too much while asserting that he had access to very little.
https://www.google.com/about/appsecurity/reward-program/#rep...
Sometimes that's not easy but slurping tons of data to demonstrate the scope of the vulnerability is rarely necessary from a technical perspective. That said, if your report is being ignored it becomes a very tempting avenue to get priority.
We also provide a test account upon which researchers can use if they wish to attempt to modify or read private information. They should stick to that data and I'd encourage other bug bounty programs to do similar.
In my eyes this researcher should've stopped as soon as they started seeing private data and reported it, it sounds as though they continued to read private information well after they realized it was private data they were viewing.
I realize not every bug bounty program plays fair. We look specifically at our bug bounty triage team (via the platform we use) to make sure we are treating researchers fairly and that researchers are obeying the agreed upon rules. They're the neutral third party in our eyes. They keep us honest and researchers honest. At least that's how I approach it all.