A design flaw in authentication in Synology Photo Station 6.0-2528 through 6.7.1-3419 allows local users to obtain credentials via cmdline. Synology Photo Station employs the synophoto_dsm_user program to authenticate username and password by "synophoto_dsm_user --auth USERNAME PASSWORD", and local users are able to obtain credentials by sniffing "/proc/*/cmdline".
https://www.synology.com/en-global/support/security/Photo_Station_CVE_2017_9552
http://blog.crozat.net/2017/06/synology-photostation-password-vulnerabilty.html