Rapid7’s 2026 Global Cybersecurity Summit is now available on-demand.Watch sessions.
Rapid7

module

Seagate Business NAS Unauthenticated Remote Command Execution

Disclosed
Mar 1, 2015
Created
May 30, 2018

Description

Some Seagate Business NAS devices are vulnerable to command execution via a local
file include vulnerability hidden in the language parameter of the CodeIgniter
session cookie. The vulnerability manifests in the way the language files are
included in the code on the login page, and hence is open to attack from users
without the need for authentication. The cookie can be easily decrypted using a
known static encryption key and re-encrypted once the PHP object string has been
modified.

This module has been tested on the STBN300 device.

Author

Platform

PHP

Architectures

php

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':


msf > use exploit/linux/http/seagate_nas_php_exec_noauth
msf exploit(seagate_nas_php_exec_noauth) > show targets
...targets...
msf exploit(seagate_nas_php_exec_noauth) > set TARGET < target-id >
msf exploit(seagate_nas_php_exec_noauth) > show options
...show and set options...
msf exploit(seagate_nas_php_exec_noauth) > exploit

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.