CVE-2013-2142
Libimobiledevice vulnerability
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/.
Affected products
Libimobiledevice. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Libimobiledevice runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- bugs.launchpad.net/ubuntu/%2Bsource/libimobiledevice/%2Bbug/1164263 · Exploit
- libiphone.lighthouseapp.com/projects/27916-libiphone/tickets/331-insecure-tmp-directory-us
- www.openwall.com/lists/oss-security/2013/06/04/11
- www.ubuntu.com/usn/USN-1927-1
- nvd.nist.gov/vuln/detail/CVE-2013-2142
- cve.org/CVERecord?id=CVE-2013-2142
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.