Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
connectwise-automate-AiTM-rce — Writeup and code for CVE-2025-11492, CVE-2025-11493 - RCE in ConnctWise Automate RMM via Adversary-in-the-Middle | Kitploit
Tools/GitHubGitHub/synap5e/connectwise-automate-aitm-rce
Privilege EscalationPersistence MechanismsVulnerability AnalysisExploitationLateral MovementPenetration TestingCommand and ControlPapers & ResearchLearning & Education

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
Red Teaming
Remote Access Tool
GitHubsynap5e/connectwise-automate-aitm-rce

connectwise-automate-AiTM-rce

Writeup and code for CVE-2025-11492, CVE-2025-11493 - RCE in ConnctWise Automate RMM via Adversary-in-the-Middle

View Repository
111710 months agoNot yet reviewed

ConnectWise Automate Adversary-in-the-Middle Remote Code Execution

Table of Contents

  • Background
  • Timeline
  • Thoughts and Learnings
  • Responsible Disclosure
  • PoC Code
  • Report Provided to ConnectWise
    • Summary
    • Vulnerable Configuration
    • Impact
    • Technical Details
      • 1. HTTP Transport
      • 2. Insufficient Protocol Security (missing encryption and validation)
        • 2.1 Insufficient Validation on Dependency Checks and Downloads
        • 2.2 Lack of Replay Protection
        • 2.3 Insufficient Validation on Self‑Update
      • 3. RMM Command‑and‑Control Takeover
    • Mitigation

Background

As part of a Pentation Test, I discovered multiple vulnerabilities in the ConnectWise Automate Remote Monitoring and Management (RMM) agent. ConnectWise is used by many Managed Service Providers (MSPs) to manage and monitor client devices. These vulnerabilities enabled remote code execution if an attacker could establish network Adversary-in-the-Middle, or could be used as local privilege escalation and stealthy persistence if an attacker obtained code execution or physical access to a device running the ConnectWise Automate agent.

The vulnerabilities were reported to ConnectWise on 20 August 2025. ConnectWise assigned CVE IDs and released a patch in version 2025.9 on 16 October 2025.

ConnectWise Bulletin:

  • https://www.connectwise.com/company/trust/security-bulletins/connectwise-automate-2025.9-security-fix

CVE IDs:

  • https://nvd.nist.gov/vuln/detail/CVE-2025-11492 - 9.6 CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
  • https://nvd.nist.gov/vuln/detail/CVE-2025-11493 - 8.8 CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Timeline

  • 2025-08-20: Initial report to ConnectWise, including PoC, technical details and suggested mitigations (report below), along with request for CVE IDs.
  • 2025-08-20: ConnectWise acknowledges receipt
  • 2025-08-21: ConnectWise responds they are investigating, and confirm they can assign CVE IDs and support public disclosure (once resolved).
  • 2025-08-29: ConnectWise confirm internal triage and validation of vulnerabilities.
  • 2025-09-03 - 2025-09-19: ConnectWise and I discuss how to best assign/split CVEs and CVSS scoring.
  • 2025-09-26: ConnectWise confirm the primary mitigation will be removal of HTTP fallback, and they are currently testing this. Release is expected for early October.
  • 2025-10-16: ConnectWise release Automate 2025.9 and publish security bulletin and CVEs.

Thoughts and Learnings

I appreciated ConnectWise's swift responses and their collaborative approach to remediation and willingness to engage in discussion on how best to approach classification, and remediation.

Classifying these vulnerabilities was an interesting challenge. While switching to HTTPs resolves practically all of the scenarios in this report, it was evident that this was originally a design choice (to support HTTP) to improve reliability of agent-server communication. The encryption scheme seemed to partially acknowledge/attempt to mitigate the risk of AiTM, but was not applied consistently. Digging into this involved trying to classify whether the weakness was http itself or the lack of encryption on-top of HTTP as well as replay prevention, plugin validation, etc. were all their own vulnerabilities. At one point ConnectWise was considering 5+ separate CVEs for different aspects of the vulnerabilities.

Additionally, the scope and attack vector changed depending on whether the vulnerability was considered from an AiTM e.g. coffee shop Wi-Fi or LPE/physical access perspective. An alternate approach would be to consider each scenario as a separate vulnerability, e.g. AiTM RCE, LPE, Persistence takeover, etc.

A final learning is that even in 2025, we still struggle to share files effectively :D (email security did not like me emailing .dll files or .zips containing them).

Responsible Disclosure

This report is being published following ConnectWise's release of a patch and disclosure of the CVEs, and with their agreement that such disclosure does not harm their users. Furthermore, I believe that public disclosure of these vulnerabilities and their mitigations will help other vendors and security professionals better understand and mitigate risks in both ConnectWise Automate, and other RMM systems.

The content is intended for lawful, authorized security research and educational purposes only. Unauthorized use of this information to compromise systems, networks, or data is illegal and unethical. The content is provided as-is and without warranties of any kind. The author(s) disclaim all liability for any damages resulting from the use or misuse of this information.

If using this code or information for further research, practice responsible disclosure by reporting any discovered vulnerabilities to the affected vendor(s).

PoC Code

As well as the report below, this repository contains PoC code to demonstrate the vulnerabilities. See automate_server/README.md for details on the fake server implementation and usage instructions.

This code could also be used to perform further (ethical) security research on ConnectWise Automate.

 


The following report (or a version close to it), and PoC python code in this repository, was provided to ConnectWise, along with recommended mitigations.

The removed mitigations section goes into more detail on changes that could be made to the Automate agent to harden it in several ways against these vulnerabilities.

As some of these changes are still under consideration by ConnectWise, that section has been removed from this public disclosure.

Report Provided to ConnectWise

Summary

The ConnectWise Automate Remote Monitoring and Management (RMM) agent (tested on latest version as of August 2025, version string 250.252) is vulnerable to network-based Remote Code Execution in certain configurations. If the agent is configured to use an unencrypted HTTP transport (either primarily or as a fallback) for its Server Address and an attacker can perform a adversary-in-the-middle (AiTM) attack, then they can remotely execute code as SYSTEM. This configuration has been observed in the wild from multiple Managed Service Providers (MSPs).

Exploitation is also possible if the attacker gains physical access to the device as a non-admin or can otherwise connect the device to an attacker‑controlled network (i.e. the vulnerability can be used as a Local Privilege Escalation). Although Automate employs an encryption system to encrypt and validate most RMM commands, its plugin system lacks adequate protection and remains susceptible to Remote Code Execution.

By implementing a custom server mimicking Automate's control server, the Automate agent can be coerced into downloading and executing a malicious plugin.

Download Tool