Schannel custom-CA path skips Extended Key Usage enforcement
该报告还没有中文解读。
原文摘录
摘自原文(6695 字符中的一小部分)
We believe the Schannel custom-CA verification path in `lib/vtls/schannel_verify.c` may skip Extended Key Usage enforcement. In particular, a certificate that chains to the trusted custom CA but contains only `id-kp-clientAuth`, rather than `id-kp-serverAuth`, may pass peer verification on Windows …
原文中的代码
CERT_CHAIN_PARA ChainPara;
memset(&ChainPara, 0, sizeof(ChainPara));
ChainPara.cbSize = sizeof(ChainPara);
if(!CertGetCertificateChain(cert_chain_engine,
pCertContextServer,
NULL,
pCertContextServer->hCertStore, …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 curl 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @giant_anteater · 版权归作者与 curl 所有