uber

by AppSecure

通过AppSecure

这就是我本可以免费骑Uber的方式 (Here’s how I could’ve ridden for free with Uber)

摘要 (Summary)

This post is about a critical bug on Uber which could have been used by hackers to get unlimited free Uber rides anywhere in the world. This post also explains few best practices while integrating payment gateways.

这篇文章是有关Uber的一个严重错误的,该漏洞可能已被黑客用来在世界任何地方获得无限制的免费Uber游乐设施。 这篇文章还介绍了集成支付网关时的一些最佳做法。

描述 (Description)

Uber Technologies Inc. is an online transportation network company, headquartered in San Francisco, California, with operations in 528 cities worldwide. Users can create their account on Uber.com and book a ride. When the ride is completed a user can either pay cash or charge it to their credit/debit card.

Uber Technologies Inc.是一家在线运输网络公司,总部位于加利福尼亚州旧金山,在全球528个城市设有业务。 用户可以在Uber.com上创建他们的帐户并预定行程。 乘车完成后,用户可以支付现金或将其记入信用卡/借记卡。

But, by specifying an invalid payment method (for example, abc, xyz, and so on), I was able to ride Uber for free.

但是,通过指定无效的付款方式(例如abc,xyz等),我可以免费乘坐Uber。

To demonstrate the bug, I got permission from the Uber Team and took a free ride in India. I wasn’t charged for any of my rides, using the invalid payment method.

为了演示该错误,我获得了Uber团队的许可,并在印度免费乘车。 我使用无效的付款方式未向我的任何游乐设施收费。

脆弱的要求: (Vulnerable request:)

POST /api/dial/v2/requests HTTP/1.1 Host: dial.uber.com {“start_latitude”:12.925151699999999,”start_longitude”:77.6657536,

POST / api / dial / v2 / requests HTTP / 1.1主机:Dial.uber.com {“ start_latitude”:12.925151699999999,“ start_longitude”:77.6657536,

重现步骤: (Steps to reproduce:)

  1. Replayed the above request with random characters as payment_method_id.使用随机字符作为payment_method_id重播了上述请求。
  2. Ride was free.骑是免费的。

影片POC: (Video POC:)

Thanks to Uber Security team for fixing this quickly.

感谢Uber Security团队Swift修复了此问题。

时间表 (The timeline)

Aug 22nd 2016: Vulnerability Report to Uber.

2016年8月22日:给Uber的漏洞报告。

Aug 26th 2016: Uber requested more information about the bug.

2016年8月26日:Uber要求提供有关该错误的更多信息。

Aug 26th 2016: Took a free ride and replied with ride details

2016年8月26日:免费乘车,并提供了乘车详细信息

Aug 27th 2016: Vulnerability fixed by Uber.

2016年8月27日:Uber修复了漏洞。

Sep 10th 2016: Rewarded with $5000 bounty by Uber.

2016年9月10日:Uber奖励$ 5000赏金。

外卖 (Takeaways)

As a developer, you should always take care of the below test cases when integrating payments:

作为开发人员,在集成付款时,应始终注意以下测试用例:

a) Verify if the payment was success or failure by doing a server to server request to payment gateway or verifying checksum to the payment gateway provider.

a)通过执行服务器到服务器对支付网关的请求或验证对支付网关提供商的校验和,来验证支付是成功还是失败。

b) Always validate the amount of the item with the amount which was paid by the user to the payment gateway.

b)始终用用户支付给支付网关的金额来验证商品的金额。

c) Validate currency in the payment API calls. For example, the attacker can pay 50 IDR for a 50 USD item.

c)验证支付API调用中的货币。 例如,攻击者可以为50美元的物品支付50 IDR。

d) If you are storing credit cards/debit card information, then always check for authorisation if an identifier is being passed in one of the API requests.

d)如果您存储的是信用卡/借记卡信息,请始终检查授权是否在API请求之一中传递了标识符。

AppSecure is a specialised cyber security company with years of skill acquired and meticulous expertise. We are here to safeguard your business and critical data from online and offline threats or vulnerabilities.

AppSecure是一家专业的网络安全公司,具有多年的专业技能和专业知识。 我们在这里保护您的业务和关键数据免受在线和离线威胁或漏洞的侵害。

Contact us: hello@appsecure.in

与我们联系: hello@appsecure.in

翻译自: https://www.freecodecamp.org/news/how-anyone-could-have-used-uber-to-ride-for-free-36cdee5ea854/

uber

