PMG: Administrator to root privilege escalation via http_proxy configuration setting
Betroffene Pakete
pmg-api
Details
Insufficient input validation for the http_proxy configuration setting allowed an attacker with Administrator role to inject arbitrary contents into the /etc/apt/apt.conf.d/76pmgproxy configuration file. In particular, an APT::Update::Pre-Invoke setting is executed as the root user during package update, allowing for arbitrary command execution as root.
The issue was addressed by restricting setting http_proxy to root@pam and by parsing the setting more strictly.
This issue was privately reported by: Vo Van Phuc - VNPT Cyber Immunity (VCI) Diem - VNPT Cyber Immunity (VCI)
Behoben in
- pmg-api >= 9.1.3
Diese Seite ist eine inoffizielle Kopie des offiziellen Beitrags im Proxmox-Forum (öffnet in neuem Tab). Prüfe vor jeder Maßnahme das Original. Der Text des Advisories wird so auf Englisch angezeigt, wie Proxmox ihn veröffentlicht hat.