Re: [HACKERS] Possible make_oidjoins_check Security Issue
От | Gavin Sherry |
---|---|
Тема | Re: [HACKERS] Possible make_oidjoins_check Security Issue |
Дата | |
Msg-id | Pine.LNX.4.58.0411041112450.686@linuxworld.com.au обсуждение исходный текст |
Ответ на | Re: [HACKERS] Possible make_oidjoins_check Security Issue (Bruce Momjian <pgman@candle.pha.pa.us>) |
Ответы |
Re: [HACKERS] Possible make_oidjoins_check Security Issue
Re: [HACKERS] Possible make_oidjoins_check Security Issue |
Список | pgsql-patches |
On Wed, 3 Nov 2004, Bruce Momjian wrote: > 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. 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
В списке pgsql-patches по дате отправления: