Gem signature forgery
该报告还没有中文解读。
原文摘录
摘自原文(8357 字符中的一小部分)
Inconsistencies in how `gem` processes gem files make it possible to reuse a signature from an existing signed gem and apply it to arbitrary contents. The forged gem will install even with `-P HighSecurity`.
原文中的代码
$ gem --version 2.5.2 $ wget https://raw.githubusercontent.com/intridea/multi_json/master/certs/rwz.pem $ gem cert --add rwz.pem Added '/CN=pavel/DC=pravosud/DC=com' $ gem install --install-dir install -P HighSecurity multi_json-1.12.2.gem Successfully installed multi_json-1.12.2 1 gem installed $ …
默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 RubyGems 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @b9629eebd06fb8f0680ecbdef829e · 版权归作者与 RubyGems 所有