← 返回地图破甲

--cert-status with OpenSSL accepts a stapled OCSP response of any age when it lacks nextUpdate (revoked certificate keeps passing)

密码学缺陷 / Improper Check for Certificate Revocation / #4135826

厂商
curl
严重程度
低危
赏金
—
弱点
Improper Check for Certificate Revocation
研究员
@1rhino2
披露日期
2026-10-23
资产
https://github.com/curl/curl
CVE
—

该报告还没有中文解读。

原文摘录

摘自原文(5495 字符中的一小部分)
curl built with OpenSSL accepts a stapled OCSP "good" response of any age under CURLOPT_SSL_VERIFYSTATUS (--cert-status) when the response omits nextUpdate, so a response signed before a certificate was revoked keeps passing the check for as long as the certificate itself is valid. The GnuTLS …
原文中的代码

#!/usr/bin/env python3
# curl --cert-status with OpenSSL: a fresh "revoked" staple is rejected, an old "good" one for the same cert without nextUpdate is accepted
# needs: python3 cryptography, openssl s_server on PATH; usage: python3 poc_ocsp_age.py /path/to/curl
import datetime, subprocess, sys, …

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

时间线

阅读 HackerOne 原文 ↗作者 @1rhino2 · 版权归作者与 curl 所有

同类报告

CVE-2024-0853: OCSP verification bypass with TLS session reusecurl · 2024-01-31CURLOPT_PROXY_CRLFILE / CURLOPT_PROXY_ISSUERCERT / CURLOPT_PROXY_ISSUERCERT_BLOB silently ignored on backends that don't support themcurl · 2026-06-05CVE-2026-111483: GnuTLS accepts non-successful OCSP staplescurl · 2026-10-26OpenSSL `--cert-status` accepts indefinitely stale GOOD OCSP staplescurl · 2026-10-26