Skip to content
Info disclosure Disclosed report Beginner

Unauthenticated 'display name' information leak on enumeration of login names

An unauthenticated endpoint returns a user's display name when given a valid login name, which in the reporter's environment reveals the user's full name. An attacker who knows or guesses a login name could therefore learn the associated person's real name without any credentials.

frankspierings Follow

Originally disclosed on HackerOne

Medium 5.3 View original
  • Triaged in under an hour
  • Fixed in 12 months
  • Disclosed after 2.7 years
  • I reported this last week through email, but I didn't receive any response so that is why I report this once more.
  • This is probably not considered as a real security vulnerability, but my customers would like to see this fixed, therefore I report it.

Problem: It is possible to get a users display name by knowing their login name. In our environment this results in a users full name. No credentials are required. (The login name could be either leaked or brute forced.)

Reproduce: Browse (unauthenticated) to /index.php/avatar/<USERNAME>/abc. Replace <USERNAME> with a valid user login name.

Fix: I personally would only allow this information to be disclosed when te requestor is authenticated.

The original report as published on HackerOne, by frankspierings. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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 avatar endpoint performs no authentication or authorisation check before returning the display name associated with a login name.

Impact

An unauthenticated attacker who knows or brute-forces a login name could learn the corresponding user's display name, which may be their full name; the reporter notes the login name could be leaked or brute forced.

What the attacker needed

No authentication needed; a valid login name

The fix

The endpoint should only disclose the display name when the requester is authenticated.

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.

Many websites have pages that show a small profile picture or name for a user. This one answered such requests even when nobody was logged in, so anyone could ask 'who is user X?' and get back their real name. The only thing needed was the username, which can be guessed or found elsewhere.

What is Info disclosure?

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

More by frankspierings

View all

1 more disclosed report, best first.

More from Nextcloud

View all

The newest disclosed reports for this program.

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.