{"id":35923,"date":"2026-10-12T16:32:27","date_gmt":"2026-10-12T08:32:27","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-87690"},"modified":"2026-10-12T16:32:27","modified_gmt":"2026-10-12T08:32:27","slug":"cve-2026-87690","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-87690","title":{"rendered":"CVE-2026-87690 [HIGH] &#8211; The Metasploit Framework post module post\/apple_ios\/gather\/ios_image_gather is affected by"},"content":{"rendered":"<p>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 \u2014 data fully controlled by a hostile or tampered iOS device \u2014 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\/ 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&#8217;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.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-35923","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/35923","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=35923"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=35923"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=35923"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}