Re: Privilege escalation via LOAD

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: John Heasman <john(at)ngssoftware(dot)com>, pgsql-bugs(at)postgresql(dot)org, dl-advisories(at)ngssoftware(dot)com
Subject: Re: Privilege escalation via LOAD
Date: 2005-01-24 16:34:04
Message-ID: 200501241734.05297.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Tom Lane wrote:
> John Heasman <john(at)ngssoftware(dot)com> writes:
> > It appears that low privileged users can invoke the LOAD extension
> > to load arbitrary libraries into the postgres process space.
>
> Hmm. Creating C functions is restricted to superusers, but I guess
> no one ever noticed that LOAD isn't. On a platform where that can
> execute initialization functions this does seem like a security
> issue.

I believe all ELF platforms fall into that category.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Edmund Bacon 2005-01-24 18:50:48 BUG #1440: ecpg seg faults
Previous Message Jeff Ross 2005-01-24 16:33:27 Re: 8.0.0 gmake check fails if on disk, passes on ram disk....