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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2024-31999— Fastify 安全漏洞

一分钟漏洞结论

影响对象
fastify fastify-secure-session
利用判断
存在公开或 AI PoC,应优先验证
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

Fastify是OpenJS基金会的一款用于Node.js的开源Web框架。 Fastify secure-session 7.3.0之前版本存在安全漏洞,该漏洞源于允许攻击者重复使用已损坏的安全会话 cookie。

CVSS 7.4 · High EPSS 0.62% · P48

可能的 ATT&CK 技术 1 AI

T1530 · Data from Cloud Storage
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2024-31999 基础信息

漏洞信息

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

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

Vulnerability Title
@fastify/secure-session: Reuse of destroyed secure session cookie
来源: CVE Program / CVE List V5
Vulnerability Description
@festify/secure-session creates a secure stateless cookie session for Fastify. At the end of the request handling, it will encrypt all data in the session with a secret key and attach the ciphertext as a cookie value with the defined cookie name. After that, the session on the server side is destroyed. When an encrypted cookie with matching session name is provided with subsequent requests, it will decrypt the ciphertext to get the data. The plugin then creates a new session with the data in the ciphertext. Thus theoretically the web instance is still accessing the data from a server-side session, but technically that session is generated solely from a user provided cookie (which is assumed to be non-craftable because it is encrypted with a secret key not known to the user). The issue exists in the session removal process. In the delete function of the code, when the session is deleted, it is marked for deletion. However, if an attacker could gain access to the cookie, they could keep using it forever. Version 7.3.0 contains a patch for the issue. As a workaround, one may include a "last update" field in the session, and treat "old sessions" as expired.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
来源: CVE Program / CVE List V5
Vulnerability Type
不充分的会话过期机制
来源: CVE Program / CVE List V5
Vulnerability Title
Fastify 安全漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
Fastify是OpenJS基金会的一款用于Node.js的开源Web框架。 Fastify secure-session 7.3.0之前版本存在安全漏洞,该漏洞源于允许攻击者重复使用已损坏的安全会话 cookie。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
fastify fastify-secure-session < 7.3.0 -

二、漏洞 CVE-2024-31999 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级
Qwen3.6-35B-A3B · 5946 chars
Pro+ 专属包含:
漏洞复现靶场录像(真实沙箱构建 + 触发,独家)
漏洞原理深度分析
触发条件与影响面
完整可执行 POC 代码
利用链与缓解建议
POC 打包下载
每月 100+ 条 AI 生成额度

三、漏洞 CVE-2024-31999 的情报信息

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

CVE-2024-31999 补丁与修复 (1)

CVE-2024-31999 厂商安全公告 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2024-31999

暂无评论


发表评论