CyberRota Analysis
AI-GeneratedA symlink-following vulnerability in the `virFileChownFiles()` function of libvirt allows a local attacker with access to the confined `swtpm` user to escalate privileges by manipulating file ownership. By creating a symbolic link in the `swtpm` state directory, the attacker can trick the libvirt daemon into granting root-level control over arbitrary files. Organizations utilizing libvirt, particularly those with confined `swtpm` environments, should prioritize addressing this vulnerability to mitigate potential privilege escalation risks.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
A flaw was found in libvirt. A local attacker, specifically a process running as the confined `swtpm` user, could exploit a symlink-following vulnerability in the `virFileChownFiles()` function. By planting a symbolic link within the `swtpm` state directory, the attacker could trick the root-level libvirt daemon into changing the ownership of an arbitrary file to the `swtpm` user. This allows for privilege escalation from the `swtpm` sandbox to root-level file ownership control.