Re: Why does Postgres need the /bin/sh? - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Why does Postgres need the /bin/sh?
Date
Msg-id 26941.1020524035@sss.pgh.pa.us
Whole thread Raw
In response to Re: Why does Postgres need the /bin/sh?  (Stephen Amadei <amadei@dandy.net>)
Responses Re: Why does Postgres need the /bin/sh?
List pgsql-bugs
Stephen Amadei <amadei@dandy.net> writes:
> However, if someone was to know that Postgres needs a /bin/rm, an exploit
> could be created that runs /bin/rm instead of /bin/sh and trashes the
> databases postgres owns.  Of course, this is a big IF.  ;-)

The attacker won't be able to do any of this unless he's already managed
to connect to the database, no?  There are much easier ways to zap your
data at the SQL level.  Sorry but I'm having a hard time getting excited
about this proposition...

            regards, tom lane

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: 7.2.1 segfaults.
Next
From: Stephen Amadei
Date:
Subject: Re: 7.2.1 segfaults.