OpenSSL TLS 1.2 session resumption accepts expired server certificates in libcurl
密码学缺陷 / Improper Validation of Certificate Expiration / #3781305
该报告还没有中文解读。
原文摘录
摘自原文(9937 字符中的一小部分)
curl's OpenSSL backend can accept a new TLS 1.2 HTTPS connection after the server certificate has expired if the connection resumes a previously cached TLS session. A full handshake made at the same time with the same certificate fails with `CURLE_PEER_FAILED_VERIFICATION`, but the resumed …
原文中的代码
bash <<'EOF'
set -euo pipefail
CURL_BIN="${CURL_BIN:-curl}"
command -v "$CURL_BIN" >/dev/null 2>&1 || {
echo "missing curl binary: $CURL_BIN" >&2
exit 1
}
command -v python3 >/dev/null 2>&1 || {
echo "missing required command: python3" >&2
exit 1
}
python3 - <<'PY'
try:
import …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 curl 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @awofjawofjfawf · 版权归作者与 curl 所有