Newline injection in network configuration via parser misalignment
Betroffene Pakete
libpve-common-perl, libpve-network-api-perl, proxmox-backup-manager, proxmox-datacenter-manager, pmg-api
Details
Inconsistent handling of CR bytes in API parameters/network configuration options allowed an authenticated attacker with privileges that allow modifying the host network configuration to inject options that are interpreted as arbitrary additional lines by ifupdown2.
As additional defense in depth the meta-characters used by the optional mako templating support in ifupdown2 were also forbidden inside comments for network interfaces. Templating is not used for the network configuration files in Proxmox products, but could be activated by installing the python3-mako package.
Behoben in
- libpve-common-perl >= 9.2.9
- libpve-network-api-perl >= 1.6.9
- proxmox-backup-server >= 4.2.12-1
- proxmox-datacenter-manger >= 1.1.10
- pmg-api >= 9.1.7
Diese Seite gibt den Inhalt des offiziellen Beitrags im Proxmox-Forum (öffnet in neuem Tab) wieder. Maßgeblich ist das Original. Der Text des Advisories wird so auf Englisch angezeigt, wie Proxmox ihn veröffentlicht hat.