CVE-2013-2142

NameCVE-2013-2142
Descriptionuserpref.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/.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitylow
Debian Bugs710885

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libimobiledevice (PTS)stretch1.2.0+dfsg-3.1fixed
buster1.2.1~git20181030.92c5462-2fixed
bullseye, sid1.3.0-3fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libimobiledevicesource(unstable)1.1.5-0.1low710885
libimobiledevicesourcesqueeze(not affected)
libimobiledevicesourcewheezy(not affected)

Notes

[squeeze] - libimobiledevice <not-affected> (Vulnerable code was introduced later)
[wheezy] - libimobiledevice <not-affected> (Vulnerable code was introduced later)

Search for package or bug name: Reporting problems