Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Mar 2020 23:45:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 231480] sysutils/grub2-bhyve: "(host)" filesystem is a potential security issue
Message-ID:  <bug-231480-7788-Fdts1CfSCG@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-231480-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-231480-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231480

Conrad Meyer <cem@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|cem@freebsd.org             |ports-bugs@FreeBSD.org

--- Comment #5 from Conrad Meyer <cem@freebsd.org> ---
The github PR has been merged, so (host) is now read-only and access limite=
d to
the unprivileged 'nobody' user.  That (?)might be sufficient to resolve this
bug as-reported, since most secrets will not be readable by user 'nobody'.=
=20
That said, the guest should not have arbitrary 'nobody'-level read access to
the host filesystem anyway, so it's still a privilege escalation that needs
fixed.

Adding chroot()+chdir() (both are essential!) in the non-'-r host' case is
pretty trivial, if someone wants to tackle that.  I can help provide pointe=
rs
but I think I'm done with grub-bhyve work myself for the time being.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-231480-7788-Fdts1CfSCG>