Network-attached storage (NAS) manufacturer Synology fixed several vulnerabilities in its devices' software, one of which could allow attackers to compromise the data stored on them.

The most serious vulnerability is located in the Synology Photo Station, a feature of DiskStation Manager (DSM), the Linux-based operating system that runs on the company's NAS devices.

Synology Photo Station allows users to create online photo albums and blogs that can be accessed remotely using the NAS device's public IP (Internet Protocol) address.

Researchers from Dutch firm Securify found that Photo Station did not properly sanitize user input, allowing potential attackers to inject system commands that would be executed with the privileges of the Web server.

In addition, Photo Station does not have protection against cross-site request forgery (CSRF), a technique that allows a website to force a visitor's browser to execute malicious actions on a different website.

So even if Photo Station is not configured to be accessible from the Internet, an attacker could trick a user located on the same network as the NAS device to visit a specially crafted Web page that would use CSRF to exploit the command inject vulnerability over the LAN.

By leveraging this flaw attackers could compromise the NAS device, including all data stored on it, the researchers said in an advisory that also includes a proof-of concept exploit.

Synology fixed this vulnerability last week in version 6.3-2945 of Photo Station. However, the release notes only mention "security enhancements" with no additional details.

Those vulnerabilities could be exploited by tricking Photo Station users into opening a specially crafted URL that would execute rogue code in their browsers. Successful attacks could allow attackers to steal the session tokens or login credentials of targeted Photo Station users or to execute arbitrary actions on their behalf.

A similar vulnerability was also patched by Synology last week in the management interface of DiskStation Manager. Users are advised to upgrade to DSM version 5.2-5565 Update 1.

Copyright 2018 IDG Communications. ABN 14 001 592 650. All rights reserved. Reproduction in whole or in part in any form or medium without express written permission of IDG Communications is prohibited.