Vulnerability & Exploit Database

Back to search

QNAP Q'Center change_passwd Command Execution

This module exploits a command injection vulnerability in the `change_passwd` API method within the web interface of QNAP Q'Center virtual appliance versions prior to 1.7.1083. The vulnerability allows the 'admin' privileged user account to execute arbitrary commands as the 'admin' operating system user. Valid credentials for the 'admin' user account are required, however, this module also exploits a separate password disclosure issue which allows any authenticated user to view the password set for the 'admin' user during first install. This module has been tested successfully on QNAP Q'Center appliance version 1.6.1075.

Free Metasploit Download

Get your copy of the world's leading penetration testing tool

 Download Now

Module Name



  • Ivan Huertas
  • bcoles <bcoles [at]>



  • Auto


  • linux


  • x86
  • x64



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/qnap_qcenter_change_passwd_exec msf exploit(qnap_qcenter_change_passwd_exec) > show targets ...targets... msf exploit(qnap_qcenter_change_passwd_exec) > set TARGET <target-id> msf exploit(qnap_qcenter_change_passwd_exec) > show options and set options... msf exploit(qnap_qcenter_change_passwd_exec) > exploit