Bug 859448 - (CVE-2012-4453) CVE-2012-4453 dracut: Creates initramfs images with world-readable permissions (information disclosure)
CVE-2012-4453 dracut: Creates initramfs images with world-readable permission...
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
: Security
Depends On: 860977 861034
Blocks: 859456 974906
  Show dependency treegraph
Reported: 2012-09-21 11:08 EDT by Jan Lieskovsky
Modified: 2014-12-10 09:01 EST (History)
9 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
It was discovered that dracut created initramfs images as world readable. A local user could possibly use this flaw to obtain sensitive information from these files, such as iSCSI authentication passwords, encrypted root file system crypttab passwords, or other information.
Story Points: ---
Clone Of:
Last Closed: 2013-11-21 22:17:01 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Change umask before creating $outfile (733 bytes, patch)
2012-09-24 15:23 EDT, Peter Jones
no flags Details | Diff

  None (edit)
Description Jan Lieskovsky 2012-09-21 11:08:32 EDT
An information disclosure flaw was found in the way dracut, an initramfs root filesystem images generator, created initramfs images. When the root filesystem contained sensitive information (password based authentication for iSCSI systems or encrypted root filesystem crypttab password information), an attacker could use this flaw to obtain this information.


This issue was discovered by Peter Jones of the Red Hat Installer Team.
Comment 3 Jan Lieskovsky 2012-09-21 11:18:52 EDT
This issue affects the version of the dracut package, as shipped with Red Hat Enterprise Linux 6.


This issue affects the versions of the dracut package, as shipped with Fedora release of 16 and 17.
Comment 7 Peter Jones 2012-09-24 15:23:52 EDT
Created attachment 616700 [details]
Change umask before creating $outfile

Here's a patch against upstream git's "master".
Comment 14 Huzaifa S. Sidhpurwala 2012-09-27 02:33:10 EDT
This issue has been assigned CVE-2012-4453
Comment 18 Huzaifa S. Sidhpurwala 2012-09-27 05:00:43 EDT
This issue is fixed upstream via the following patch:

Comment 19 Huzaifa S. Sidhpurwala 2012-09-27 05:03:02 EDT
Created dracut tracking bugs for this issue

Affects: fedora-all [bug 860977]
Comment 20 Huzaifa S. Sidhpurwala 2012-09-27 05:05:03 EDT
(In reply to comment #18)
> This issue is fixed upstream via the following patch:
> https://github.com/haraldh/dracut/commit/
> e1b48995c26c4f06d1a718539cb1bd5b0179af91

The following is the upstream patch:
Comment 32 errata-xmlrpc 2013-11-21 16:54:15 EST
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2013:1674 https://rhn.redhat.com/errata/RHSA-2013-1674.html
Comment 33 Huzaifa S. Sidhpurwala 2013-11-21 22:16:42 EST


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