pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #5938: PostgreSQL Installer outputs log file with superuser password in clear text
6+ messages / 4 participants
[nested] [flat]

* BUG #5938: PostgreSQL Installer outputs log file with superuser password in clear text
@ 2011-03-22 05:10  Craig Sacco <craig.sacco@gmail.com>
  0 siblings, 1 reply; 6+ messages in thread

From: Craig Sacco @ 2011-03-22 05:10 UTC (permalink / raw)
  To: pgsql-bugs


The following bug has been logged online:

Bug reference:      5938
Logged by:          Craig Sacco
Email address:      craig.sacco@gmail.com
PostgreSQL version: 9.0.3
Operating system:   Microsoft Windows (all variants, 32 and 64 bit)
Description:        PostgreSQL Installer outputs log file with superuser
password in clear text
Details: 

The PostgreSQL installer outputs a log file to the temporary directory with
the superuser password in clear text. We are deploying PostgreSQL as part of
a commercial product and would like to ensure that the password is not
available to ordinary users.



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: BUG #5938: PostgreSQL Installer outputs log file with superuser password in clear text
@ 2011-03-22 15:45  Dave Page <dpage@pgadmin.org>
  parent: Craig Sacco <craig.sacco@gmail.com>
  0 siblings, 1 reply; 6+ messages in thread

From: Dave Page @ 2011-03-22 15:45 UTC (permalink / raw)
  To: Craig Sacco <craig.sacco@gmail.com>; +Cc: pgsql-bugs

On Tue, Mar 22, 2011 at 5:10 AM, Craig Sacco <craig.sacco@gmail.com> wrote:

>
> The following bug has been logged online:
>
> Bug reference:      5938
> Logged by:          Craig Sacco
> Email address:      craig.sacco@gmail.com
> PostgreSQL version: 9.0.3
> Operating system:   Microsoft Windows (all variants, 32 and 64 bit)
> Description:        PostgreSQL Installer outputs log file with superuser
> password in clear text
> Details:
>
> The PostgreSQL installer outputs a log file to the temporary directory with
> the superuser password in clear text. We are deploying PostgreSQL as part
> of
> a commercial product and would like to ensure that the password is not
> available to ordinary users.
>
>
This has been fixed for the next releases.

-- 
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: BUG #5938: PostgreSQL Installer outputs log file with superuser password in clear text
@ 2011-03-22 16:09  Dave Page <dpage@pgadmin.org>
  parent: Dave Page <dpage@pgadmin.org>
  0 siblings, 2 replies; 6+ messages in thread

From: Dave Page @ 2011-03-22 16:09 UTC (permalink / raw)
  To: Craig Sacco <craig.sacco@gmail.com>; +Cc: pgsql-bugs

On Tue, Mar 22, 2011 at 3:45 PM, Dave Page <dpage@pgadmin.org> wrote:

>
>
> On Tue, Mar 22, 2011 at 5:10 AM, Craig Sacco <craig.sacco@gmail.com>wrote:
>
>>
>> The following bug has been logged online:
>>
>> Bug reference:      5938
>> Logged by:          Craig Sacco
>> Email address:      craig.sacco@gmail.com
>> PostgreSQL version: 9.0.3
>> Operating system:   Microsoft Windows (all variants, 32 and 64 bit)
>> Description:        PostgreSQL Installer outputs log file with superuser
>> password in clear text
>> Details:
>>
>> The PostgreSQL installer outputs a log file to the temporary directory
>> with
>> the superuser password in clear text. We are deploying PostgreSQL as part
>> of
>> a commercial product and would like to ensure that the password is not
>> available to ordinary users.
>>
>>
> This has been fixed for the next releases.
>

For the sake of the archives, it should also be noted that the file is in a
secure directory, much as a .pgpass file would be, so this is generally only
an issue for the situation described above, and not when a user installs a
copy himself.


-- 
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: BUG #5938: PostgreSQL Installer outputs log file with superuser password in clear text
@ 2011-03-22 16:33  Simon Riggs <simon@2ndQuadrant.com>
  parent: Dave Page <dpage@pgadmin.org>
  1 sibling, 1 reply; 6+ messages in thread

From: Simon Riggs @ 2011-03-22 16:33 UTC (permalink / raw)
  To: Dave Page <dpage@pgadmin.org>; +Cc: Craig Sacco <craig.sacco@gmail.com>; pgsql-bugs

