Easiest $100 on Hackerone | Null Byte Broke Authentication
A password containing a Unicode null byte was accepted and stored by the server, but the authentication layer processed the same value differently, so the user could no longer log in. The account became permanently locked without admin intervention.
osintteam.blog
Published on osintteam.blog
I was testing a web application’s account management flow — the kind of functionality most hunters skip over because it feels “too basic.” Password changes. Profile updates.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely a Unicode normalization inconsistency: the storage layer accepted and stored the raw null byte, while the authentication layer processed or normalized it differently during comparison.
Impact
An attacker could lock a victim's account by setting a password with a null byte, and the user would have no way to recover it without admin help.
What the attacker needed
A free account; ability to intercept requests (e.g. Burp Suite)
The fix
The application should normalise or reject null bytes consistently across storage and authentication layers.
How it was found
- Log in and go to Account Settings → Update Password.
- Set a new password containing a Unicode null byte, intercepting the request to remove the frontend escape.
- Observe a 200 OK response, meaning the password update succeeded.
- Attempt to log in with the new password.
- Login fails, leaving the account locked and unusable.
- Trying to send the raw null byte at login also fails, so there is no recoverable path.
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 write-up has not been written yet. The Original tab links to the source.
A null byte is a special character that some programs treat as the end of a string. Here, the server saved the password with that character, but when checking the password later it handled the character differently, so the saved password could never match what the user typed. The result was a broken account that the user could not recover.
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.