On Mon, 2019-03-18 at 19:57 +0530, Ritesh Raj Sarraf wrote:
> On Fri, 2019-03-15 at 22:39 +0100, Jakub Wilk wrote:
> > Apport tries to create /var/crash/.lock if doesn't exist already.
> > But 
> > /var/crash/ is world-writable, so a malicious local user could do:
> > 
> >    ln -sf /nonexistent /var/crash/.lock
> > 
> > to prevent Apport from creating the lock file.
> 
> Yes. /var/crash/ is world writable and has the sticky bit set. It is
> needed so that normal (unprivileged) user processes also write down
> their crash reports without seeking root privileges.

Yes. But that still does not fix the security concern raised in this
bug report. What would be the optimal fix for this ? Set /var/crash/ to
root:adm and 1664 permissions ?


-- 
Ritesh Raj Sarraf | http://people.debian.org/~rrs
Debian - The Universal Operating System

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to