Due to using “time()” as random source in the ownCloud installation routine, the entropy of the generated PostgreSQL database user password is very low and can be easily guessed.
This issue is inside the ownCloud setup routine and is not related to any PostgreSQL vulnerability.
It is recommended that all instances are upgraded to ownCloud Server 5.0.4, 4.5.9 or 4.0.14.
The ownCloud team thanks the following people for their research and responsible disclosure of the above advisory: