Username .. (double dot) should be restricted or handled carefully
A user could set their username to two dots, which caused the application to build a settings URL that resolved to a different path and returned a 404. The report only shows a broken page, not any access to another user's data.
- Disclosed after 3 hours
If I change my username to "test" then as in normal case it will send a GET request to /test/settings but if I change my username to ".." (double dot within inverted commas) then it will send GET request to /settings because /../settings will change to /settings and hence final GET request will be to /settings which will show a 404 page. I have attached a video as POC.
Regards!
Attachments
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 username was inserted into a URL path without being checked or encoded, so a value containing dot segments changed which path was requested.
Impact
The user's own settings page could break and return a 404; the text does not show access to other users' data or any other security impact.
What the attacker needed
A user account; ability to change the 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.
When you pick a username, the site puts it into a web address, for example /yourname/settings. If the username is two dots, that address means 'go up one folder', so the browser asks for a different page. The reporter only saw an error page, not someone else's information.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.