Bug 621997
| Summary: | SELinux empêche l'accès en "search" à /usr/libexec/polkit-1/polkit-agent-helper-1 on /var/lib/a | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Nicolas Mailhot <nicolas.mailhot> | ||||
| Component: | selinux-policy | Assignee: | Daniel Walsh <dwalsh> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 14 | CC: | dwalsh, mgrepl, nicolas.mailhot | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | setroubleshoot_trace_hash:cf3e0918b101b11ab709611c6c3751e0cd5dfe982eb6c7040e54553b9c3b2ec8 | ||||||
| Fixed In Version: | selinux-policy-3.8.8-14.fc14 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2010-08-24 01:49:53 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Nicolas Mailhot
2010-08-06 18:00:35 UTC
Did you add pam_abl to /etc/pam.d/system-auth? I did it when I first installed pam_abl on the system years ago. I haven't checked lately if the various system upgrades since have preserved this (but I guess if they hadn't there would be no selinux alert today) Created attachment 437949 [details]
/etc/pam.d/system-auth
Local /etc/pam.d/system-auth with typical pam_abl configuration
Summary : A Pluggable Authentication Module (PAM) for auto blacklisting Description : Provides auto blacklisting of hosts and users responsible for repeated failed authentication attempts. Generally configured so that blacklisted users still see normal login prompts but are guaranteed to fail to authenticate. A command line tool allows to query or purge the databases used by the pam_abl module. I know what it is, but I am not sure it belongs in that file, since this is read by cron and policykit. You can add these rules for now using # grep avc /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Fixed in selinux-policy-3.8.8-12.fc14 (In reply to comment #5) > I know what it is, but I am not sure it belongs in that file, since this is > read by cron and policykit. The way I understand it, the main value of pam_abl (as opposed to a protocol-specific wrapper such as deny host) is to protect against any brute-force password cracking attempt at the pam database, regardless of how many layers of software indirections are used before hitting pam. But them I am not a professional security expert like you, so I would welcome your thoughts on where pam_abl should better plug. I realise that the main drawback of this approach is the possibility of DOS. On my system a DOS is preferable to an intrusion. Ok I guess you are right. I see it more useful for network facing login programs like sshd, but I guess if you are worried about someone trying to brute force policykit. selinux-policy-3.8.8-14.fc14 has been submitted as an update for Fedora 14. http://admin.fedoraproject.org/updates/selinux-policy-3.8.8-14.fc14 Still there with selinux-policy-3.8.8-16.fc14 Oops your right, I added the access to policykit_t instead of policykit_auth_t. Fixed in selinux-policy-3.8.8-18.fc14 selinux-policy-3.8.8-14.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. |