pgAdmin 4 opens SSH tunnels with the sshtunnel library but gave it neither host_pkey_directories nor ssh_config_file, so it always loaded the…
pgAdmin 4 opens SSH tunnels with the sshtunnel library but gave it neither host_pkey_directories nor ssh_config_file, so it always loaded the unencrypted private keys in ~/.ssh of the operating-system account running pgAdmin, read that account's ~/.ssh/config (IdentityFile, User, HostName, ProxyCommand) for the tunnel host, and could use its ssh-agent. In server mode any user could therefore configure a tunnel to a host that accepts the service account's key, with no credentials of their own or with an identity file that did not exist in their storage, and reach it as that account. The fix makes tunnels in server mode use only the identity file or password the user configured: the service ac
Read at NIST National Vulnerability Database (CVE API 2.0)
- Vendor
- Pgadmin.Org
- Product
- pgAdmin 4
- CVSS v3.1
- 8.2 AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N
- Weakness
- CWE-522, CWE-1188
- Exposure class
- Remote access
- NVD status
- Received
Why it ranks 28 (Notable)
- CVSS v3.1 8.2 high
- Exposed product class: remote access
- Recency: items published within 24 hours gain 15, within 72 hours 6, within 7 days 2.