Advertisement
Guest User

Untitled

a guest
Oct 5th, 2014
2,443
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.27 KB | None | 0 0
  1. ###########################
  2.  
  3. # Paypal Two-Factor Authentication Bypass
  4.  
  5. ###########################
  6.  
  7. Today, the 5th of August, I release my Paypal 2FA bypass exploit.
  8. It's been exactly 2 months since I've reported this bug, and due to the
  9. simplicity of it, I believe I've given Paypal long enough to fix it.
  10.  
  11. It's still not fixed.
  12.  
  13.  
  14. Full blog can be found here: http://blog.internot.info/
  15. My website: http://internot.info/
  16. My Twitter: https://www.twitter.com/MegaManSec
  17.  
  18.  
  19. *This blog is an excerpt from my blog entry, "Paypal's 2-FActor
  20. Authentication(2FA): The Good, The Bad, And The Ugly
  21. <http://blog.internot.info/2014/06/paypals-2-factor-authentication2fa-good.html>",
  22. in which I detail the use of Paypal's 2Factor system.*
  23.  
  24.  
  25. On the 5th of June, 2014, I found a complete bypass for Paypal's 2FA
  26. service, in which anybody would be able to access a Paypal account that
  27. has 2FA setup, by only logging in through a "special" Paypal page.
  28.  
  29.  
  30.  
  31.  
  32. eBay, in conjunction with Paypal, provide a service as to where you can
  33. link your eBay account to your Paypal account, and when you sell
  34. something on eBay, the fees automatically come out of your Paypal account.
  35.  
  36.  
  37. When setting this up, you're (obviously) asked for your Paypal login.
  38.  
  39.  
  40.  
  41. <http://1.bp.blogspot.com/-uxvDxHa7Yq8/U5OdMPXKGqI/AAAAAAAAAJE/j5-j7fZULTc/s1600/Screenshot+from+2014-06-06+21:05:01.
  42. png>
  43.  
  44. Linking the two accounts
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51. <http://1.bp.blogspot.com/-8nyKzVWa4IY/U5Odaf0MHeI/AAAAAAAAAJM/0B1xGx7l6gk/s1600/Screenshot+from+2014-06-06+21:06:23.
  52. png>
  53.  
  54. Login Page
  55.  
  56.  
  57. When you are redirected to the login page(above), the URL contains
  58. "=_integrated-registration". Doing a quick Google search for this shows
  59. that it isn't used for anything other than eBay; thus it is setup purely
  60. for Paypal&eBay.
  61.  
  62.  
  63. Once you're actually logged in, a cookie is set with your details, and
  64. you're redirected to a page to confirm the details of the process. And
  65. this is where the exploit lays. Now just load http://www.paypal.com/ ,
  66. and you are logged in, and don't need to re-enter your login.
  67.  
  68.  
  69. So, the actual bug itself is that the "=_integrated-registration"
  70. function does not check for a 2FA code, despite logging you into Paypal.
  71.  
  72.  
  73. You could repeat the process using the same "=_integrated-registration"
  74. page unlimited times.
  75.  
  76.  
  77.  
  78.  
  79. <http://3.bp.blogspot.com/-fmOAdRhEkzU/U5OdjPA2GkI/AAAAAAAAAJU/pn4DoliZPhY/s1600/Screenshot+from+2014-06-06+21:07:18.
  80. png>
  81.  
  82.  
  83.  
  84. I originally found this on the 5th of June, 2014, and reported it to
  85. Paypal the same day.
  86.  
  87.  
  88. I have also uploaded a demonstration of it on YouTube.
  89.  
  90.  
  91.  
  92.  
  93.  
  94. ==Found: 5th June 2014==
  95.  
  96. ==Reported: 5th June 2014==
  97.  
  98. ==Response: 27th June 2014==
  99.  
  100. ==2nd Response: 27th June 2014==
  101.  
  102. ==3rd Response: 4th July 2014==
  103.  
  104.  
  105.  
  106.  
  107. On the 5th of August, I have decided to release this publicly, because
  108. despite two months given, it still hasn't been fixed.
  109.  
  110.  
  111.  
  112.  
  113.  
  114. You can try it out, by logging into Paypal here:
  115. https://www.paypal.com/cgi-bin/webscr?cmd=_integrated-registration&i;key=0&i;stamp=1364194631&i;data=J
  116. GHnP2g2ybqbgKfR7%2B1loOlg24LvI/VppQIqFE8DyTO9hqc1x1pQw42CCLy3EdEogm85LYOTKtU2wYNfjFZvuHSx4PjAHLVtlv6sYdPl2FIBLN​7BNr3l%2B
  117. Pe0WPeDhopUWqhw0PYE9EAyZPkgIZWJgWKGGGNPqdQRjlbNGoCCIox7RLfKmtEDeH8KXEOzZDSmvETO%2B7fkoy06CLe9CkJhE0V8Mh9QN/wNYIF6WMFgHsz
  118. e7RAS8Qe3j/U9I9zYXDPcfB2L5AVCYI53jcWUOxeKXSlcoV0eIcxkLOkLfmSqnaY9vywEQEhEU2PYoKSqefaZBPFh6Y​7kWXVD/7id8PvkrJzKaCUq0nhBRfF
  119. Gtf1kYrK0ZgX%2Byws4HmiTn4GEL/gaUPtpWviP4BCJmeGOhzQEhbFNYwzuzmOWAaqYfsa62DsAcq3LUy1DyAmBfsLhwzRyzZhKlg1NRz5MxT​suBqlh72W6y
  120. tc1gEMwh%2BJtBxZTf7EggIaTRLdpjXMlZmwRjkMH2BjX8P4968XicykzmLhTpqpg507flV%2Belq3QNBd9cAliSskS3n/%2Bd1os7FQBnogr4tZ7srcTkoP
  121. M5nezXqz3caE/loqoJnkWvlRYfNJpSSysjQ%2BThTgiwNtk4eh8X2r3LhepLD27KdM7I299%2BnWVF9veVjw625ZT%2B3MyQMiO7FbMJdng5baW%2BZIRFIe
  122. ar2GlEJVXMlftP3ibMJAmzGrnKqB0sPwY3augnaBNnz4u32QAaxg8zhvz5FEaELdpFxJ4ptLdRc2MFUB​FkUDm%2B5tlpuNl9JzgKTDQnXzYxX/2KYAznivHT
  123. lsCcwH68kL6EqoiGGTsFoLzp8TqnLvizULu6tdfnTA
  124. hhxV6kCeRRoyN/a62wahvxDibJgTnTjp4d3/xm4nhkQhQ5/xUgtAN9T1aa7n5PinOWS84AOFR0TB3KpwHsQkoQCGXvzdYZh4wD8ECQzYS9lbpaCLm13GqPG
  125. K4xC6K2vat8/gt9uoiJbiy77SK2PcMhcRS3KbK9Z0HtDCl&i;ev=1.0&i;locale=en_US
  126.  
  127.  
  128. (For the love of security, please make sure the page you go to is
  129. https://www.paypal.com/...)
  130.  
  131. Once you login(don't press return to eBay), go to paypal.com.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement