Skip to content
Business logic Disclosed report Beginner

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.

blake12356 Follow

Originally disclosed on HackerOne

Informational View original
  • 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!

The original report as published on HackerOne, by blake12356. 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 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

  1. Open the account settings page while logged in.
  2. Intercept the profile update request with a proxy.
  3. Replace the username value with an encoded null character.
  4. 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.

More by blake12356

View all

1 more disclosed report, best first.

More from Weblate

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.