Red Hat Bugzilla – Bug 799988
security policy: root password needed when it shouldn't be
Last modified: 2013-02-13 14:05:52 EST
Description of problem:
Upstream, they say this is a problem with Fedora, not them.
Version-Release number of selected component (if applicable):
Try adding a networked printer. Requires root password, which unnecessarily exposes root password to interception and compromise.
Since users, in almost all cases, can contact network printers on their own, requiring _any_ password for a user to add a printer for their own use does nothing but needlessly expose passwords to interception and compromise.
Well as long as the printer is set up system-wide and the machine is a multi-user machine this is still a security problem to not require any sysadmin authentication. As you could add silently a printer for other users that would intercept the documents that they are printing.
So I'd say definitely no need to ask for a password if the printer is set just for the user that asks for the action, otherwise some kind of authentication is surely needed being it root or wheel group user password.
Agreed, Tomas -- though as you can see from the screenshots, I was asked for both my (wheel) user password, as well as root password at the very last.
Also, this is reported here:
Yes, there is no dispute that the current process is really suboptimal.
I'm not able to reproduce your claim that a root password is required.
I ran system-config-printer, tried to add a network printer, was prompted for my own admin (wheel group) password by polkit 3 times, but never saw the forth one you mention.
Am I missing something?
Someone else on irc just mentioned seeing the root dialog too, so sounds like I am indeed doing something different or wrong.
I agree with Tomas here. As long as we set the printer system-wide we need to require sysadmin authentication. Also, CUPS needs root privileges when adding a printer using lpadmin.
Regarding the wheel group, it asks you for your user (wheel) password if you are in the group. The last dialog is a bug in cups-pk-helper or system-config-printer, you shouldn't see it when adding a printer. It is system-config-printer's fail-safe dialog for situation when communication with cups-pk-helper failed (or for authentication of jobs requiring authentication).
Does the dialog show name of an operation in its title? Something like "Authentication (adding printer LaserJet)"?
This message is a reminder that Fedora 16 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 16. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '16'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 16's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 16 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" and open it against that version of Fedora.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
The process we are following is described here:
Fedora 16 changed to end-of-life (EOL) status on 2013-02-12. Fedora 16 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version.
Thank you for reporting this bug and we are sorry it could not be fixed.