Re: [HACKERS] Possible make_oidjoins_check Security Issue

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Neil Conway <neilc(at)samurai(dot)com>, Rod Taylor <pg(at)rbt(dot)ca>, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [HACKERS] Possible make_oidjoins_check Security Issue
Date: 2004-11-03 23:34:19
Message-ID: 18308.1099524859@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

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.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2004-11-03 23:42:25 Re: [HACKERS] Possible make_oidjoins_check Security Issue
Previous Message Bruce Momjian 2004-11-03 23:28:59 Re: Pre-8.0 outstanding patches

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2004-11-03 23:42:25 Re: [HACKERS] Possible make_oidjoins_check Security Issue
Previous Message Bruce Momjian 2004-11-03 23:28:24 Re: [HACKERS] Possible make_oidjoins_check Security Issue