Summary
CVE-2017-18362 is a critical, unauthenticated SQL injection vulnerability in the ConnectWise ManagedITSync integration for Kaseya Virtual System Administrator (VSA), rated CVSS 9.8. The flaw allows anyone with network access to the exposed ManagedIT.asmx web service to run arbitrary SQL queries — both read and write — against the underlying Kaseya VSA database without any authentication. It has been actively exploited in the wild since at least February 2019, including to push ransomware to all endpoints managed by a compromised VSA server, and is listed in CISA’s Known Exploited Vulnerabilities (KEV) catalog.
Technical details
- Root cause: the ManagedITSync integration, which synchronizes data between ConnectWise Manage (PSA) and Kaseya VSA, exposes a SOAP endpoint (
KaseyaCwWebService/ManagedIT.asmx) that fails to properly neutralize input before building SQL statements (CWE-89). - Trigger condition: the vulnerability is reachable whenever the
ManagedIT.asmxpage is accessible on the Kaseya VSA web interface, with no authentication required to reach or exploit it. - Attack vector: network — an attacker sends crafted SOAP/HTTP requests directly to the exposed endpoint.
- Impact: full direct read/write access to the Kaseya VSA database, enabling data theft, account/password manipulation, and — as observed in real-world attacks — deployment of ransomware (e.g., GandCrab) to every endpoint managed by the affected VSA server.
Affected software
- ConnectWise ManagedITSync integration for Kaseya VSA, versions through 2017 (the integration was subsequently removed from the ConnectWise marketplace).
Severity
CVSS v3.1 Base Score: 9.8 (Critical)
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Mitigation and recommended actions
- Immediate: no vendor patch is available — CISA KEV lists this product as end-of-life. Organizations still running the ManagedITSync integration should disconnect and remove it immediately.
- If removal is not immediately possible: restrict network access to the
ManagedIT.asmxendpoint and the Kaseya VSA web interface using IP/domain allow-listing, and monitor for anomalous SQL activity or unauthorized password resets on affected servers. - Longer term: migrate off the discontinued ManagedITSync integration entirely and audit any Kaseya VSA instance for signs of prior compromise (unexpected admin/support accounts, unauthorized scripts pushed to managed endpoints).

