Bug 1191575 (CVE-2015-0267) - CVE-2015-0267 kexec-tools: insecure use of /tmp/*$$* filenames
Summary: CVE-2015-0267 kexec-tools: insecure use of /tmp/*$$* filenames
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2015-0267
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1213342 1213343 1213344
Blocks: 1191577
TreeView+ depends on / blocked
 
Reported: 2015-02-11 14:24 UTC by Vasyl Kaigorodov
Modified: 2023-05-12 16:29 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
It was found that the module-setup.sh script provided by kexec-tools created temporary files in an insecure way. A malicious, local user could use this flaw to conduct a symbolic link attack, allowing them to overwrite the contents of arbitrary files.
Clone Of:
Environment:
Last Closed: 2015-05-12 18:45:34 UTC
Embargoed:


Attachments (Terms of Use)
proposed patch (2.57 KB, text/plain)
2015-04-15 12:23 UTC, Ján Rusnačko
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:0986 0 normal SHIPPED_LIVE Moderate: kexec-tools security, bug fix, and enhancement update 2015-05-12 21:53:37 UTC

Description Vasyl Kaigorodov 2015-02-11 14:24:21 UTC
Harald Hoyer from Red Hat reported that /usr/lib/dracut/modules.d/99kdumpbase/module-setup.sh script uses insecure temporary files names, which can lead to a persistent local denial of service, or allow local users to escalate their privileges.

Comment 1 Ján Rusnačko 2015-04-15 12:23:16 UTC
Created attachment 1014711 [details]
proposed patch

Comment 2 Ján Rusnačko 2015-04-15 12:33:30 UTC
Acknowledgements:

This issue was discovered by Harald Hoyer of Red Hat.

Comment 5 Florian Weimer 2015-04-20 10:59:35 UTC
Created kexec-tools tracking bugs for this issue:

Affects: fedora-all [bug 1213342]

Comment 6 errata-xmlrpc 2015-05-12 17:53:53 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2015:0986 https://rhn.redhat.com/errata/RHSA-2015-0986.html


Note You need to log in before you can comment on or make changes to this bug.