/boot
On the SE Linux machine at LinuxTag I have been providing everyone with "root" access and inviting them to discover a way to obtain full access to the system (root is in user_r only).
They have discovered that as user_t they can read /boot files which may contain the lilo password in a form that can be extracted (I am not sure if that is the case for this version of LILO - it was definately the case for previous versions). Here is a patch to remove this access.
macros/global_macros.te Sat Jun 8 18:34:08 2002 renamed from macros/global_macros.te Wed Jun 5 13:29:34 2002 +0 -5
@@ -716,11 +716,6 @@ allow $1 initrc_var_run_t:file r_file_perms; allow $1 wtmp_t:file r_file_perms; -# Read /boot and /boot/kernel.h. -allow $1 boot_t:dir r_dir_perms; -allow $1 boot_t:{ file lnk_file } r_file_perms; -allow $1 boot_runtime_t:{ file lnk_file } r_file_perms; - # Read /etc. allow $1 etc_t:dir r_dir_perms; allow $1 etc_t:notdevfile_class_set r_file_perms;
Signature · 3 lines
I do not get viruses because I do not use MS software. If you use Outlook then please do not put my email address in your address-book so that WHEN you get a virus it won't use my address in the
Quoted 1 line
From field.
--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.