|
Bugzilla – Full Text Bug Listing |
| Summary: | AUDIT-0: fwupd 1.7.2: new polkit rules to audit | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Tumbleweed | Reporter: | Dominique Leuenberger <dimstar> |
| Component: | Security | Assignee: | Wolfgang Frisch <wolfgang.frisch> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P2 - High | CC: | wolfgang.frisch |
| Version: | Current | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Dominique Leuenberger
2021-12-02 08:21:04 UTC
Thank you for opening the audit bug. Since this is only an addition to an existing package that has already been audited, I should be able to finish it in a reasonable amount of time. The new polkit privileges for downgrades, introduced with commit 2d5c5b868eee315bf0cf5c3e3c1bc6788511bda8, are not referring to any new functionality, but only make existing behavior more granular, with separate privileges for signed (trusted) firmware. This allows us to forgo user confirmation for signed downgrades in our easy and standard profiles. Good idea. I will whitelist this. Whitelisted. sr#938268 https://github.com/openSUSE/polkit-default-privs/commit/8ce206c9be0e1f195cdcfc6114358116d6d678c4 This is an autogenerated message for OBS integration: This bug (1193310) was mentioned in https://build.opensuse.org/request/show/938268 Factory / polkit-default-privs (In reply to wolfgang.frisch@suse.com from comment #2) > This allows us to forgo user confirmation for signed downgrades in our easy and standard profiles. Good idea. I will whitelist this. Is this really such a good idea? If I remember right from PackageKit then there downgrading even of signed packages still requires special authorization. The reasoning behind that is to prevent unauthenticated downgrades to package versions that contain security issues. Couldn't this also apply to firmware? (In reply to Matthias Gerstner from comment #5) > (In reply to wolfgang.frisch@suse.com from comment #2) > > This allows us to forgo user confirmation for signed downgrades in our easy and standard profiles. Good idea. I will whitelist this. > > Is this really such a good idea? If I remember right from PackageKit then > there downgrading even of signed packages still requires special > authorization. The reasoning behind that is to prevent unauthenticated > downgrades to package versions that contain security issues. Couldn't this > also apply to firmware? Fair point. We should consider tightening the permissions. After some deliberation, I changed the downgrade rules in all profiles to `auth_admin_keep`. https://build.opensuse.org/request/show/940529 |