From: Anton Farygin <rider@altlinux.com>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] права 700 на /lib/modules.
Date: Mon, 08 May 2006 09:30:04 +0400
Message-ID: <445ED75C.9080409@altlinux.com> (raw)
In-Reply-To: <20060507203642.GA25300@basalt.office.altlinux.org>
Dmitry V. Levin wrote:
> On Sun, May 07, 2006 at 11:50:29PM +0400, Anton Farygin wrote:
>> Dmitry V. Levin wrote:
>>> On Sat, May 06, 2006 at 08:56:36PM +0400, Anton D. Kachalov wrote:
>>>> On Sat, May 06, 2006 at 02:36:48PM +0300, Michael Shigorin wrote:
>>>>>> ИМХО это только ухудшает ситуацию. Допустим, я хочу
>>>>>> поэксперементировать с initrd. Что бы мне вызвать mkinird мне
>>>>>> нужно sudo(или подобное), что потенциально более опасно. Может
>>>>>> всё ж сделаем 755?
>>>>> Если делать, то контролируемым.
>>>> Ага. Очень весело, когда хэшером развернул чрут, а потом снаружи фиг
>>>> доберёшься до /lib/modules или /boot, что иногда сильно достаёт.
>>> Это мелочи. Имеет место быть неразрешимая на вид проблема, которую
>>> в очередной раз поставили в этом треде: выдача пользователям доступа
>>> на чтение к модулям ядра одновременно даёт этим пользователям возможность
>>> DoS'ить insmod/modprobe.
>> Так для новых ядер это просто исправляется. А для старых можно
>> понаписать всяких trigger'ов. или post-script'ов
>
> Антон, прочти внимательнее:
> Выдача пользователям доступа на чтение к модулям ядра одновременно даёт
> этим пользователям возможность DoS'ить insmod/modprobe.
Я прочёл внимательно. Предлагается выдавать права 755 к
/lib/modules/2.6.16-std26-up-alt4/build для пользователя, но 700 на всё
остальное содержимое (кроме pcimap)
Тогда DOS будет невозможен а огромная масса скриптов сторонних
разработчиков заработает.
Rgds,
Rider
prev parent reply other threads:[~2006-05-08 5:30 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-06 10:40 Kirill A. Shutemov
2006-05-06 10:58 ` Led
2006-05-06 11:13 ` Epiphanov Sergei
2006-05-06 11:19 ` Anton Farygin
2006-05-06 11:36 ` Michael Shigorin
2006-05-06 16:56 ` Anton D. Kachalov
2006-05-06 17:01 ` Dmitry V. Levin
2006-05-06 17:23 ` Kirill A. Shutemov
2006-05-06 18:01 ` Michael Shigorin
2006-05-06 20:23 ` Dmitry V. Levin
2006-05-06 20:38 ` Alexey I. Froloff
2006-05-06 22:13 ` Dmitry V. Levin
2006-05-07 10:16 ` Michael Shigorin
2006-05-07 10:25 ` Alexey I. Froloff
2006-05-07 12:02 ` Michael Shigorin
2006-05-07 14:43 ` Dmitry V. Levin
2006-05-08 15:34 ` Michael Shigorin
2006-05-07 19:50 ` Anton Farygin
2006-05-07 20:36 ` Dmitry V. Levin
2006-05-08 5:30 ` Anton Farygin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=445ED75C.9080409@altlinux.com \
--to=rider@altlinux.com \
--cc=devel@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git