POJIA破甲
地图 / imap: StartTLS stripping attack (CVE-2016-0772).

imap: StartTLS stripping attack (CVE-2016-0772).

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

厂商
Ruby
严重程度
低危 · CVSS 6.5
赏金
—
弱点
密码学问题(通用)
研究员
@sighook
披露日期
2021-07-08
资产
https://github.com/ruby/ruby
CVE
CVE-2016-0772CVE-2021-32066

该报告还没有中文解读。

原文摘录

摘自原文(5200 字符中的一小部分)
`net/imap` does not seem to raise an exception when the remote end (imap server) fails to respond with `tagged_response` (NO/BAD) or `OK` to an explicit call of `imap.starttls`. This may allow a malicious MITM to perform a starttls stripping attack if the client code does not explicitly set `usessl …
原文中的代码
    def starttls(options = {}, verify = true)
      send_command("STARTTLS") do |resp|
        if resp.kind_of?(TaggedResponse) && resp.name == "OK"
          begin
            # for backward compatibility
            certs = options.to_str
            options = create_ssl_params(certs, verify) …

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

时间线

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

同类报告

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