RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 621549 - /etc/abrt/plugins/<plugin>.conf should have 0600 permissions when they (possibly) contain password
Summary: /etc/abrt/plugins/<plugin>.conf should have 0600 permissions when they (possi...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: abrt
Version: 6.0
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Jiri Moskovcak
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-05 13:12 UTC by Michal Nowak
Modified: 2015-02-01 22:52 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-08-05 14:18:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Michal Nowak 2010-08-05 13:12:04 UTC
Description of problem:

/etc/abrt/plugins/RHTSupport.conf should be readable only by it's owner because it may contain password to GSS portal. (It's done this way for Bugzilla.conf.)

Similar for following conf files:

newman@dhcp-lab-222 ~ $ sudo grep -i pass -n /etc/abrt/plugins/*
/etc/abrt/plugins/Bugzilla.conf:9:# your password
/etc/abrt/plugins/Bugzilla.conf:10:Password =

/etc/abrt/plugins/FileTransfer.conf:23:# for example: ftp://user:password@server.name/directory
/etc/abrt/plugins/FileTransfer.conf:24:# or:          scp://user:password:port/directory etc.

/etc/abrt/plugins/ReportUploader.conf:12:# for example: ftp://user:password@server.name/directory
/etc/abrt/plugins/ReportUploader.conf:13:# or:          scp://user:password:port/directory etc.

/etc/abrt/plugins/RHTSupport.conf:8:# Your password
/etc/abrt/plugins/RHTSupport.conf:9:Password = redhat


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

abrt-1.1.12-2.el6.x86_64

Comment 1 Jiri Moskovcak 2010-08-05 13:36:09 UTC
Hi,
I don't agree with this, actually even Bugzilla.conf should be readable, as the settings from that file are meant to be used as "defaults" and are passed to the clients (gui/cli) anyway, so making it not readable doesn't make sense...

J.

Comment 2 Michal Nowak 2010-08-05 13:47:51 UTC
Why would anyone put password to world-readable file? GUI and CLI may ask daemon for the defaults.

Comment 3 Jiri Moskovcak 2010-08-05 13:59:36 UTC
(In reply to comment #2)
> GUI and CLI may ask daemon for the defaults.    

Yes, that's what happen, daemon tells the password to gui/cli which means it's passed to the non-root app, so what's the point of making it not-readable, when user can read it in gui/cli anyway? These files are not meant to be used for secrets, they just *can be* if root want's to set the password somewhere save he can use $HOME/.abrt/<plugin_name>.conf, but imagine a situation where you want all user to use the same account for submitting a bugs ...

J.

Comment 4 Jiri Moskovcak 2010-08-05 14:18:40 UTC
I asked the DOC guys to mention this "feature" in the deployment guide:

https://bugzilla.redhat.com/show_bug.cgi?id=561658#c43

and closing this as NOTABUG.
J.


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