Skip to content
Disclosed report Beginner

Special characters are not filtered out on profile fields

The profile first name and last name fields accept special characters such as colons, slashes and dots, and also accept null values, even though an SVG payload is filtered. An attacker could set a name containing a URL-like string or null bytes, and the name may revert to the old value.

falconnexus Follow

Originally disclosed on HackerOne

Informational View original
  • Disclosed after 10 days

hi there ,

While looking around into your web application I noticed in the fields Firstname and Lastname you can set a url . example ( http://www.evilsite.com) . where I am using special characters like :// and . . but when I try out other special characters - or particularly a payload such as "><svg/onload=prompt(1)> , it will not be allowed in the first name and last name fields . which means as a protection mechanism this is getting filtered out along with the additional special characters . again using null valus like %00% , is allowed in the fields and updates First name or last name , so it means when you are trying to update your name with such values your name is getting reverted back to the old one .

The intended behavior is not applied for all cases , that is why first name and last name can be updated with multiple special characters and null values . I think usage of special characters should be controlled and checked again by you guys . as you are filtering out payloads which potentially contain multiple special characters but you are allowing usage of special characters in under few circumstances .

I am also attaching a video . Hope you will check and get back with a response soon .

Thanks .

Attachments

legalrobot.mov From the original on HackerOne

The original report as published on HackerOne, by falconnexus. 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 input validation for the name fields is incomplete and inconsistent, allowing some special characters and null values while blocking others.

Impact

An attacker could store a URL-like string or null bytes in their name, which may lead to unexpected behaviour such as the name reverting, but the report does not show a concrete security impact.

What the attacker needed

A user account; ability to edit profile

The fix

The name fields should be validated consistently, rejecting null bytes and unnecessary special characters while allowing only expected 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 web form lets you change your first and last name. The site blocks some dangerous text but still allows other unusual characters and even a null value, which is a character that marks the end of a string. This means the name field is not checked consistently, so a user can save odd values that may cause problems or make the name revert.

More from Legal Robot

View all

The newest disclosed reports for this program.

Similar reports

Same bug class and techniques, clearest first.