While adding a payment method - Notification email not sent to newly added email ID as well as there is no verification for new email id (Paypal)
The report notes that when a user adds a new PayPal payout email address, no notification or verification email is sent to that new address. An attacker could add someone else's email as a payout method, potentially causing confusion or tax issues for the recipient.
- Disclosed after 3 days
Description: As you know hackerone allows us to add payout method. On selecting paypal we are asked to add paypal email id. On saving new email id. A hackerone account holder (i.e account from which payout method was changed) gets a notification email saying that "The payout method was changed form [email protected]" to "[email protected]"
Note: This message comes when user has checked the box for making this email id as default else a simple notification email is triggered saying a new payment method has recently added to your account.
This is the expected behavior and very correct.
But the issue is a user whose email id has been added is not notified, according to me this is not the correct flow. Even a user should be notified that this email id has been added for paypal by xyz person. So all further payments will receive to this email id.
According to me the idle behaviour should be like whenever a user enters a new email address a verification code should be sent to that email address and after verifying only that email should be allowed. This is what i think and i believe.
Now a question arises why anyone will enter any other person email address because its all about money.
But the answer is you never know what an attacker might be thinking. There may be n number of reasons doing this below are few
-
On receiving bounty end user will be confused from where did this amount got deposited i never reported any vulnerability nor i have account on hackerone then y money got deposited to my account and may be he can lodge a complaint.
-
Purposely deposit money money to make him pay more tax (i don't know abt other countries but in country like INDIA if money is coming from additional resource then Accountants asks for all proofs from where did money came and we need to show all of them and based on that we pay yearly taxes)
Steps To Reproduce
- Login into your hackerone account
- Goto Settings -> Payment Methods -> click on add payment method
- Add another email id for which you have access ( so that you can check for any notification emails)
4.Save
You will notice notification emails are only triggered to your registered hackerone account and no notification email is sent to newly added account.
Optional: Your Environment (Browser version, Device, etc)
Works in all browsers
Optional: Supporting Material/References (Screenshots)
I have there is no need for any screenshots above steps are sufficient to reproduce it.
Note: This mentioned issue is not a hack but it is a good practise and adding a verification for new email id would be defence in depth.
Impact
As mentioned above an attacker can use this in any way. We cannot guess what an attacker might think.
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 does not verify ownership of a newly added payout email address by sending a verification link or code to it.
Impact
An attacker could add an arbitrary email address as a payout method, which may cause confusion or tax complications for the owner of that email address, though the report does not demonstrate direct financial theft.
What the attacker needed
A HackerOne account; ability to add a payout method
How it was found
- Log in to the HackerOne account.
- Go to Settings, then Payment Methods, and click to add a payment method.
- Add another email address that you control.
- Save the new payment method.
- Observe that notification emails are sent only to the registered account, not to the newly added email address.
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.
When you add a new email address to receive payments, the system should send a confirmation to that address to make sure it belongs to you. Here, it does not, so someone could add another person's email without their knowledge. This is a missing check, not a direct hack.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.