HexBrain

Gratipay · Report #152477

Username .. (double dot) should be restricted or handled carefully

Informativestatus
1upvotes
20 Jul 2016disclosed

How it was found

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!

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original