PT-2026-110468 · Rapid7 · Metasploit Framework
CVSS v3.1
8.8
High
| Vector | AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Metasploit Framework (affected versions not specified)
Description
The post module
post/apple ios/gather/ios image gather contains a relative path traversal issue. The module takes file names from a Meterpreter directory listing, which can be controlled by a compromised iOS device, and passes them without sanitization to the client.fs.file.download file() function. This allows a malicious device to escape the intended storage directory and overwrite sensitive files on the operator's workstation, such as the msfconsole.rc resource file. Since msfconsole.rc is executed automatically at startup, an attacker can achieve persistent code execution and obtain an interactive shell with the privileges of the operator, often root, by loading a malicious Ruby plugin.Recommendations
As a temporary workaround, avoid using the
post/apple ios/gather/ios image gather module when interacting with untrusted or potentially tampered iOS devices.
At the moment, there is no information about a newer version that contains a fix for this vulnerability.Exploit
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Metasploit Framework