漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Untrusted Sender DN Used as Format String in CMP Response Validation
Vulnerability Description
Issue summary: OpenSSL CMP response validation passed an unexpected response
sender distinguished name directly as the format string to `ERR_raise_data()`.
Impact summary: A malicious or intercepted CMP endpoint can crash a CMP client
that enforces an expected sender or uses a pinned server certificate whose
subject becomes the default expected sender.
CWE: CWE-134 (Use of Externally-Controlled Format String)
Description: When validating a received CMP message, ossl_cmp_msg_check_update()
converts the peer-supplied sender distinguished name with X509_NAME_oneline()
and passes it directly as the format argument to ERR_raise_data(). Percent
characters survive the conversion, so a sender DN such as "CN=%s%n" reaches
BIO_vsnprintf() as an attacker-controlled format string with no matching variadic
arguments. This path is only reached when the caller configures an expected
sender or pins a server certificate, which is the normal configuration for a
CMP client validating server responses.
Since the attacker controls the format string but none of the variadic
arguments, such specifiers as %s and %n dereference or write through unrelated
stack contents and crash the client. The reliable consequence is a denial of
service, when the response comes from a malicious or intercepted CMP endpoint.
There is no controlled memory write, arbitrary-address read, or reliable path
to remote code execution.
FIPS impact: no
No FIPS modules are affected by this issue, as the CMP protocol
implementation is outside the OpenSSL FIPS module boundary.
CVSS Information
N/A
Vulnerability Type
使用外部控制的格式字符串
Vulnerability Title
OpenSSL 格式化字符串错误漏洞
Vulnerability Description
OpenSSL是OpenSSL团队开源的一个提供安全通信加密功能的软件库。 OpenSSL 4.0.0至4.0.2之前版本、3.6.0至3.6.4之前版本、3.5.0至3.5.8之前版本和3.4.0至3.4.7之前版本存在格式化字符串错误漏洞,该漏洞源于CMP响应验证过程中将发送者可区分名称直接作为格式字符串传递给ERR_raise_data(),可能导致恶意或拦截的CMP端点使CMP客户端崩溃,造成拒绝服务。
CVSS Information
N/A
Vulnerability Type
N/A