Skip to content
Account takeover Disclosed report Beginner

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.

siddiki Follow

Originally disclosed on HackerOne

  • 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:

Text
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:

Text
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.

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

  1. Open the email settings page while signed in.
  2. Enter an email address longer than 255 characters.
  3. 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.

More by siddiki

View all

18 more disclosed reports, best first.

More from Mavenlink

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.