Skip to content
Info disclosure Write-up Beginner

Understanding Timing Vulnerabilities: A Real Bug Hunting Experien

The application's registration workflow responded more slowly for existing HackerOne usernames than for non-existent ones, allowing an attacker to enumerate valid usernames by measuring response times. The author chose not to report it because the impact was limited to user enumeration.

Sudheer Follow

Published on medium.com

Timing vulnerabilities are often overlooked because they do not immediately expose sensitive data or allow account takeover. However, differences in application response times can unintentionally reveal information that attackers can exploit.

Sudheer, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the application performed additional processing (such as a lookup or validation) only when the supplied username existed, creating a measurable timing difference.

Impact

An attacker could determine which HackerOne usernames exist, which could aid credential stuffing, password brute forcing, and targeted phishing, though the author did not demonstrate impact beyond user enumeration.

What the attacker needed

Access to the registration workflow; ability to measure response times

The fix

The application should use constant-time comparison functions and ensure identical processing paths for valid and invalid inputs to eliminate observable timing differences.

How it was found

  1. Register on the application using a HackerOne username.
  2. Observe the server response time for an existing HackerOne username.
  3. Observe the server response time for a non-existent HackerOne username.
  4. Repeat the test multiple times to confirm the timing difference is consistent.

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 write-up has not been written yet. The Original tab links to the source.

A timing vulnerability is when a website takes different amounts of time to respond depending on secret information, like whether a username exists. By measuring those small delays, an attacker can guess which usernames are real, even without seeing any error message.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by Sudheer

View all

1 more disclosed report, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.