Rapid7 Vulnerability & Exploit Database

AgentX++ Master AgentX::receive_agentx Stack Buffer Overflow

Back to Search

AgentX++ Master AgentX::receive_agentx Stack Buffer Overflow



This exploits a stack buffer overflow in the AgentX++ library, as used by various applications. By sending a specially crafted request, an attacker can execute arbitrary code, potentially with SYSTEM privileges. This module was tested successfully against master.exe as included with Real Network\'s Helix Server v12. When installed as a service with Helix Server, the service runs as SYSTEM, has no recovery action, but will start automatically on boot. This module does not work with NX/XD enabled but could be modified easily to do so. The address


  • jduck <jduck@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/windows/misc/agentxpp_receive_agentx
msf exploit(agentxpp_receive_agentx) > show targets
msf exploit(agentxpp_receive_agentx) > set TARGET < target-id >
msf exploit(agentxpp_receive_agentx) > show options
    ...show and set options...
msf exploit(agentxpp_receive_agentx) > 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