Re: Privilege escalation via LOAD - Mailing list pgsql-bugs

From Peter Eisentraut
Subject Re: Privilege escalation via LOAD
Date
Msg-id 200501241734.05297.peter_e@gmx.net
Whole thread Raw
In response to Re: Privilege escalation via LOAD  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
Tom Lane wrote:
> John Heasman <john@ngssoftware.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/

pgsql-bugs by date:

Previous
From: Jeff Ross
Date:
Subject: Re: 8.0.0 gmake check fails if on disk, passes on ram disk....
Next
From: "Edmund Bacon"
Date:
Subject: BUG #1440: ecpg seg faults