uber_这就是我本可以免费骑Uber的方式相关推荐

  1. 滴,这周的福利已掉落,镁客君请你免费骑摩拜

    一起骑车去浪! 昨天周五,按惯例我们是要送福利的 但是,我们运营跑了. 然后,我就被临时拉来给大家送福利. 这次我们送的东西比较特殊. 它能让你在国庆节, 完全没有堵车烦恼, 享受飞一般自由. 比如在 ...

  2. 查找和免费下载文献的方式汇总

    目录 1 查找文献的网站 (1)Google Scholar (2)Semantic Scholar (3)Springer LInk (4)IEEE Xplore (5)Engineering Vi ...

  3. 最全的免费SSL证书申请方式

    在SSL广泛普及的今天,申请一张免费的SSL证书是一件非常容易的事情.这里为大家总结当前阶段(2023年)拥有一张免费SSL证书的方式.首推的方式为来此加密网站,文章后面会有详细的介绍. 下面介绍几种 ...

  4. 用Uber的方式管理机器学习模型

    https://www.toutiao.com/a6707115213491012110/ 2019-06-27 15:52:32 Uber公司是目前对数据依赖性最高的组织之一. 每一天,Uber公司 ...

  5. 16大免费网络营销的方式

    知道营销.也叫问答营销,通过一问一答的方式解决用户问题的同时开展营销. 以百度知道为例,排名和权重都很高,但是审核严格,需要使用�.sort等黑科技代码才可以秒过审核,而1小时升5级等技术也需要掌握, ...

  6. 共享单车泡沫破灭,自行车产业链的每个环节都被波及

    因为共享单车出了名的天津王庆坨镇现在对这个词避之不及. 王庆坨主街道旁的一家上海凤凰和飞鸽自行车销售点,店家已经习惯了媒体的问询,也不愿多聊两句,"你们从北京来,都来问共享单车,去工厂看看, ...

  7. 安全专家教你如何利用Uber系统漏洞无限制的免费乘坐?

    本文讲的是安全专家教你如何利用Uber系统漏洞无限制的免费乘坐?,近日,根据外媒报道,美国一名安全研究人员发现Uber上存在一处安全漏洞,允许发现这一漏洞的任何用户在全球范围内免费享受Uber乘车服务 ...

  8. 摩拜联合微信全国免押金骑行 这样的CP组合可以多来一点

    最近,摩拜和微信这对商业CP又联合"搞事情"了!8月7日,摩拜单车宣布联手微信,在全国超过150个城市推出"新用户免押金试骑"活动.用户通过微信小程序注册摩拜单 ...

  9. 免费的React课程,通过构建聊天应用程序来提高您的React JS技能

    Chat is eating the world, and React is eating front-end development. So what could be better than le ...

最新文章

  1. ASP .NET Core使用connection string连接MySQL/MariaDB,并设置UTF-8编码
  2. 利用Linux的文件命名规范在Windows中建立“高权限”文件
  3. MIUI应用权限设置
  4. html 清除float,css中如何清除float
  5. jQuery中eq和get的区别
  6. UVA 10054 the necklace 欧拉回路
  7. 使用transforms.Compose套件做图像数据变换
  8. 【转载】接口和抽象类的区别 --相信你看完不会再混淆了
  9. 怎样用python把数据分开_python使用pandas实现数据分割实例代码
  10. 对某目录下的文件按照日期进行排序
  11. 死磕jdk源码之如何注释
  12. solidworks图纸模板添加_Solidworks工程图 #07 如何在工程图模板中添加自定义属性链接...
  13. 风云再续:他抖任他抖,IO诊断在我手
  14. C语言交换两个变量数值的几种方法
  15. 自定义控件 TextView 歌词 Lrc
  16. 中国超级计算机之父 孟,晚霞未必逊晨曦——记“中国巨型计算机之父”金怡濂院士...
  17. Matlab中产生门函数----Heaviside函数的调用方法
  18. 【人工智能】2017年中国人工智能技术——智能语音应用报告
  19. 北斗/GPS定位模块冷启动、热启动、温启动有什么区别?
  20. [UOJ409]Highway Tolls

热门文章

  1. python中getopt函数_python getopt模块详解
  2. iOS的KVO实现剖析
  3. js base64 解码
  4. Fade 数字切换动效
  5. iOS - 实现映客首页 TabBar 和滑动隐藏 NavBar 和 TabBar
  6. 桑叶黑芝麻糊,从头到脚通补
  7. iOS 系统分析(一) 阅读内核准备知识
  8. 高德API+Python解决租房问题
  9. 【斗医】【18】Web应用开发20天
  10. Windows下FFmpeg高速入门