OpenSSL+Apple SecTrust: SecTrust accepts certificates that the app's CURLOPT_SSL_CTX_FUNCTION trust store or verify callback rejected
该报告还没有中文解读。
原文摘录
摘自原文(6639 字符中的一小部分)
Summary: On OpenSSL builds with Apple SecTrust (USE_APPLE_SECTRUST, for example Homebrew's curl), libcurl runs the handshake with SSL_VERIFY_NONE, calls the application's CURLOPT_SSL_CTX_FUNCTION before it, and, if OpenSSL's verification fails, asks Apple SecTrust and accepts the server when …
原文中的代码
libcurl/8.17.0-DEV OpenSSL/3.6.4 zlib/1.2.12 curl-8_17_0, -DCURL_USE_OPENSSL=ON -DUSE_APPLE_SECTRUST=ON libcurl/8.23.0-DEV OpenSSL/3.6.4 zlib/1.2.12 curl-8_23_0, same options libcurl/8.23.1-DEV OpenSSL/3.6.4 zlib/1.2.12 master 59d2537b40, same options libcurl/8.22.0 OpenSSL/3.6.4 ... …
默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 curl 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @sujitjaunjal · 版权归作者与 curl 所有