OpenRC opentmpfiles through 0.1.3, when the fs.protected_hardlinks sysctl is turned off, allows local users to obtain ownership of arbitrary files by creating a hard link inside a directory on which chown -R will be run.
The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Opentmpfiles | Openr | * | 0.1.3 (including) |
Opentmpfiles | Ubuntu | groovy | * |
Opentmpfiles | Ubuntu | hirsute | * |
Opentmpfiles | Ubuntu | impish | * |
Opentmpfiles | Ubuntu | trusty | * |