CVE-2017-18362 SQL Injection in ManagedITSync Used to Deploy GandCrab

Summary
Huntress reported that an unknown attacker exploited SQL injection in the ConnectWise ManagedITSync integration to deploy GandCrab via Kaseya VSA. The article explains how to check exposure and recommends disconnecting, auditing, and updating affected servers.
Key points
- The vulnerability allows remote attackers to execute arbitrary SQL commands against the Kaseya VSA database, potentially creating administrative users, changing passwords, or deploying tasks.
- Huntress reported that an unknown attacker used the vulnerable integration to direct managed endpoints to download and execute GandCrab ransomware.
- The affected setup is an on-premises Kaseya VSA server with the ConnectWise ManagedITSync integration installed; the article says cloud-hosted VSA and systems without the integration are not vulnerable.
- Exposure can be checked for the ConnectWise MSP Kaseya Web Service program, the ManagedIT.asmx file, or the vulnerable page at hxxps://mykaseyaserver[.]com/kaseyacwwebservice/managedit.asmx, substituting the VSA server's domain.
- Kaseya had released a vulnerability-checking tool; the article also points to a proof of concept developed by the researcher who discovered the flaw.
- For potentially vulnerable systems, Huntress advised disconnecting the VSA server from the internet, auditing it and other critical infrastructure for suspicious access, and replacing the integration with its newest version before reconnecting.
Article Details
- Vulnerability Types
- Arbitrary SQL injection
- Exploitation Status
- reported
- Exploit Availability
- public_poc
- Patch Status
- available
- Workarounds
- Disconnect the VSA server from the internet while investigating.
- Remove the ManagedITSync integration and replace it with the newest version before reconnecting the VSA server to the internet.
MITRE ATT&CK
CVE
People
Malware
Vendors
ConnectWiseA vulnerability was discovered and disclosed in late 2017 that affected the ConnectWise ManagedITSync integration, designed to sync data between the ConnectWise Manage PSA and the Kaseya VSA RMM.KaseyaA vulnerability was discovered and disclosed in late 2017 that affected the ConnectWise ManagedITSync integration, designed to sync data between the ConnectWise Manage PSA and the Kaseya VSA RMM.
Products
ConnectWise Manage PSAA vulnerability was discovered and disclosed in late 2017 that affected the ConnectWise ManagedITSync integration, designed to sync data between the ConnectWise Manage PSA and the Kaseya VSA RMM.Kaseya VSAA vulnerability was discovered and disclosed in late 2017 that affected the ConnectWise ManagedITSync integration, designed to sync data between the ConnectWise Manage PSA and the Kaseya VSA RMM.ManagedITSyncHomeBlogCVE-2017-18362: Arbitrary SQL Execution in ManagedITSync Integration
