From: | Gavin Sherry <swm(at)linuxworld(dot)com(dot)au> |
---|---|
To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Neil Conway <neilc(at)samurai(dot)com>, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org> |
Subject: | Re: [HACKERS] Possible make_oidjoins_check Security Issue |
Date: | 2004-11-04 00:21:27 |
Message-ID: | Pine.LNX.4.58.0411041112450.686@linuxworld.com.au |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
On Wed, 3 Nov 2004, Bruce Momjian wrote:
> Tom Lane wrote:
> > Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > >> I think Tom's fix adequately addresses the security concerns. Exactly
> > >> what is wrong with writing to the current working directory?
> >
> > > Because it could be run from a directory where others have write
> > > permission.
> >
> > In which case, they could also change the findoidjoins script itself.
> > I think your fix is *less* secure than what you replaced.
> >
> > However, I've already wasted more than enough time on this issue...
> > I'm done arguing about it.
>
> As far as I know, my method is the only secure method. If I am wrong I
> would like to know.
I think the problem can really be solved by just removing it from the
distribution. However, one thing I noticed with Bruce's script is that it
does not respect $TMPDIR -- which security conscious admins may be
setting. Solution would be to set TMP=${TMPDIR:-/tmp} before defining the
path to the temporary sub directory.
Thanks,
Gavin
From | Date | Subject | |
---|---|---|---|
Next Message | Marc G. Fournier | 2004-11-04 00:21:59 | Re: pg_autovacuum is nice ... but ... |
Previous Message | Marc G. Fournier | 2004-11-04 00:20:47 | Re: pg_autovacuum is nice ... but ... |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2004-11-04 01:40:01 | Re: [HACKERS] Possible make_oidjoins_check Security Issue |
Previous Message | Bruce Momjian | 2004-11-03 23:42:25 | Re: [HACKERS] Possible make_oidjoins_check Security Issue |