2020-10-09 Credential Stuffing Attack
An attacker used credential stuffing with about 63,000 stolen credentials, routing attempts through Tor to avoid IP-based alerts and using one password per account to avoid lockouts. One account was accessed and 14 report titles were viewed, but report contents were not accessed.
- Disclosed after 1 hour
Summary by the program
Executive summary On October 4, 2020 and October 5, 2020, an attacker launched two credential stuffing attacks against HackerOne.com. On October 9, 2020, HackerOne’s Security team noticed the attack during their weekly audit of anomalies in their log aggregation platform, leading to the Incident Response team starting an investigation.
The Incident Response team identified that a number of accounts had valid authentication attempts, of which some were blocked due to two-factor authentication. One account in particular had user activity from an unauthorized party, which viewed a number of report titles. After an investigation, the Incident Response team concluded that report contents hadn’t been accessed.
On October 9, 2020, HackerOne immediately locked all affected accounts that had their credentials compromised. After the accounts were locked, HackerOne reached out to the account holders to notify them with instructions how to unlock their account and advice regarding their credentials. In the abundance of caution, programs of which report titles were viewed received a notification from HackerOne as well.
Incident timeline
| Date | Time (PDT) | What happened? |
|---|---|---|
| 2020-10-04 | 12:00p | Credential stuffing attack against hackerone.com started. |
| 2020-10-05 | 2:00a | Credential stuffing attack against hackerone.com stopped. The attack ran for 14 hours. |
| 2020-10-05 | 12:00p | Credential stuffing attack against hackerone.com started. |
| 2020-10-05 | 4:00p | Credential stuffing attack against hackerone.com stopped. The attack ran for four hours. In total, about 63,000 credentials were tested. Looking at authentication volume per hour, this was about an order of magnitude higher compared to normal traffic. |
| 2020-10-09 | 11:00a | HackerOne Security team notices a spike in sign in attempts on October 4, 2020 and October 5, 2020. |
| 2020-10-09 | 12:42p | Incident Response (IR) team starts incident. |
| 2020-10-09 | 1:11p | IR team confirms five accounts saw valid authentication attempts, two authentication attempts were blocked due to Two-Factor Authentication. |
| 2020-10-09 | 1:13p | IR team confirms none of the five accounts are associated with a program and only two have access to reports. |
| 2020-10-09 | 1:14p | IR team proactively locked the five affected accounts. |
| 2020-10-09 | 2:17p | IR team confirms that one of the affected accounts saw user activity from a flagged IP address that the attack originated from. This account had its 14 report titles viewed, affecting five programs. |
| 2020-10-09 | 5:20p | IR team unlocks the affected accounts and deactivated platform sessions. |
| 2020-10-09 | 5:20p | IR team reaches out to the five accounts who had valid authentication attempts. |
| 2020-10-09 | 5:20p | IR team reaches out to the two accounts who had valid authentication attempts, but had Two-Factor Authentication enabled. |
| 2020-10-09 | 6:20p | IR team reaches out to the programs of which report titles were viewed. |
| 2020-10-09 | 6:40p | Incident ends. |
Root Cause Analysis HackerOne has alerts in place to detect large numbers of authentication attempts per account, including a lockout strategy, and alerts to detect large numbers of authentication attempts per IP address. HackerOne also offers two-factor authentication for every user on the platform. Yet, the credential stuffing attack went unnoticed for four days. As a mitigation against missing alerts, HackerOne’s Security team does an audit for anomalies on its log aggregation platform on a weekly basis. The anomaly in sign-ins was detected during this audit.
Why did the attack go unnoticed for four days? As is typical for a credential stuffing attack, the attack specifically enumerated one password per account. This is different from a brute force attack, where many passwords are enumerated for a single account. Because each authentication attempt was for a different user, it avoided the account lockout strategy to be initiated. The attack itself was routed through the Tor network, which effectively changed the IP address for each authentication attempt. Neither of the alerts HackerOne has set up could therefore detect the attack.
Action items for HackerOne HackerOne has implemented an alert for anomalous authentication volume, regardless of their origin or user account. This will help to proactively alert the Security team when a similar attack would be launched.
HackerOne will also prioritize a feature that helps keeping its users more secure by identifying machines they haven’t authenticated from in the past. HackerOne will start to require the user to confirm their authentication attempt through a 3rd party system before the newly identified machine can authenticate against the platform.
Advice for users This incident is a great reminder of the benefits of two-factor authentication. You can enable this for your account under Authentication.
HackerOne also recommends its users to use a password manager and refrain from reusing passwords across multiple systems.
Note on breadth of the attack As mentioned earlier, the attack covered many accounts and used unique IP addresses for each attempt by using the Tor network. The Incident Response team identified two commonalities in the authentication requests, namely the browser’s user agent and a client-generated authentication fingerprint. The user agent gave a slightly broader set of accounts that were affected than the fingerprint.
To err on the side of caution, the Incident Response team decided to use the browser’s user agent to avoid missing an account that was authenticated. This may have resulted in people having their accounts locked by error. Due to the sensitive nature of the information that could’ve been accessed, the Incident Response team believes that this was the right decision.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the attack evaded detection because it used one password per account and rotated IP addresses via Tor, so existing per-account lockout and per-IP alerts did not fire.
Impact
One account was accessed by an unauthorised party and 14 report titles across five programs were viewed, but report contents were not accessed; two other authentication attempts were blocked by two-factor authentication.
What the attacker needed
Stolen credential lists; Tor network access; victims reuse passwords
The fix
HackerOne implemented an alert for anomalous authentication volume regardless of origin or account, and planned to add new-machine confirmation.
How it was found
- The attacker launched a credential stuffing attack against the site.
- The attack ran for 14 hours, stopped, then ran again for four hours.
- About 63,000 credentials were tested in total.
- The attack was routed through Tor so each attempt used a different IP address.
- The security team noticed the spike during a weekly log audit four days later.
- The incident response team locked affected accounts and notified account holders and programs.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Credential stuffing is when an attacker takes lists of usernames and passwords leaked from other sites and tries them on a target site, hoping people reused passwords. Here the attacker tried one password for each account and changed IP address using Tor, so the site's lockout and IP alerts did not trigger. One account was broken into and the attacker could see the titles of 14 reports, but not their contents.
What is Account takeover?
Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.