Rapid7 Vulnerability & Exploit Database

Citrix NetScaler SOAP Handler Remote Code Execution

Back to Search

Citrix NetScaler SOAP Handler Remote Code Execution



This module exploits a memory corruption vulnerability on the Citrix NetScaler Appliance. The vulnerability exists in the SOAP handler, accessible through the web interface. A malicious SOAP requests can force the handler to connect to a malicious NetScaler config server. This malicious config server can send a specially crafted response in order to trigger a memory corruption and overwrite data in the stack, to finally execute arbitrary code with the privileges of the web server running the SOAP handler. This module has been tested successfully on the NetScaler Virtual Appliance 450010.


  • Bradley Austin
  • juan vazquez <juan.vazquez@metasploit.com>






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