userpref.c in libimobiledevice 1.1.4, when $HOME and $XDG_CONFIG_HOME are not set, allows local users to overwrite arbitrary files via a symlink attack on (1) HostCertificate.pem, (2) HostPrivateKey.pem, (3) libimobiledevicerc, (4) RootCertificate.pem, or (5) RootPrivateKey.pem in /tmp/root/.config/libimobiledevice/.
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 |
---|---|---|---|
Libimobiledevice | Libimobiledevice | 1.1.4 (including) | 1.1.4 (including) |
Libimobiledevice | Ubuntu | devel | * |
Libimobiledevice | Ubuntu | lucid | * |
Libimobiledevice | Ubuntu | quantal | * |
Libimobiledevice | Ubuntu | raring | * |
Libimobiledevice | Ubuntu | upstream | * |