Remote exploitation of a stack-based buffer overflow vulnerability within AgentX++ allows attackers to execute arbitrary code with the privileges of the AgentX master process.
Vulnerable Systems:
* RealNetworks Helix Server v12 on Linux
* RealNetworks Helix Server v12 on Windows 2003 SP2
* AgentX++ source code v1.4.16
This vulnerability exists within the AgentX::receive_agentx function. By sending multiple blocks of data to the vulnerable function, an attacker could overwrite the data following the stack buffer, including the saved return address
Exploitation allows an attacker to execute arbitrary code with the privileges of the running AgentX master process. In order to exploit this vulnerability, the attacker must be able to connect to the AgentX master port, usually TCP port 705. No authentication is required.
In the case of RealNetworks Helix Server v12, there is an option to install the AgentX master as an NT service. If installed in this way, the AgentX master will run with SYSTEM privileges. The privileges with which this process runs varies in other situations.
Although the issue is present in the Linux version of Helix Server v12, it is not exploitable due to stack buffer padding added by the GNU compiler. Reliable code execution has been confirmed on Windows targets.