8.5high
Metasploit Pro on Windows: Local Privilege Escalation via OpenSSL Configuration File Loading
- Severity
- 8.5high CVSS:4.0 by rapid7
- Exploit likelihood
- 0.17% (higher than 6% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- rapid7
Description
Rapid7 Metasploit Pro is vulnerable to a local privilege escalation attack that allows a user to gain SYSTEM level control of a Windows host. When started the metasploitPostgreSQL service would start the postgres.exe child process which would in turn load an OpenSSL configuration file from a static location. This static location would be writable by a pre-existing "vagrant" user, if they already existed on the system. Metasploit does not create local accounts, an Administrator would need to create it. By planting a crafted openssl.cnf file an attacker can trick the high-privilege service into executing arbitrary commands. This effectively permits the unprivileged vagrant user to bypass security controls and achieve a full host compromise under the agent's SYSTEM level access.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Rapid7 Metasploit Pro | 5.0.0 | CVE List |
Classification
What each source says
CVE List
Rapid7 Metasploit Pro is vulnerable to a local privilege escalation attack that allows a user to gain SYSTEM level control of a Windows host. When started the metasploitPostgreSQL service would start the postgres.exe child process which would in turn load an OpenSSL configuration file from a static location. This static location would be writable by a pre-existing "vagrant" user, if they already existed on the system. Metasploit does not create local accounts, an Administrator would need to create it. By planting a crafted openssl.cnf file an attacker can trick the high-privilege service into executing arbitrary commands. This effectively permits the unprivileged vagrant user to bypass security controls and achieve a full host compromise under the agent's SYSTEM level access.
NVD (es)
Rapid7 Metasploit Pro es vulnerable a un ataque de escalada de privilegios local que permite a los usuarios obtener control a nivel de SYSTEM de un host de Windows. Al iniciar el servicio metasploitPostgreSQL, el servicio postgres.exe subsiguiente intenta cargar un archivo de configuración de OpenSSL desde un directorio inexistente que es escribible por usuarios estándar. Al colocar un archivo openssl.cnf manipulado, un atacante puede engañar al servicio de altos privilegios para que ejecute comandos arbitrarios. Esto permite efectivamente a un usuario sin privilegios eludir los controles de seguridad y lograr un compromiso completo del host bajo el acceso a nivel de SYSTEM del agente.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-7373 changed 2026-05-19 | CVE Terms of Use |
| NVD | CVE-2026-7373 changed 2026-10-26 | Public domain |