POJIA破甲
地图 / Resolv::getaddresses bug that can be abused to bypass security measures.

Resolv::getaddresses bug that can be abused to bypass security measures.

业务逻辑 / 违反安全设计原则(按标题归类) / #287835

厂商
Ruby
严重程度
未评级
赏金
—
弱点
违反安全设计原则(按标题归类)
研究员
@edoverflow
披露日期
2018-02-23
资产
—
CVE
—

该报告还没有中文解读。

原文摘录

摘自原文(2456 字符中的一小部分)
`Resolv::getaddresses` is OS-dependent, therefore by playing around with different IP formats one can return blank values. This bug can be abused to bypass exclusion lists often used to protect against SSRF.
原文中的代码
irb(main):002:0> Resolv.getaddresses("127.0.0.1")
=> ["127.0.0.1"]
irb(main):003:0> Resolv.getaddresses("localhost")
=> ["127.0.0.1"]
irb(main):004:0> Resolv.getaddresses("127.000.000.1")
=> ["127.0.0.1"]

默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Ruby 所有。

时间线

  • 报告提交
  • 公开披露
阅读 HackerOne 原文 ↗作者 @edoverflow · 版权归作者与 Ruby 所有

同类报告

Email Verification bypass on signupAutomattic · 2020-12-03Race Condition : Exploiting the loyalty claim https://xxx.vendhq.com/loyalty/claim/email/xxxxx url and gain x amount of loyalty bonus/cashVend VDP · 2018-06-07Bypass rate limiting on /users/password (possibly site-wide rate limit bypass?)HackerOne · 2016-12-08Homograph fix BypassHackerOne · 2017-10-16Bypass Email Verification using Salesforce -- Reproducible in gitlab.comGitLab · 2019-12-13Bypassing Recaptcha Protection in `https://connect.acronis.com`Acronis · 2024-10-30