OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Bugtraq archives for 3rd quarter (Jul-Sep) 1998: Re: ncurses 4.1 security bug

Re: ncurses 4.1 security bug

Perry E. Metzger (perrypiermont.com)
Tue, 7 Jul 1998 19:28:28 -0400

Duncan Simpson writes:
> ncurses version 4.1 fails to drop priviledges before opening the
> termcap database and you can set any file(s) you like.

This is not a bug. ncurses is a *library*, not a *program*. It is up
to suid programs to drop privileges, not every call that invokes them --
or are you going to declare the fact that fopen() doesn't drop
privileges a "bug"?

.pm