| From: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> | 
|---|---|
| To: | "bkindrajeeth(at)gmail(dot)com" <bkindrajeeth(at)gmail(dot)com>, "pgsql-bugs(at)lists(dot)postgresql(dot)org" <pgsql-bugs(at)lists(dot)postgresql(dot)org> | 
| Subject: | Re: BUG #18817: Security Bug Report: Plaintext Password Exposure in Logs | 
| Date: | 2025-02-18 14:37:30 | 
| Message-ID: | CAKFQuwZ5WbsxVd1K_jm=nyPqNZ7K99X+2q_aSD1ukDMNobcuVA@mail.gmail.com | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | pgsql-bugs | 
On Tuesday, February 18, 2025, PG Bug reporting form <noreply(at)postgresql(dot)org>
wrote:
> The following bug has been logged on the website:
>
> Bug reference:      18817
> Logged by:          Indrajeet Deshmukh
> Email address:      bkindrajeeth(at)gmail(dot)com
> PostgreSQL version: 15.0
> Operating system:   Linux
> Description:
>
> Namaste Team,
>
> During the integration of PostgreSQL Database v15 logs into a SIEM
> solution,I observed that user passwords are logged in plaintext when a user
> is created using the database command. This poses a serious security risk
> as
> credentials could be exposed to unauthorized users who have access to the
> logs.
>
> Vendor: PostgreSQL
> Product: PostgreSQL Database
> Version: 15
> Severity: High
> Issue Type: Security Vulnerability
>
> Steps to Reproduce:
> Open the PostgreSQL Database CLI or execute the command via a script.
> Run the following command to create a new user:
>
> CREATE USER indrajeet WITH PASSWORD 'indrajeet'
The long-standing position here is that the encrypted password being found
in the logs is not a security issue needing fixing.  It’s maybe a bit
unfortunate that we provide both secure and insecure methods for setting or
changing a password but we do.  Use the secure methods.  Which means
compute the encrypted password off-server and send that instead of the
clear text version.
David J.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Greg Sabino Mullane | 2025-02-18 14:38:38 | Re: BUG #18817: Security Bug Report: Plaintext Password Exposure in Logs | 
| Previous Message | Indrajeeth Deshmukh | 2025-02-18 12:52:36 | Re: BUG #18817: Security Bug Report: Plaintext Password Exposure in Logs |