What’s Vulnerable › Vulnerabilities
CVE-2013-2142
- Severity: low (CVSS 3.3 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2014-01-19 · updated 2026-06-16
- Weakness: CWE-59
Description
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: 1.1.4
References
- http://libiphone.lighthouseapp.com/projects/27916-libiphone/tickets/331-insecure-tmp-directory-use
- http://www.openwall.com/lists/oss-security/2013/06/04/11
- http://www.ubuntu.com/usn/USN-1927-1
- https://bugs.launchpad.net/ubuntu/%2Bsource/libimobiledevice/%2Bbug/1164263
- http://libiphone.lighthouseapp.com/projects/27916-libiphone/tickets/331-insecure-tmp-directory-use
- http://www.openwall.com/lists/oss-security/2013/06/04/11
- http://www.ubuntu.com/usn/USN-1927-1
- https://bugs.launchpad.net/ubuntu/%2Bsource/libimobiledevice/%2Bbug/1164263
Get alerted when CVE-2013-2142 or the next vulnerability affects your stack