Bug 637524

Summary: SELinux verhindert /usr/lib64/xulrunner-1.9.2/plugin-container "remove_name" Zugriff on CBSI_Eidothea_Volume.sxx.
Product: [Fedora] Fedora Reporter: Thomas Kowaliczek <linuxdonald>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 14CC: archit2x3, dwalsh, linuxdonald, magnus.tuominen, mgrepl, pedrompcaetano
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:700d44dd70e7429d5c3002e5d7a4bd043f20c235caf2d7c34ad35b72ac3142c0
Fixed In Version: selinux-policy-3.9.5-10.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-10-05 13:08:07 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:

Description Thomas Kowaliczek 2010-09-26 11:12:42 UTC
Zusammenfassung:

SELinux verhindert /usr/lib64/xulrunner-1.9.2/plugin-container "remove_name"
Zugriff on CBSI_Eidothea_Volume.sxx.

Detaillierte Beschreibung:

[plugin-containe hat einen zugelassenen Typ (mozilla_plugin_t). Dieser Zugriff
wurde nicht verweigert.]

SELinux verweigerte den von plugin-containe angeforderten Zugriff. Da nicht
davon ausgegangen wird, dass dieser Zugriff von plugin-containe benötigt wird,
signalisiert dies möglicherweise einen Einbruchsversuch. Es ist ausserdem
möglich, dass diese spezielle Version oder Konfiguration der Anwendung den
zusätzlichen Zugriff verursacht.

Zugriff erlauben:

Sie können ein lokales Richtlininenmodul generieren, um diesen Zugriff zu
erlauben siehe FAQ (http://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385)
Bitte reichen Sie einen Fehlerbericht ein.

Zusätzliche Informationen:

Quellkontext                  unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c
                              0.c1023
Zielkontext                   unconfined_u:object_r:user_home_dir_t:s0
Zielobjekte                   CBSI_Eidothea_Volume.sxx [ dir ]
Quelle                        plugin-containe
Quellpfad                     /usr/lib64/xulrunner-1.9.2/plugin-container
Port                          <Unbekannt>
Host                          (entfernt)
RPM-Pakete der Quelle         xulrunner-1.9.2.10-1.fc14
RPM-Pakete des Ziels          
Richtlinien-RPM               selinux-policy-3.9.5-3.fc14
SELinux aktiviert             True
Richtlinientyp                targeted
Enforcing-Modus               Enforcing
Plugin-Name                   catchall
Rechnername                   (entfernt)
Plattform                     Linux (entfernt)
                              2.6.35.4-28.fc14.x86_64 #1 SMP Wed Sep 15 01:56:54
                              UTC 2010 x86_64 x86_64
Anzahl der Alarme             4
Zuerst gesehen                Sa 25 Sep 2010 08:57:34 CEST
Zuletzt gesehen               Sa 25 Sep 2010 09:01:59 CEST
Lokale ID                     89945f1a-efb7-4aeb-9e2d-230ddb72c4d6
Zeilennummern                 

Raw-Audit-Meldungen           

node=(entfernt) type=AVC msg=audit(1285398119.464:28465): avc:  denied  { remove_name } for  pid=2650 comm="plugin-containe" name="CBSI_Eidothea_Volume.sxx" dev=sda5 ino=1839754 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_dir_t:s0 tclass=dir

node=(entfernt) type=AVC msg=audit(1285398119.464:28465): avc:  denied  { unlink } for  pid=2650 comm="plugin-containe" name="CBSI_Eidothea_Volume.sxx" dev=sda5 ino=1839754 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_dir_t:s0 tclass=file

node=(entfernt) type=SYSCALL msg=audit(1285398119.464:28465): arch=c000003e syscall=87 success=yes exit=0 a0=7fea413e50e0 a1=7fea454b2e70 a2=0 a3=6568746f6469455f items=0 ppid=2436 pid=2650 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm="plugin-containe" exe="/usr/lib64/xulrunner-1.9.2/plugin-container" subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  catchall,plugin-containe,mozilla_plugin_t,user_home_dir_t,dir,remove_name
audit2allow suggests:

#============= mozilla_plugin_t ==============
allow mozilla_plugin_t user_home_dir_t:dir remove_name;
allow mozilla_plugin_t user_home_dir_t:file unlink;

Comment 1 Daniel Walsh 2010-09-27 13:48:35 UTC
Any idea what directory mozilla_plugin was creating and removing?

Comment 2 Daniel Walsh 2010-09-27 13:50:04 UTC
*** Bug 637522 has been marked as a duplicate of this bug. ***

Comment 3 Daniel Walsh 2010-09-27 13:50:12 UTC
*** Bug 637523 has been marked as a duplicate of this bug. ***

Comment 4 Daniel Walsh 2010-09-27 13:57:01 UTC
Fixed in selinux-policy-3.9.5-7.fc14

Ok It is creating content under ~/.macromedia

Comment 5 Thomas Kowaliczek 2010-09-28 10:04:11 UTC
It can be:

.macromedia
or
.mozilla/plugins

I´m using the new adobe flash x86_64 plugin.

Comment 6 Fedora Update System 2010-10-04 19:35:58 UTC
selinux-policy-3.9.5-10.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/selinux-policy-3.9.5-10.fc14

Comment 7 Fedora Update System 2010-10-05 13:05:27 UTC
selinux-policy-3.9.5-10.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.