Rapid7 Metasploit Framework command execution in msfdb initialization
Rapid7 Metasploit Framework
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Rapid7 Metasploit Framework |
| No fix yet |
Original description
Rapid7 Metasploit Framework versions prior to 6.5.10 suffer from an Improper Access Control issue in the msfdb database initialisation component whereby a PostgreSQL cluster initialised via msfdb init is configured with trust authentication and a world-accessible Unix domain socket in /tmp, allowing any local user on the same host to authenticate as the passwordless postgres superuser and execute arbitrary operating system commands as the msfdb owner.
This issue is fixed in version 6.5.10.
From the CVE record · rapid7