The username of an account can be ..
An account username could be set to two dots, which made the public profile page for that account impossible to view. An attacker could claim such a username and break the profile link for that account.
Originally disclosed on HackerOne
- Fixed in under an hour
- Disclosed after 30 days
Hello,
Description:
The username of an account can be set to ... This makes it impossible to view the public profile of this account.
POC:
I have claimed the username .. on the demo.weblate.org site. It is impossible to view this account's public profile page.
Here is the public profile page: https://demo.weblate.org/user/../
Mitigation
I recommend you filtering usernames to prevent them from starting with ..
Thanks!
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 application did not validate usernames to reject values that are special in URL paths, such as `..`.
Impact
The public profile page for the affected account could not be viewed, which could disrupt that account's presence on the site.
What the attacker needed
Ability to choose a username
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.
A username is the name used in a profile web address. If someone picks a name made of two dots, the profile page cannot be viewed. This only affects that one account's page.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.