Email field filtering problem.
The email settings page accepted an address over 255 characters and silently truncated it to 255 before storage, leaving an invalid address with no @ or domain.
- Triaged in 8 days
- Fixed in 11 days
- Disclosed after 59 days
From the page: https://app.mavenlink.com/settings/email When I tried to update the email address, I noticed that the database field was allocating 255 characters there.And if the input was more than 255 character that field was truncating. For example:
haxorsistz+axorsistzhaxorsistzhaxorsistzhaxorsistzhaxorsistzhaxorsistzhaxorsistzhaxorsistzhaxorsistzhaxorsistzhaxorsistzhaxorsistzhaxorsistzhaxorsistzhaxorsistzhaxorsistzhaxorsistzhaxorsistzhaxorsistzhaxorsistzhaxorsistzhaxorsistzhaxoailrsistzhaxoaaaaaaaa@gmail.com
This is a 265 character address.Though as per RFC the maximum length allowed for an email address is 255 characters. But when I submitted that info,that was truncated and stored first 255 characters to the database.So the email address which was stored into database was:
haxorsistz+axorsistzhaxorsistzhaxorsistzhaxorsistzhaxorsistzhaxorsistzhaxorsistzhaxorsistzhaxorsistzhaxorsistzhaxorsistzhaxorsistzhaxorsistzhaxorsistzhaxorsistzhaxorsistzhaxorsistzhaxorsistzhaxorsistzhaxorsistzhaxorsistzhaxorsistzhaxoailrsistzhaxoaaaaaaaa
Which is an invalid email address,without any @ and trailing domain name.
So,I suggest mavenlink to check the submitted character length and the validity of that email address before storing it to database to prevent further errors.
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 application did not validate the email length or format before writing it to a database column limited to 255 characters, so the value was silently truncated.
Impact
The stored email address is invalid, lacking an @ and domain; the text shows no further exploitation.
What the attacker needed
A signed-in account; access to the email settings page
The fix
The application should check the submitted length and validate the email format before storing it.
How it was found
- Open the email settings page while signed in.
- Enter an email address longer than 255 characters.
- Submit the form and observe that the stored value is cut to 255 characters.
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 website form let someone type a very long email address. The database only had room for 255 characters, so the extra characters were quietly cut off, leaving an invalid address.
What is Account takeover?
Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.