{"id":"CVE-2013-2142","aliases":["DEBIAN-CVE-2013-2142","EUVD-2013-2107","GHSA-7wj3-4crv-vhfj","MGASA-2013-0251","openSUSE-SU-2024:10459-1"],"status":"published","title":"userpref.c in libimobiledevice 1.1.4, when $HOME and $XDG_CONFIG_HOME are not set, allows local...","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/.","severity":{"version":"2.0","score":3.3,"vector":"AV:L/AC:M/Au:N/C:N/I:P/A:P","level":"low","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.00265,"percentile":0.1855,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-59"],"published":"2013-08-17T08:47:03Z","modified":"2026-09-01T20:03:16Z","fixes":[{"ecosystem":"Debian:12","package":"libimobiledevice","fixed_in":["1.1.5-0.1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"libimobiledevice","fixed_in":["1.1.5-0.1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"libimobiledevice","fixed_in":["1.1.5-0.1"],"sources":["osv"]},{"ecosystem":"Mageia:3","package":"libimobiledevice","fixed_in":["1.1.4-4.1.mga3"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"libimobiledevice","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.5-0.1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"libimobiledevice","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.5-0.1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"libimobiledevice","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.5-0.1"}]}]},{"source":"osv","ecosystem":"Mageia:3","package":"libimobiledevice","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.4-4.1.mga3"}]}]}],"products":[{"vendor":"libimobiledevice","product":"libimobiledevice"}],"references":[{"url":"http://www.openwall.com/lists/oss-security/2013/06/04/11","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://bugs.launchpad.net/ubuntu/%2Bsource/libimobiledevice/%2Bbug/1164263","tags":["x_refsource_CONFIRM","x_transferred","Exploit","evidence"]},{"url":"http://libiphone.lighthouseapp.com/projects/27916-libiphone/tickets/331-insecure-tmp-directory-use","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://www.ubuntu.com/usn/USN-1927-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-2142"},{"url":"https://github.com/advisories/GHSA-7wj3-4crv-vhfj"},{"url":"https://security-tracker.debian.org/tracker/CVE-2013-2142","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2013-0251.html","tags":["advisory"]},{"url":"http://www.ubuntu.com/usn/usn-1927-1","tags":["web"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=11010","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2013-2142","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-5104","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2013-2142","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/.","status":"published","published":"2014-01-19T16:00:00Z","modified":"2024-08-06T15:27:40.873Z","updated_at":"2026-11-02T14:34:56.530545Z"}],"euvd":[{"id":"EUVD-2013-2107","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/.","status":"published","published":"2014-01-19T16:00:00Z","modified":"2024-08-06T15:27:40Z","updated_at":"2026-11-03T01:56:39.604617Z"}],"ghsa":[{"id":"GHSA-7wj3-4crv-vhfj","title":"userpref.c in libimobiledevice 1.1.4, when $HOME and $XDG_CONFIG_HOME are not set, allows local...","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/.","status":"published","published":"2022-05-17T04:54:14Z","modified":"2023-01-28T05:02:46Z","cwes":["CWE-59"],"updated_at":"2026-11-02T14:43:50.688054Z"}],"nvd":[{"id":"CVE-2013-2142","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/.","status":"published","published":"2014-01-19T18:02:56.74Z","modified":"2026-06-16T23:52:49.543Z","cvss":[{"version":"2.0","score":3.3,"vector":"AV:L/AC:M/Au:N/C:N/I:P/A:P","level":"low","assessor":"primary"}],"cwes":["CWE-59"],"updated_at":"2026-11-02T14:02:48.062712Z"}],"osv":[{"id":"CVE-2013-2142","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/.","status":"published","published":"2014-01-19T18:02:56Z","modified":"2026-04-16T06:19:51.908882782Z","updated_at":"2026-11-02T15:43:59.09154Z"},{"id":"DEBIAN-CVE-2013-2142","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/.","status":"published","published":"2014-01-19T18:02:56.74Z","modified":"2026-09-01T20:03:16.140152751Z","updated_at":"2026-11-02T15:45:25.514579Z"},{"id":"MGASA-2013-0251","title":"Updated libimobiledevice packages fix CVE-2013-2142","description":"Updated libimobiledevice packages fix security vulnerability:\n\nPaul Collins discovered that libimobiledevice incorrectly handled temporary\nfiles. A local attacker could possibly use this issue to overwrite\narbitrary files and access device keys. In the default Ubuntu installation,\nthis issue should be mitigated by the Yama link restrictions (CVE-2013-2142).\n","status":"published","published":"2013-08-17T08:47:03Z","modified":"2026-04-16T06:26:14.382896155Z","updated_at":"2026-11-02T15:49:39.121227Z"},{"id":"openSUSE-SU-2024:10459-1","title":"imobiledevice-tools-1.2.0-3.4 on GA media","description":"These are all security issues fixed in the imobiledevice-tools-1.2.0-3.4 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T02:21:14.819152Z","updated_at":"2026-11-02T16:58:34.487567Z"}]}}
