Legal Robot · Report #255125
Null Byte Injection in all fields of Profile
How it was found
Hi Team,
Null byte injection is possible in all the fields of Edit Profile functionality.
Affected URL: https://app.legalrobot.com/account
Description: Possible Injection of control characters, such as Null Byte 0x00, \000, \x00, \z, or the Unicode representation \u0000 into vulnerable fields in the Message endpoints in order to cause unexpected, harmful behaviors. A null character can be placed in a any field of profile with the percent code %00. The ability to represent a null character does not always mean the resulting string will be correctly interpreted, as many programs will consider the null to be the end of the string.
POC:
- Register a User.
- Click on Account.
- Click on Edit Profile.
- Put some control characters.
- Click on submit.
- Control characters will be saved at Server side as well as rendered at client side.
Fix: Block the control characters from being saved on the back-end when included in user-input, as well as to suppress the output and rendering of previously-submitted control characters.
Please find the attached screen shot as well.
Thanks, Akash Saxena