module

Agent Tesla Panel Remote Code Execution

Disclosed
2019-08-14
Created
2020-06-19

Description

This module exploits a command injection vulnerability within the Agent Tesla control panel,
in combination with an SQL injection vulnerability and a PHP object injection vulnerability, to gain
remote code execution on affected hosts.

Panel versions released prior to Sepetember 12, 2018 can be exploited by unauthenticated attackers to
gain remote code execution as user running the web server. Agent Tesla panels released on or after
this date can still be exploited however, provided that attackers have valid credentials for the
Agent Tesla control panel.

Note that this module presently only fully supports Windows hosts running Agent Tesla on the WAMP stack.
Support for Linux may be added in a future update, but could not be confirmed during testing.

Authors

Ege Balcı ege.balci@invictuseurope.com
mekhalleh (RAMELLA Sébastien)
gwillcox-r7

Platform

PHP

Architectures

php

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/multi/http/agent_tesla_panel_rce
msf exploit(agent_tesla_panel_rce) > show targets
...targets...
msf exploit(agent_tesla_panel_rce) > set TARGET < target-id >
msf exploit(agent_tesla_panel_rce) > show options
...show and set options...
msf exploit(agent_tesla_panel_rce) > exploit

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.