Public bug reported:
Every time I open Firefox apparmor-notify displays a deny message of
type "m" access to "/dev/zero". I added the line "/dev/zero m," to my
/etc/apparmor.d/usr.bin.firefox profile to be able to play Adobe Flash
videos, which it can now do after doing that. Question #1: What security
risks play a role when I allow "m" (?) access to this folder for Firefox
and do the benefits outway the risk to the sandbox?
After I updated my apparmor profile to allow flash videos, I no longer
receive a deny message for it at every Firefox startup, but I now get a
deny message of “rw” (read and write) to “/dev/nvidiactl”. Question #2:
Is it okay to do that (i.e. add line "/dev/nvidiactl rw," to the Firefox
profile configuration for apparmor), what are the security risks of
doing so, and what purpose is such a permission good for?
What I want to add to a Wishlist for the apparmor package: enable
apparmor sandboxing for Firefox to every Ubuntu user once the flash gets
fixed after the quoted bugs below are patched.
Here is the log that I get before I add the permission in the apparmor firefox
profile to get flash to work,
"
Mar 29 17:11:53 username kernel: [27877.596655] type=1400
audit(1333066313.785:410): apparmor="DENIED" operation="file_mmap" parent=4670
profile="/usr/lib/firefox-11.0/firefox{,*[^s][^h]}" name="/dev/zero" pid=4673
comm="firefox" requested_mask="m" denied_mask="m" fsuid=1000 ouid=0
"
Here is the log that I get after I add the permission in the apparmor firefox
profile even though by this time flash started working,
"
Mar 25 19:26:29 username kernel: [21002.394793] type=1400
audit(1332728789.574:427): apparmor="DENIED" operation="open" parent=4894
profile="/usr/lib/firefox-11.0/firefox{,*[^s][^h]}" name="/dev/nvidiactl"
pid=4897 comm="firefox" requested_mask="rw" denied_mask="rw" fsuid=1000 ouid=0
"
** Affects: apparmor (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/968752
Title:
Bug prevents flash plugin to load during firefox sessions. Audit logs
are provided. Known update to firefox profile may help; wondering if
it is secure?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/968752/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs