Re: [HACKERS] Possible make_oidjoins_check Security Issue - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: [HACKERS] Possible make_oidjoins_check Security Issue
Date
Msg-id 200411032342.iA3NgPi14138@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] Possible make_oidjoins_check Security Issue  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [HACKERS] Possible make_oidjoins_check Security Issue  (Gavin Sherry <swm@linuxworld.com.au>)
List pgsql-patches
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.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.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] Possible make_oidjoins_check Security Issue
Next
From: Gavin Sherry
Date:
Subject: Re: [HACKERS] Possible make_oidjoins_check Security Issue