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

module

Citrix Access Gateway Command Execution

Disclosed
Dec 21, 2010
Created
May 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.

Authors

George D. Gal
Erwin Paternotte

Platform

Unix

Architectures

cmd

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

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.