On Tue, Mar 22, 2011 at 4:09 PM, Dave Page <dpage@pgadmin.org> wrote:
>
>
> On Tue, Mar 22, 2011 at 3:45 PM, Dave Page <dpage@pgadmin.org> wrote:
>>
>>
>> On Tue, Mar 22, 2011 at 5:10 AM, Craig Sacco <craig.sacco@gmail.com>
>> wrote:
>>>
>>> The following bug has been logged online:
>>>
>>> Bug reference:      5938
>>> Logged by:          Craig Sacco
>>> Email address:      craig.sacco@gmail.com
>>> PostgreSQL version: 9.0.3
>>> Operating system:   Microsoft Windows (all variants, 32 and 64 bit)
>>> Description:        PostgreSQL Installer outputs log file with superuser
>>> password in clear text
>>> Details:
>>>
>>> The PostgreSQL installer outputs a log file to the temporary directory
>>> with
>>> the superuser password in clear text. We are deploying PostgreSQL as part
>>> of
>>> a commercial product and would like to ensure that the password is not
>>> available to ordinary users.
>>>
>>
>> This has been fixed for the next releases.
>
> For the sake of the archives, it should also be noted that the file is in a
> secure directory, much as a .pgpass file would be, so this is generally only
> an issue for the situation described above, and not when a user installs a
> copy himself.

I accept its not a worst-case problem, but we should rate the problem
A-D as with other security issues.
All cases should get a rating so we know what we're dealing with

The problem is that the password is disclosed in a surprising way.
.pgpass files are explicitly put there by a user, so they know what
they've done.

Putting a password in cleartext somewhere is an issue if people don't
know about it.

-- 
 Simon Riggs                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: BUG #5938: PostgreSQL Installer outputs log file with superuser password in clear text
@ 2011-03-22 19:57  Robert Haas <robertmhaas@gmail.com>
  parent: Simon Riggs <simon@2ndQuadrant.com>
  0 siblings, 0 replies; 6+ messages in thread

From: Robert Haas @ 2011-03-22 19:57 UTC (permalink / raw)
  To: Simon Riggs <simon@2ndquadrant.com>; +Cc: Dave Page <dpage@pgadmin.org>; Craig Sacco <craig.sacco@gmail.com>; pgsql-bugs

On Tue, Mar 22, 2011 at 12:33 PM, Simon Riggs <simon@2ndquadrant.com> wrote:
>>> This has been fixed for the next releases.
>>
>> For the sake of the archives, it should also be noted that the file is in a
>> secure directory, much as a .pgpass file would be, so this is generally only
>> an issue for the situation described above, and not when a user installs a
>> copy himself.
>
> I accept its not a worst-case problem, but we should rate the problem
> A-D as with other security issues.
> All cases should get a rating so we know what we're dealing with
>
> The problem is that the password is disclosed in a surprising way.
> .pgpass files are explicitly put there by a user, so they know what
> they've done.
>
> Putting a password in cleartext somewhere is an issue if people don't
> know about it.

I agree completely.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: BUG #5938: PostgreSQL Installer outputs log file with superuser password in clear text
@ 2011-03-24 09:12  Dave Page <dpage@pgadmin.org>
  parent: Dave Page <dpage@pgadmin.org>
  1 sibling, 0 replies; 6+ messages in thread

From: Dave Page @ 2011-03-24 09:12 UTC (permalink / raw)
  To: Craig Sacco <craig.sacco@gmail.com>; +Cc: pgsql-bugs

On Tue, Mar 22, 2011 at 4:09 PM, Dave Page <dpage@pgadmin.org> wrote:
>
>
> On Tue, Mar 22, 2011 at 3:45 PM, Dave Page <dpage@pgadmin.org> wrote:
>>
>>
>> On Tue, Mar 22, 2011 at 5:10 AM, Craig Sacco <craig.sacco@gmail.com>
>> wrote:
>>>
>>> The following bug has been logged online:
>>>
>>> Bug reference:      5938
>>> Logged by:          Craig Sacco
>>> Email address:      craig.sacco@gmail.com
>>> PostgreSQL version: 9.0.3
>>> Operating system:   Microsoft Windows (all variants, 32 and 64 bit)
>>> Description:        PostgreSQL Installer outputs log file with superuser
>>> password in clear text
>>> Details:
>>>
>>> The PostgreSQL installer outputs a log file to the temporary directory
>>> with
>>> the superuser password in clear text. We are deploying PostgreSQL as part
>>> of
>>> a commercial product and would like to ensure that the password is not
>>> available to ordinary users.
>>>
>>
>> This has been fixed for the next releases.
>
> For the sake of the archives, it should also be noted that the file is in a
> secure directory, much as a .pgpass file would be, so this is generally only
> an issue for the situation described above, and not when a user installs a
> copy himself.

Updated "one click" installers for 9.0.3 on win32 and win64 and for
8.4.7 on win32 are now available from
http://www.postgresql.org/download/windows


-- 
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2011-03-24 09:12 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2011-03-22 05:10 BUG #5938: PostgreSQL Installer outputs log file with superuser password in clear text Craig Sacco <craig.sacco@gmail.com>
2011-03-22 15:45 ` Dave Page <dpage@pgadmin.org>
2011-03-22 16:09   ` Dave Page <dpage@pgadmin.org>
2011-03-22 16:33     ` Simon Riggs <simon@2ndQuadrant.com>
2011-03-22 19:57       ` Robert Haas <robertmhaas@gmail.com>
2011-03-24 09:12     ` Dave Page <dpage@pgadmin.org>

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