CURLSHOPT_UNSHARE race can cause UAF in shared SSL session cache during HTTPS transfer
该报告还没有中文解读。
原文摘录
摘自原文(8478 字符中的一小部分)
`CURLSHOPT_UNSHARE` can free a shared SSL session cache while another thread is starting a normal HTTPS transfer with the same share handle. The failing transfer reaches the cache through `curl_easy_perform()`, during the OpenSSL handshake. libcurl appears to try to reject this kind of lifetime …
原文中的代码
curl_share_setopt(share, CURLSHOPT_SHARE, CURL_LOCK_DATA_SSL_SESSION) curl_share_setopt(share, CURLSHOPT_UNSHARE, CURL_LOCK_DATA_SSL_SESSION)
默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 curl 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @smaeljaish771 · 版权归作者与 curl 所有