vendor:
Metasploit Framework
by:
Robin Stenvi
7.5
CVSS
HIGH
Remote Code Execution
CWE
Product Name: Metasploit Framework
Affected Version From:
Affected Version To:
Patch Exists: NO
Related CWE:
CPE:
Platforms Tested: ruby
2018
Metasploit msfd Remote Code Execution
Metasploit's msfd-service makes it possible to get a msfconsole-like interface over a TCP socket. If this socket is accessible on a remote interface, an attacker can execute commands on the victim's machine. If msfd is running with higher privileges than the current local user, this module can also be used for privilege escalation. In that case, port forwarding on the compromised host can be used. Code execution is achieved with the msfconsole command: irb -e 'CODE'.
Mitigation:
To mitigate this vulnerability, ensure that the msfd-service is not accessible from remote interfaces. Additionally, run the service with the lowest possible privileges.