ASRG / asrg.io

asrg.io - website and docs
MIT License
8 stars 4 forks source link

Bug Report (No validation on account names) #414

Closed usman-asrg closed 2 years ago

usman-asrg commented 2 years ago

Description: Account name text fields have no validation and any characters can be used to save the name. this can be used for malicious purpose. a complete malicious link can be saved in this textboxes a nd when you send users an invitation to join new relic account, this names will render as valid link in email clients.for eg if i save account name as some porn site, it will render as link in email client.since the email is from trusted domain like new relic, victim will definitely want to click on the link which will end up him visiting some porn site.See the attached screen shot. for eg purpose i used http://google.com as name.

Steps:

  1. Login in to the account.
  2. go to profile.
  3. In the name field type https://gooogle.com and save it

Impact: No validation on account names

usman-asrg commented 2 years ago

@heldyboy now if someone is try to add numbers or any other things excpet alphabets it will throw an error and no record will be saved until it matches the correct format

image