CVE-2014-4038
published 2014-06-17CVE-2014-4038: ppc64-diag 2.6.1 allows local users to overwrite arbitrary files via a symlink attack related to (1) rtas_errd/diag_support.c and /tmp/get_dt_files, (2)…
PriorityP415medium4.4CVSS 2.0
AVLACMAuNCPIPAP
EPSS
0.35%
27.3th percentile
ppc64-diag 2.6.1 allows local users to overwrite arbitrary files via a symlink attack related to (1) rtas_errd/diag_support.c and /tmp/get_dt_files, (2) scripts/ppc64_diag_mkrsrc and /tmp/diagSEsnap/snapH.tar.gz, or (3) lpd/test/lpd_ela_test.sh and /var/tmp/ras.
Affected
7 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | ppc64-diag | < ppc64-diag 2.7.1-5 (bookworm) | ppc64-diag 2.7.1-5 (bookworm) |
| ppc64-diag_project | ppc64-diag | — | — |
| ppc64-diag_project | ppc64-diag | >= 0 < 2.7.1-5 | 2.7.1-5 |
| ppc64-diag_project | ppc64-diag | >= 0 < 2.7.1-5 | 2.7.1-5 |
| redhat | enterprise_linux_server | — | — |
| redhat | enterprise_linux_server | — | — |
| suse | linux_enterprise_server | — | — |
CVSS provenance
nvdv2.04.4MEDIUMAV:L/AC:M/Au:N/C:P/I:P/A:P
osv4.4MEDIUM
vendor_debian4.4MEDIUM
vendor_redhat4.4MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
ppc64-diag: multiple temporary file races
vendor_redhat·2014-06-13·CVSS 4.4
CVE-2014-4038 [MEDIUM] CWE-367 ppc64-diag: multiple temporary file races
ppc64-diag: multiple temporary file races
ppc64-diag 2.6.1 allows local users to overwrite arbitrary files via a symlink attack related to (1) rtas_errd/diag_support.c and /tmp/get_dt_files, (2) scripts/ppc64_diag_mkrsrc and /tmp/diagSEsnap/snapH.tar.gz, or (3) lpd/test/lpd_ela_test.sh and /var/tmp/ras.
Multiple insecure temporary file use flaws were found in the way the ppc64-diag utility created certain temporary files. A local attacker could possibly use either of these flaws to perform a symbolic link attack and overwrite arbitrary files with the privileges of the user running ppc64-diag, or obtain sensitive information from the temporary files.
Debian
CVE-2014-4038: ppc64-diag - ppc64-diag 2.6.1 allows local users to overwrite arbitrary files via a symlink a...
vendor_debian·2014·CVSS 4.4
CVE-2014-4038 [MEDIUM] CVE-2014-4038: ppc64-diag - ppc64-diag 2.6.1 allows local users to overwrite arbitrary files via a symlink a...
ppc64-diag 2.6.1 allows local users to overwrite arbitrary files via a symlink attack related to (1) rtas_errd/diag_support.c and /tmp/get_dt_files, (2) scripts/ppc64_diag_mkrsrc and /tmp/diagSEsnap/snapH.tar.gz, or (3) lpd/test/lpd_ela_test.sh and /var/tmp/ras.
Scope: local
bookworm: resolved (fixed in 2.7.1-5)
bullseye: resolved (fixed in 2.7.1-5)
sid: resolved (fixed in 2.7.1-5)
GHSA
GHSA-8gvg-vxvq-qh2r: ppc64-diag 2
ghsa_unreviewed·2022-05-17
CVE-2014-4038 [MEDIUM] CWE-59 GHSA-8gvg-vxvq-qh2r: ppc64-diag 2
ppc64-diag 2.6.1 allows local users to overwrite arbitrary files via a symlink attack related to (1) rtas_errd/diag_support.c and /tmp/get_dt_files, (2) scripts/ppc64_diag_mkrsrc and /tmp/diagSEsnap/snapH.tar.gz, or (3) lpd/test/lpd_ela_test.sh and /var/tmp/ras.
OSV
CVE-2014-4038: ppc64-diag 2
osv·2014-06-17·CVSS 4.4
CVE-2014-4038 [MEDIUM] CVE-2014-4038: ppc64-diag 2
ppc64-diag 2.6.1 allows local users to overwrite arbitrary files via a symlink attack related to (1) rtas_errd/diag_support.c and /tmp/get_dt_files, (2) scripts/ppc64_diag_mkrsrc and /tmp/diagSEsnap/snapH.tar.gz, or (3) lpd/test/lpd_ela_test.sh and /var/tmp/ras.
No detection rules found.
No public exploits indexed.
http://lists.opensuse.org/opensuse-security-announce/2014-07/msg00018.htmlhttp://openwall.com/lists/oss-security/2014/06/17/1http://rhn.redhat.com/errata/RHSA-2015-0383.htmlhttp://rhn.redhat.com/errata/RHSA-2015-1320.htmlhttp://secunia.com/advisories/60616http://www.securityfocus.com/bid/68049https://bugzilla.novell.com/show_bug.cgi?id=882667https://bugzilla.redhat.com/show_bug.cgi?id=1109371http://lists.opensuse.org/opensuse-security-announce/2014-07/msg00018.htmlhttp://openwall.com/lists/oss-security/2014/06/17/1http://rhn.redhat.com/errata/RHSA-2015-0383.htmlhttp://rhn.redhat.com/errata/RHSA-2015-1320.htmlhttp://secunia.com/advisories/60616http://www.securityfocus.com/bid/68049https://bugzilla.novell.com/show_bug.cgi?id=882667https://bugzilla.redhat.com/show_bug.cgi?id=1109371
2014-06-17
Published