Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Thu, 9 Nov 2017 02:32:55 +0000
From: coypu@....org
To: oss-security@...ts.openwall.com
Cc: maya@...bsd.org
Subject: nvi denial of service

hello,

there is an exploitable flaw in virecover in nvi (as used by netbsd and
possibly others).

the gist of it:
sudo touch /myrootownedfile
touch /var/tmp/vi.recover/vi. myrootownedfile
sudo service virecover restart # may happen naturally

now /myrootownedfile is deleted by the choice of an unprivileged user.

for your convenience, attached is the patch used in netbsd and commit
messages.

(Found by Maya Rashish, fix by Christos Zoulas and Robert Elz).

View attachment "nvi.diff" of type "text/plain" (9170 bytes)

Powered by blists - more mailing lists

Your e-mail address:

Please check out the Open Source Software Security Wiki, which is counterpart to this mailing list.

Powered by Openwall GNU/*/Linux - Powered by OpenVZ