No filteration of null characters in name field
The account settings page accepted a username consisting of a null character, which a user could submit by intercepting the request and replacing the name with an encoded null byte. The report does not state what an attacker could achieve beyond setting such a username.
Originally disclosed on HackerOne
- Fixed in 3 days
- Disclosed after 33 days
Hello,
##Description: The account settings page, https://demo.weblate.org/accounts/profile/#account, allows a user to set their username as a null character! A user intercepts the request using a proxy and changes the user name field to %00.
##Mitigation: I recommend you have filtering of null characters on your account settings page.
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 username field lacked server-side validation that rejects null bytes.
Impact
The report only shows that an invalid username can be stored; no further impact such as account takeover or data corruption is demonstrated.
What the attacker needed
A free account; ability to intercept HTTP requests
How it was found
- Open the account settings page while logged in.
- Intercept the profile update request with a proxy.
- Replace the username value with an encoded null character.
- Submit the request and observe the username is accepted.
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 null character is a special invisible byte that some programs treat as the end of a piece of text. Here the website saved it as a username instead of rejecting it. The report does not show what harm this causes, only that the input was not filtered.
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.