pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thiago Maluf <malufrj@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Disable access shell command in psql
Date: Mon, 23 Jul 2007 10:26:25 -0400
Message-ID: <24056.1185200785@sss.pgh.pa.us> (raw)
In-Reply-To: <c8bf7e920707230659p2feec45ao9a699a3e9792fc91@mail.gmail.com>
References: <c8bf7e920707230659p2feec45ao9a699a3e9792fc91@mail.gmail.com>

"Thiago Maluf" <malufrj@gmail.com> writes:
> I have one database server with postgresql 8.1 and I discovered  yesterday
> one  security problem.
> When  I access my server with  thought psql I have the possibility execute
> command in my server using "\!" or write one file using "\e".

These are done on the client side, not the server side.  There is no
security issue here, because psql's user could equally well do the
same things without using psql.

			regards, tom lane



view thread (4+ messages)  latest in thread

Message-ID: <24056.1185200785@sss.pgh.pa.us>
Permalink:  ../24056.1185200785@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/24056.1185200785@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, malufrj@gmail.com
  Subject: Re: Disable access shell command in psql
  In-Reply-To: <24056.1185200785@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox