Re: SECURITY: psql allows symlink games in /tmp

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: abartlet(at)pcug(dot)org(dot)au
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: SECURITY: psql allows symlink games in /tmp
Date: 2000-11-25 14:28:13
Message-ID: 200011251428.JAA09526@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Looks like what I would have done if I knew C.
>
> The only issue remaining is a policy issue as to if psql should call an
> editor in /tmp at all, considering the issues raised bye the recent joe
> vulnerability, ie can we trust the editor not to do a crazy thing, like
> not creating a similarly predictable backup-file name etc. It should at
> least be documented so that a more parinoid sys-admin can make sure that
> users use a private TMPDIR.

Not sure it is worth the addition.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2000-11-25 15:43:14 Re: OK, that's one LOCALE bug report too many...
Previous Message Peter Eisentraut 2000-11-25 13:43:29 Re: location of Unix socket