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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-87690— Metasploit Framework ios_image_gather 路径遍历漏洞

一分钟漏洞结论

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

Metasploit Framework 的后置模块 存在相对路径遍历漏洞(CWE-22)。该模块将来自 Meterpreter 目录列表的文件名——这些数据完全由恶意或已被篡改的 iOS 设备控制——未经任何 sanitization(净化/过滤)直接插入到传递给 的本地目标路径中。底层的 stdapi 组件(位于 )会将文件写入所提供路径的任意位置。因此,如果目录列表条目中包含如 这样的内容,就能跳出预期的 目录,覆盖 文件。而 是一个资源文件,每次启动 msfconsole 时都会自动执行(参见 )。 攻击者

CVSS 8.8 · High
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
Metasploit Framework ios_image_gather Path Traversal Leading to Arbitrary File Write and Code Execution
来源: CVE Program / CVE List V5
Vulnerability Description
The Metasploit Framework post module post/apple_ios/gather/ios_image_gather is affected by a relative path traversal vulnerability (CWE-22). The module interpolates file names taken from a Meterpreter directory listing — data fully controlled by a hostile or tampered iOS device — directly into the local destination path passed to client.fs.file.download_file(), with no sanitization. The underlying stdapi sink (lib/rex/post/meterpreter/extensions/stdapi/fs/file.rb) writes to whatever path is supplied, so a listing entry such as ../../msfconsole.rc escapes the intended ~/.msf4/loot/<random> directory and overwrites ~/.msf4/msfconsole.rc, a resource file that every msfconsole invocation automatically executes at startup (lib/msf/ui/console/driver.rb:196). An attacker-controlled device that lures an operator into running this gather module achieves an arbitrary file write as the operator; because the written msfconsole.rc can load a second written file (a Ruby plugin whose top-level code runs on require), this converts into persistent code execution and an interactive shell as the operator (frequently root) on the pentester's workstation at the next console launch. The same traversal was previously fixed upstream in the recursive downloader (stdapi/fs/dir.rb scrubs separators); this module omitted the equivalent scrub. The fix applies the same separator scrub (or File.basename) to listing entries before building the local path.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
来源: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
Rapid7 Metasploit Framework 0 ~ 6.5.5 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

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

CVE-2026-87690 其他参考 (4)

IV. Related Vulnerabilities

V. Comments for CVE-2026-87690

暂无评论


发表评论