Bug 1582289 - v2_key has world readable (others) permissions of 0644
Summary: v2_key has world readable (others) permissions of 0644
Keywords:
Status: CLOSED DUPLICATE of bug 1489556
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance
Version: 5.8.0
Hardware: All
OS: All
unspecified
urgent
Target Milestone: GA
: cfme-future
Assignee: Gregg Tanzillo
QA Contact: Dave Johnson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-05-24 18:22 UTC by Tasos Papaioannou
Modified: 2018-05-24 19:39 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-05-24 19:39:31 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1489556 0 urgent CLOSED v2_key has world readable (others) permissions of 0644 2021-06-10 12:58:40 UTC

Internal Links: 1489556

Description Tasos Papaioannou 2018-05-24 18:22:42 UTC
Description of problem:

See BZ:

Bug 1489556 - v2_key has world readable (others) permissions of 0644
https://bugzilla.redhat.com/show_bug.cgi?id=1489556

This was reported on 5.8 and fixed in 5.9. This BZ is to backport the fix to 5.8.

Version-Release number of selected component (if applicable):

5.8.4.3 and earlier

How reproducible:
100%

Steps to Reproduce:
1.) In appliance_console, create an encryption key or fetch a key from another appliance.
2.) Verify the key's permissions on the filesystem:

# ls -l /var/www/miq/vmdb/certs/v2_key 
-rw-r--r--. 1 root root 79 May 18 10:55 /var/www/miq/vmdb/certs/v2_key


Actual results:

World-readable key permissions.

Expected results:

Root-only key permissions.

Additional info:

Comment 2 Nick Carboni 2018-05-24 19:39:31 UTC
Backports of existing fixes are done using flags on the original bug.

I set the 5.8.z flag on bug 1489556 so I'll close this as a duplicate.

*** This bug has been marked as a duplicate of bug 1489556 ***


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