Directory traversal vulnerability in download.php in Synology Photo Station before 6.5.3-3226 allows remote attackers to read arbitrary files via a full pathname in the id parameter.
https://www.synology.com/en-global/support/security/Photo_Station_6_5_3_3226
https://euvd.enisa.europa.eu/vulnerability/EUVD-2016-1515
https://bamboofox.github.io/2017/03/20/Synology-Bug-Bounty-2016/#Vul-06-Local-File-Inclusion