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/.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 1.1.5-0.1 |
| sid | Fixed | 1.1.5-0.1 |
| forky | Fixed | 1.1.5-0.1 |
| bullseye | Fixed | 1.1.5-0.1 |
| bookworm | Fixed | 1.1.5-0.1 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| libimobiledevice | 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
- https://security-tracker.debian.org/tracker/CVE-2013-2142
CWEs
CWE-59
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.