libimobiledevice: Insecure temporary file use when both $XDG_CONFIG_HOME and $HOME are unset
Published Jan 19, 2014
3.3
LOWCVSS 2.0
EPSS 0.27%
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
No data.
- 1.1.4
No data.
Red Hat Enterprise Linux 6
libimobiledevice
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | libimobiledevice | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
Not vulnerable. This issue did not affect the version of libimobiledevice as shipped with Red Hat Enterprise Linux 6 as it did not include the upstream commit 825da48d2e9c20086c4e34869da0b28376676b4c that introduced this issue.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:L/AC:M/Au:N/C:N/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (9 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.27% (0.00265) | 16.69th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.27% (0.00265) | 17.68th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.03% (0.00026) | 4.44th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.04% (0.00042) | 5.07th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.04% (0.00042) | 5.63th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.95% (0.00950) | 32.28th | v2 (v2022.01.01) |
| Sep 10, 2022 | 0.95% (0.00950) | 30.63th | v2 (v2022.01.01) |
| Apr 1, 2022 | 0.95% (0.00950) | 28.61th | v2 (v2022.01.01) |
| Feb 4, 2022 | 0.95% (0.00950) | 13.46th | v2 (v2022.01.01) |
References (8)
- http://libiphone.lighthouseapp.com/projects/27916-libiphone/tickets/331-insecure-tmp-directory-use x_refsource_CONFIRM
- http://www.openwall.com/lists/oss-security/2013/06/04/11 mailing-listx_refsource_MLIST
- http://www.ubuntu.com/usn/USN-1927-1 vendor-advisoryx_refsource_UBUNTU
- https://access.redhat.com/security/cve/CVE-2013-2142 Vendor Advisory
- https://bugs.launchpad.net/ubuntu/%2Bsource/libimobiledevice/%2Bbug/1164263 x_refsource_CONFIRMExploit
- https://bugzilla.redhat.com/show_bug.cgi?id=970172 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2013-2142
- https://www.cve.org/CVERecord?id=CVE-2013-2142
| Link | Providers | Tags |
|---|---|---|
| http://libiphone.lighthouseapp.com/projects/27916-libiphone/tickets/331-insecure-tmp-directory-use | x_refsource_CONFIRM | |
| http://www.openwall.com/lists/oss-security/2013/06/04/11 | mailing-listx_refsource_MLIST | |
| http://www.ubuntu.com/usn/USN-1927-1 | vendor-advisoryx_refsource_UBUNTU | |
| https://access.redhat.com/security/cve/CVE-2013-2142 | Vendor Advisory | |
| https://bugs.launchpad.net/ubuntu/%2Bsource/libimobiledevice/%2Bbug/1164263 | x_refsource_CONFIRMExploit | |
| https://bugzilla.redhat.com/show_bug.cgi?id=970172 | Issue Tracking | |
| https://nvd.nist.gov/vuln/detail/CVE-2013-2142 | ||
| https://www.cve.org/CVERecord?id=CVE-2013-2142 |
Change history (0)
No recorded changes yet.