CVE Hunter
›
CVE-2026-87690

CWE-22

HIGH CVSS 8.8 NVD

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.

Yayınlanma 12.10.2026
ISO Tarih 2026-10-12
CVSS Sürüm v3.1
Kaynak NVD
CVSS v3.1 Metrikleri
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack Vector Network AV:N
Attack Complexity Low AC:L
Privileges Req. None PR:N
User Interaction Required UI:R
Scope Unchanged S:U
Confidentiality High C:H
Integrity High I:H
Availability High A:H
AI Güvenlik Analizi
🤖 Yapay Zeka Güvenlik Analizi Hazırlanıyor…
CVSS vektörü ve CWE zayıflık yapısı inceleniyor…
Hedef Keşif Sorguları
CVSS Skoru
8.8 / 10 · CVSS HIGH
Zayıflık Türleri (CWE)
CWE-22
İlgili CVE'ler
9.3
CVE-2026-130683
SiYuan before 3.8.10 uses an incomplete deny-list in IsSensitivePath that omits shell-initialization files suc
8.8
CVE-2026-87790
Latvijas Valsts radio un televīzijas centrs (LVRTC) eParakstītājs 3.0 version 1.10.0-resolute allows an una
8.3
CVE-2026-109858
CAST Imaging has multiple path traversal vulnerabilities in various endpoints. The application does not proper
8.3
CVE-2026-109860
CAST Imaging is vulnerable to Path Traversal vulnerability in "/api/server-folders" and "/api/server-folders/d
7.7
CVE-2026-125829
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Rymera Web Co
6.5
CVE-2026-120545
The PowerPress Podcasting plugin by Blubrry plugin for WordPress is vulnerable to Directory Traversal in all v