Bug 203914

Summary: www/owncloud: DB password unhashed
Product: Ports & Packages Reporter: O. Hartmann <ohartmann>
Component: Individual Port(s)Assignee: Po-Chuan Hsieh <sunpoet>
Status: Closed Not A Bug    
Severity: Affects Many People CC: lwhsu, sunpoet, w.schwarzenfeld
Priority: --- Keywords: needs-qa, security
Version: LatestFlags: bugzilla: maintainer-feedback? (sunpoet)
Hardware: Any   
OS: Any   

Description O. Hartmann 2015-10-21 05:33:38 UTC
On a fresh installation of www/owncloud, I find the DB passowrd issued for connecting to the PostgreSQL server in clear text! On an older installation, there is a hashed version of the password.

This is considered a high security risk!
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2015-10-21 05:41:14 UTC
Is this something that needs to be reported, and (also) fixed upstream, or is it a configuration default that can be improved upon?
Comment 2 Rene Ladan freebsd_committer 2018-01-12 11:22:58 UTC
Maintainer reset.
Comment 3 Walter Schwarzenfeld freebsd_triage 2019-09-04 20:24:15 UTC
Maintainer feedback, please resp. is this still relevant?
Comment 4 Li-Wen Hsu freebsd_committer 2020-11-06 08:12:38 UTC
Is this still happening in the enewer version of owncloud?

I am a bit curious this issue, usually the DB password should still be saved in plain text somewhere, in order to let the application to connect to DB, and the protection of the password is done through file permission or ACK, etc.

If this is really an issue, probably also need to report to the upstream.
Comment 5 Po-Chuan Hsieh freebsd_committer 2021-06-25 11:15:24 UTC
AFAIK, upstream does not think it's an issue [1].

[1] https://github.com/owncloud/core/issues/17646