pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruno Wolff III <bruno@wolff.to>
To: Goulet, Dick <DGoulet@vicr.com>
Cc: Doug Quale <quale1@charter.net>
Cc: PostgreSQL Admin <pgsql-admin@postgresql.org>
Subject: Re: Installing PostgreSQL as "postgress" versus "root" Debate!
Date: Thu, 13 Jan 2005 14:46:35 -0600
Message-ID: <20050113204635.GA5024@wolff.to> (raw)
In-Reply-To: <4001DEAF7DF9BD498B58B45051FBEA650207AB73@25exch1.vicorpower.vicr.com>
References: <4001DEAF7DF9BD498B58B45051FBEA650207AB73@25exch1.vicorpower.vicr.com>

On Thu, Jan 13, 2005 at 13:52:41 -0500,
  "Goulet, Dick" <DGoulet@vicr.com> wrote:
> Doug,
> 
> 	OK, Assume that the binaries are installed under root, but a
> hacker cracks PostGres, what is to stop him/her from trashing all of the
> database files in the first place?  Their not owned by root.  Installing
> malware, whether it's actual code or destroying/defacing files causes
> similar if not identical problems.  At least their restricted to the
> postgres user.  And in my book the executables are of zero value whereas
> the data files, and their contained data, are of infinite value.  So
> under your scheme we're protecting the least valuable part of the
> system at the expense of the most valuable.  

While often the data is the most valuable thing on the system, being able to
modify the binaries can be leveraged to increase the level of access, since
the binaries run with the uid of the person running them. So that if psql
got trojaned, it could be used to update users paths and have people run
trojan versions of such programs such as ssh.



view thread (48+ messages)  latest in thread

Message-ID: <20050113204635.GA5024@wolff.to>
Permalink:  ../20050113204635.GA5024@wolff.to/
Also on:    postgresql.org/message-id/20050113204635.GA5024@wolff.to

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: bruno@wolff.to, DGoulet@vicr.com, quale1@charter.net
  Subject: Re: Installing PostgreSQL as "postgress" versus "root" Debate!
  In-Reply-To: <20050113204635.GA5024@wolff.to>
  References: <4001DEAF7DF9BD498B58B45051FBEA650207AB73@25exch1.vicorpower.vicr.com> <20050113204635.GA5024@wolff.to>

* 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