Vulnerabilities · 2022 · Proxmox
CVE-2022-35508
Proxmox Mail Gateway vulnerability
Proxmox Virtual Environment (PVE) and Proxmox Mail Gateway (PMG) are vulnerable to SSRF when proxying HTTP requests between pve(pmg)proxy and pve(pmg)daemon. An attacker with an unprivileged account can craft an HTTP request to achieve SSRF and file disclosure of any files on the server. Also, in Proxmox Mail Gateway, privilege escalation to the root@pam account is possible if the backup feature has ever been used, because backup files such as pmg-backup_YYYY_MM_DD_*.tgz have 0644 permissions and contain an authkey value. This is fixed in pve-http-server 4.1-3.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Proxmox Mail Gateway, Pve Http Server, Virtual Environment. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Proxmox Mail Gateway runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- starlabs.sg/blog/2022/12-multiple-vulnerabilites-in-proxmox-ve--proxmox-mail-gateway/ · Exploit
- git.proxmox.com/?p=pve-http-server.git%3Ba=commitdiff%3Bh=580d540ea907ba15f64379c5bb69ecf1
- git.proxmox.com/?p=pve-http-server.git%3Ba=commitdiff%3Bh=c2bd69c7b5e9c775f96021cf8ae53da3
- git.proxmox.com/?p=pve-http-server.git%3Ba=commitdiff%3Bh=e9df8a6e76b2a18f89295a5d92a62177
- nvd.nist.gov/vuln/detail/CVE-2022-35508
- cve.org/CVERecord?id=CVE-2022-35508
More vulnerabilities in Proxmox products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.