Bypass confirmation to add payment method.
When a user added a payment method or PayPal address, the API response exposed the verification token needed to confirm the change. An attacker could use that token to verify the email confirmation themselves, bypassing the step where the victim must confirm via email.
Infosec
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the API returned the email verification token (eventId) in the response to the add-payment request, so the confirmation secret leaked to the requester instead of staying only in the email.
Impact
An attacker could confirm a payment method or PayPal address on the store without the email confirmation step, potentially attaching a payment method they control.
What the attacker needed
Ability to add a payment method; intercept the API response
The fix
The verification token should not be returned in the API response and should only be delivered through the confirmation email.
How it was found
- Go to the add payment feature and enter a PayPal address.
- Intercept the request and inspect the response.
- Note the verification token (eventId) shown in the response.
- Send the eventId to the verification endpoint to confirm the email without opening the victim's email.
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 write-up has not been written yet. The Original tab links to the source.
Some websites ask you to confirm a change, like adding a payment method, by clicking a link sent to your email. That link carries a secret code proving you own the email. Here the server also sent that secret code back in the response to the request that added the payment method, so anyone who could see that response could confirm the change without access to the email inbox.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.