Rapid7 Vulnerability & Exploit Database

HP VAN SDN Controller Root Command Injection

Back to Search

HP VAN SDN Controller Root Command Injection

Disclosed
06/25/2018
Created
07/25/2018

Description

This module exploits a hardcoded service token or default credentials in HPE VAN SDN Controller <= 2.7.18.0503 to execute a payload as root. A root command injection was discovered in the uninstall action's name parameter, obviating the need to use sudo for privilege escalation. If the service token option TOKEN is blank, USERNAME and PASSWORD will be used for authentication. An additional login request will be sent.

Author(s)

  • Matt Bergin
  • wvu <wvu@metasploit.com>

Platform

Linux,Unix

Architectures

cmd, x86, x64

Development

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

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;