POJIA破甲
地图 / Gem signature forgery

Gem signature forgery

密码学缺陷 / 密码学问题(通用) / #275269

厂商
RubyGems
严重程度
低危 · CVSS 5.5
赏金
$1,000
弱点
密码学问题(通用)
研究员
@b9629eebd06fb8f0680ecbdef829e
披露日期
2018-08-03
资产
https://github.com/rubygems/rubygems
CVE
—

该报告还没有中文解读。

原文摘录

摘自原文(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 所有

同类报告

elections.k8s.io uses weak session secret key, may place elections at riskKubernetes · 2025-09-19 · $250SMTP interaction theft via MITMPortSwigger Web Security · 2020-11-04Able to change password by entering wrong old passwordStripo Inc · 2019-12-18HashDoS in V8Node.js · 2025-07-15The POODLE attack (SSLv3 supported) at status.slack.comSlack · 2018-11-28SSL certificate not validated when registering with a providerNextcloud · 2021-06-02 · $300