Huh, this seems very obvious in hindsight. I guess with Stripe things are a bit easier since you have none of this username/password stuff to be dealing with (you could get your cc number swiped, but if you're an American you're dealing with that issue everyday anyways).
New Paypal gateway UI susceptible to spoofing
11–20 of 53 posts
Re: New Paypal gateway UI susceptible to spoofing
#12[deleted]
The only site you should trust with your paypal credentials is paypal. And the only way to be sure you're talking to paypal is to see paypal in the address bar with an SSL-encrypted session. (At least, that's what the whole web, browsers and CA's alike, have been striving to ensure is the case since the web has had encryption.)
Re: New Paypal gateway UI susceptible to spoofing
#13Earlier quoted context omitted.
It's not just PayPal fraud per se. Leaking user's PayPal email address and password has a lot of other consequences. (Yeah yeah in theory you should use distinct passwords for different sites etc etc)
Yes, but if PayPal's security is good enough, that's everyone else's problem. (Yes, that's pretty nasty - but is putting a poorly-secured "startup" online really any better?)
Re: New Paypal gateway UI susceptible to spoofing
#14Re: New Paypal gateway UI susceptible to spoofing
#15Has anyone seen anything in a spec or recommendation that addresses a browser-UI solution to verifying the authenticity of iframes or other embedded objects?
Re: New Paypal gateway UI susceptible to spoofing
#16[deleted]
Yeah but what to stop me from serving a fake popup over https://myfraudsite.com ?
Re: New Paypal gateway UI susceptible to spoofing
#17Earlier quoted context omitted.
Yes, but if PayPal's security is good enough, that's everyone else's problem. (Yes, that's pretty nasty - but is putting a poorly-secured "startup" online really any better?)
To log in paypal account password is enough, user-agent and IP/location can be faked. When you're in you get access to user's transaction history. Ouch.
Re: New Paypal gateway UI susceptible to spoofing
#18Hands-up - I'm guilty of doing this. I hadn't really considered the issue before, but I agree it is a security concern.
One of the reasons developers switch to using an iframe rather than a separate window is due to popup blocking. Retrieving the url for a payment system usually requires making a server side call, so it's impossible to then launch a popup directly from the user action. The solution would be to require a second user action after having retrieved the url.
A complete redirect isn't always the best case for single page web apps, either. Thankfully, we're a bit smarter about deep-linking these days, so that should no longer be an issue.
Re: New Paypal gateway UI susceptible to spoofing
#19Re: New Paypal gateway UI susceptible to spoofing
#20In cases like this, asking users for information, especially for payment details, for a different site than the user is visiting (e.g. PayPal) should be done using separate windows or iframes. Period. Additionally, the specification for visible iframes should make it clear to the user the iframe’s document URL. The iframe itself should have its own non-editable URL address bar, including an interactable area to allow…