From: Stephen Frost <sfrost@snowman.net>
To: smsiebe@gmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #10680: LDAP bind password leaks to log on failed authentication
Date: Thu, 19 Jun 2014 08:44:32 -0400
Message-ID: <20140619124432.GP16098@tamriel.snowman.net> (raw)
In-Reply-To: <20140617175511.2589.45249@wrigleys.postgresql.org>
References: <20140617175511.2589.45249@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
Greetings,
* smsiebe@gmail.com (smsiebe@gmail.com) wrote:
> When a user fails to login when the LDAP method is used, the ldapbindpasswd
> (in plain text) is leaked to the log, even when the log level is set to
> warning.
If you don't want the server to see the user's password, don't use LDAP
authentication. A much better approach is Kerberos or client-side SSL
certificates.
There may be something which is done to improve the specific case
mentioned here (or perhaps not..), but if LDAP is used then the PG
server will see the user's password because that's how that
authentication system works.
Thanks,
Stephen
Attachments:
signature.asc (application/pgp-signature, 818B) download
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: sfrost@snowman.net, smsiebe@gmail.com
Subject: Re: BUG #10680: LDAP bind password leaks to log on failed authentication
In-Reply-To: <20140619124432.GP16098@tamriel.snowman.net>
References: <20140617175511.2589.45249@wrigleys.postgresql.org> <20140619124432.GP16098@tamriel.snowman.net>
* 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