pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Steven Siebert <smsiebe@gmail.com>
Cc: Magnus Hagander <magnus@hagander.net>
Cc: Stephen Frost <sfrost@snowman.net>
Cc: pgsql-bugs <pgsql-bugs@postgresql.org>
Subject: Re: BUG #10680: LDAP bind password leaks to log on failed authentication
Date: Mon, 13 Oct 2014 11:25:52 -0400
Message-ID: <20141013152552.GX21267@momjian.us> (raw)
In-Reply-To: <25516.1413142930@sss.pgh.pa.us>
References: <20140619153712.GV16098@tamriel.snowman.net>
	<CABUevEzTfNTMF3F1hTyK1Lhq+2dt4fdCSyCrRF=BVgckf6y8ng@mail.gmail.com>
	<20140619160901.GW16098@tamriel.snowman.net>
	<CAC3nzegc2hSqcLcGdgGLXsMYapOAPBFmr76VkzqK=vBpefmRdg@mail.gmail.com>
	<CABUevEziycN8irGudCg+DW0MY-afwbEjDR0ODGO9Rz9Sm9wSRQ@mail.gmail.com>
	<CAC3nzeitnG+3DthhAer3TF0OQO0-JsFWVB9iuXMqMCRz7aDmpw@mail.gmail.com>
	<20141011183535.GA21267@momjian.us>
	<CAC3nzeidOUjEsF-dUYo_eDEMQqYMe0zWnc8RtirX8=vPoxAR5w@mail.gmail.com>
	<CAC3nzeivnRFD+41PRhAx8Kd9VwbW0B2bzzJEmf603RTO6xAJvg@mail.gmail.com>
	<25516.1413142930@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On Sun, Oct 12, 2014 at 03:42:10PM -0400, Tom Lane wrote:
> The right problem to be solving, to my mind, is that you feel a need
> to give access to the postmaster log to untrusted people.  Now maybe
> that's just a problem of wrong administrative procedures, but let's
> consider what we might do in PG to improve your ability to do that
> safely.  Perhaps what we should be entertaining is a proposal to have
> multiple log channels, some containing more security-relevant messages
> and others less so.  Then you could give people the ability to read only
> the non-security-relevant messages.  If we arranged for *all* messages
> relevant to pg_hba.conf to go into a secure log, it'd be a lot easier to
> convince ourselves that we would not leak any security-critical info
> than if we take the approach this patch proposes.

Uh, are we ready to output pg_hba.conf syntax errors (that might contain
passwords) to the that security channel?  That seems confusing too.  :-(

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + Everyone has their own god. +


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (32+ messages)  latest in thread

Message-ID: <20141013152552.GX21267@momjian.us>
Permalink:  ../20141013152552.GX21267@momjian.us/
Also on:    postgresql.org/message-id/20141013152552.GX21267@momjian.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 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-bugs@postgresql.org
  Cc: bruce@momjian.us, tgl@sss.pgh.pa.us, smsiebe@gmail.com, magnus@hagander.net, sfrost@snowman.net
  Subject: Re: BUG #10680: LDAP bind password leaks to log on failed authentication
  In-Reply-To: <20141013152552.GX21267@momjian.us>
  References: <20140619153712.GV16098@tamriel.snowman.net> <CABUevEzTfNTMF3F1hTyK1Lhq+2dt4fdCSyCrRF=BVgckf6y8ng@mail.gmail.com> <20140619160901.GW16098@tamriel.snowman.net> <CAC3nzegc2hSqcLcGdgGLXsMYapOAPBFmr76VkzqK=vBpefmRdg@mail.gmail.com> <CABUevEziycN8irGudCg+DW0MY-afwbEjDR0ODGO9Rz9Sm9wSRQ@mail.gmail.com> <CAC3nzeitnG+3DthhAer3TF0OQO0-JsFWVB9iuXMqMCRz7aDmpw@mail.gmail.com> <20141011183535.GA21267@momjian.us> <CAC3nzeidOUjEsF-dUYo_eDEMQqYMe0zWnc8RtirX8=vPoxAR5w@mail.gmail.com> <CAC3nzeivnRFD+41PRhAx8Kd9VwbW0B2bzzJEmf603RTO6xAJvg@mail.gmail.com> <25516.1413142930@sss.pgh.pa.us> <20141013152552.GX21267@momjian.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