目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-105963— Plug 错误类型参数导致密钥泄露漏洞

一分钟漏洞结论

影响对象
elixir-plug plug
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

漏洞描述:外部生成的错误消息中包含敏感信息 Elixir 的 库(属于 项目)中存在一个漏洞:未认证的远程攻击者可通过传入类型错误的参数,在应用日志中暴露密钥基础值(secret key base)。 中的每个公共函数都会在函数头部守卫(function-head guard)中对参数类型进行验证。一旦守卫失败,Erlang 虚拟机将抛出 ,并在顶层栈帧中包含实际传入的参数值。因此,密钥基础值、派生密钥或用于 API 密钥比对的值可能会出现在该栈帧中。然而,该库的 块以及 函数仅能捕获函数体内部抛出的异常,无法处理

CVSS 5.1 · Medium

可能的 ATT&CK 技术 1 AI

T1040 · Network Sniffing
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-105963 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
Secret key base exposed in stack trace arguments on wrong-typed Plug.Crypto arguments
来源: CVE Program / CVE List V5
Vulnerability Description
Externally-Generated Error Message Containing Sensitive Information vulnerability in plug_crypto in elixir-plug plug_crypto allows an unauthenticated remote attacker to expose the secret key base through application logs via a wrong-typed argument. Every public function in Plug.Crypto validates argument types in a function-head guard. A failed guard makes the Erlang VM raise FunctionClauseError with the actual argument values in the top stack frame, so the secret key base, a derived key, or the value an API key is compared against lands in that frame. The library's rescue blocks and Plug.Crypto.prune_args_from_stacktrace/1 only reach exceptions raised inside a function body, so they never see a guard failure. Plug.Cowboy and Bandit write the frame to the error log and attach it as crash_reason Logger metadata, which error trackers forward. Two entry points take request data. Plug.Crypto.verify/4 exposes the secret key base when the token is neither a binary nor nil, which Phoenix.Token.verify/4 reaches because it forwards the token unguarded. Plug.Crypto.secure_compare/2 exposes the other operand when one side is not a binary, as happens when a missing request header yields nil. Reading the leaked value needs separate access to the logs or the error tracker, so the request alone does not disclose the secret to the attacker. This issue affects plug: from 1.6.3 before 1.7.0; plug_crypto: from 1.0.0 before 2.2.1.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
来源: CVE Program / CVE List V5
Vulnerability Type
通过日志文件的信息暴露
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
elixir-plug plug 1.6.3 ~ 1.7.0 cpe:2.3:a:elixir-plug:plug:*:*:*:*:*:*:*:*
elixir-plug plug 56000c33d8a0a2fbac491f8be06b9c5112bc2276 ~ * cpe:2.3:a:elixir-plug:plug:*:*:*:*:*:*:*:*
elixir-plug plug_crypto 1.0.0 ~ 2.2.1 cpe:2.3:a:elixir-plug:plug_crypto:*:*:*:*:*:*:*:*
elixir-plug plug_crypto 2d078b7b8264c565f0ff71235c515f4f46882dcf ~ 981887493dada0fce7003c61861c00dfbb0fc8c5 cpe:2.3:a:elixir-plug:plug_crypto:*:*:*:*:*:*:*:*

二、漏洞 CVE-2026-105963 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-105963 的情报信息

请登录查看更多情报信息。

CVE-2026-105963 其他参考 (7)

IV. Related Vulnerabilities

V. Comments for CVE-2026-105963

暂无评论


发表评论