Rapid7 Vulnerability & Exploit Database

Citrix Access Gateway Command Execution

Back to Search

Citrix Access Gateway Command Execution

Disclosed
12/21/2010
Created
05/30/2018

Description

The Citrix Access Gateway provides support for multiple authentication types. When utilizing the external legacy NTLM authentication module known as ntlm_authenticator the Access Gateway spawns the Samba 'samedit' command line utility to verify a user's identity and password. By embedding shell metacharacters in the web authentication form it is possible to execute arbitrary commands on the Access Gateway.

Author(s)

  • George D. Gal
  • Erwin Paternotte

Platform

Unix

Architectures

cmd

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

;