Your business’ toughest competition might be criminal. See why.
Utility navigation bar redirect icon
Portal LoginSupportContact
Search
Close search
Huntress Logo in Teal
  • Platform Overview
    Managed EDR

    Get full endpoint visibility, detection, and response.

    Managed EDR

    Get full endpoint visibility, detection, and response.

    Managed ITDR

    Protect your Microsoft 365 identities and email environments.

    Managed ITDR

    Protect your Microsoft 365 identities and email environments.

    Managed SIEM

    Managed threat response and robust compliance support at a predictable price.

    Managed SIEM

    Managed threat response and robust compliance support at a predictable price.

    Managed Security Awareness Training

    Empower your teams with science-backed security awareness training.

    Managed Security Awareness Training

    Empower your teams with science-backed security awareness training.

    Huntress Managed ISPM

    Continuous Microsoft 365 and identity hardening, managed and enforced by Huntress experts.

    Huntress Managed ISPM

    Continuous Microsoft 365 and identity hardening, managed and enforced by Huntress experts.

    Huntress Managed ESPM

    Proactively secure endpoints against attacks.

    Huntress Managed ESPM

    Proactively secure endpoints against attacks.

    Integrations
    Integrations
    Support Documentation
    Support Documentation
    See Huntress in Action

    Quickly deploy and manage real-time protection for endpoints, email, and employees - all from a single dashboard.

    Huntress Cybersecurity
    See Huntress in Action

    Quickly deploy and manage real-time protection for endpoints, email, and employees - all from a single dashboard.

    Huntress Cybersecurity
  • Threats We Stop
    Phishing
    Phishing
    Business Email Compromise
    Business Email Compromise
    Ransomware
    Ransomware
    View Allright arrowView Allright arrow
    Industries We Serve
    Education
    Education
    Financial Services
    Financial Services
    State and Local Government
    State and Local Government
    Healthcare
    Healthcare
    Law Firms
    Law Firms
    Manufacturing
    Manufacturing
    Utilities
    Utilities
    View Allright arrowView Allright arrow
    Tailored Solutions
    MSPs
    MSPs
    Resellers
    Resellers
    SMBs
    SMBs
    Compliance
    Compliance
    Cybercriminals Have Evolved

    Get the intel on today’s cybercriminal groups and learn how to protect yourself.

    Huntress Cybersecurity
    Cybercriminals Have Evolved

    Get the intel on today’s cybercriminal groups and learn how to protect yourself.

    Huntress Cybersecurity
  • Pricing
  • Community Series
    The Product Lab

    Shape the next big thing in cybersecurity together.

    The Product Lab

    Shape the next big thing in cybersecurity together.

    Fireside Chat

    Real people. Real perspectives. Better conversations.

    Fireside Chat

    Real people. Real perspectives. Better conversations.

    Tradecraft Tuesday

    No products, no pitches – just tradecraft.

    Tradecraft Tuesday

    No products, no pitches – just tradecraft.

    _declassified

    Exposing hidden truths in the world of cybersecurity.

    _declassified

    Exposing hidden truths in the world of cybersecurity.

    Resources
    Upcoming Events
    Upcoming Events
    ebooks
    ebooks
    On-Demand Webinars
    On-Demand Webinars
    Videos
    Videos
    Whitepapers
    Whitepapers
    Datasheets
    Datasheets
    Cybersecurity Education
    Cybersecurity 101
    Cybersecurity 101
    Cybersecurity Guides
    Cybersecurity Guides
    Threat Library
    Threat Library
    Real Tradecraft, Real Results
    Real Tradecraft, Real Results
    2026 Cyber Threat Report
    2026 Cyber Threat Report
    The Huntress Blog
    Huntress Lands on the Microsoft Marketplace
    Huntress Cybersecurity
    Huntress Lands on the Microsoft Marketplace
    Huntress Cybersecurity
    How Huntress & DEFCERT Are Streamlining CMMC Assessment Prep
    Huntress Cybersecurity
    How Huntress & DEFCERT Are Streamlining CMMC Assessment Prep
    Huntress Cybersecurity
    Live Hacking Into Microsoft 365 with Kyle Hanslovan
    Huntress Cybersecurity
    Live Hacking Into Microsoft 365 with Kyle Hanslovan
    Huntress Cybersecurity
  • Why Huntress

    Go beyond AI in the fight against today’s hackers with Huntress Managed EDR purpose-built for your needs

    Huntress Cybersecurity
    Why Huntress

    Go beyond AI in the fight against today’s hackers with Huntress Managed EDR purpose-built for your needs

    Huntress Cybersecurity
    The Huntress SOC

    24/7 Security Operations Center

    The Huntress SOC

    24/7 Security Operations Center

    Reviews

    Why businesses of all sizes trust Huntress to defend their assets

    Reviews

    Why businesses of all sizes trust Huntress to defend their assets

    Case Studies

    Learn directly from our partners how Huntress has helped them

    Case Studies

    Learn directly from our partners how Huntress has helped them

    Community

    Get in touch with the Huntress Community team

    Community

    Get in touch with the Huntress Community team

    Compare Huntress
    Bitdefender
    Bitdefender
    Blackpoint
    Blackpoint
    Breach Secure Now!
    Breach Secure Now!
    Crowdstrike
    Crowdstrike
    Datto
    Datto
    SentinelOne
    SentinelOne
    Sophos
    Sophos
    Compare Allright arrowCompare Allright arrow
  • HUNTRESS HUB

    Login to access top-notch marketing resources, tools, and training.

    Huntress Cybersecurity
    HUNTRESS HUB

    Login to access top-notch marketing resources, tools, and training.

    Huntress Cybersecurity
    Partners
    MSPs

    Join our partner community to deliver expert-led managed security.

    MSPs

    Join our partner community to deliver expert-led managed security.

    Resellers

    Partner program designed to grow your cybersecurity business.

    Resellers

    Partner program designed to grow your cybersecurity business.

    Tech Alliances

    Driving innovation through global technology Partnerships

    Tech Alliances

    Driving innovation through global technology Partnerships

    Microsoft Partnership

    A Level-Up for Your Business Security

    Microsoft Partnership

    A Level-Up for Your Business Security

  • Press Release
    Huntress Announces Collaboration with Microsoft to Strengthen Cybersecurity for Businesses of All Sizes
    Huntress Cybersecurity
    Press Release
    Huntress Announces Collaboration with Microsoft to Strengthen Cybersecurity for Businesses of All Sizes
    Huntress Cybersecurity
    Our Story

    We're on a mission to shatter the barriers to enterprise-level security.

    Our Story

    We're on a mission to shatter the barriers to enterprise-level security.

    Newsroom

    Explore press releases, news articles, media interviews and more.

    Newsroom

    Explore press releases, news articles, media interviews and more.

    Meet the Team

    Founded by former NSA Cyber Operators. Backed by security researchers.

    Meet the Team

    Founded by former NSA Cyber Operators. Backed by security researchers.

    Careers

    Ready to shake up the cybersecurity world? Join the hunt.

    Careers

    Ready to shake up the cybersecurity world? Join the hunt.

    Awards
    Awards
    Contact Us
    Contact Us
  • Portal Login
  • Support
  • Contact
  • Search
  • Get a Demo
  • Start for Free
Portal LoginSupportContact
Search
Close search
Get a Demo
Start for Free
HomeBlog
Critical Vulnerability Disclosure: ConnectWise/R1Soft Server Backup Manager Remote Code Execution & Supply Chain Risks
Published:
October 31, 2022

Critical Vulnerability Disclosure: ConnectWise/R1Soft Server Backup Manager Remote Code Execution & Supply Chain Risks

By:
John Hammond
Caleb Stewart
Share icon
Glitch effectGlitch effectGlitch effect

UPDATE 2/27/23: As recently spotted by Fox-IT and subsequently reported in SecurityWeek, a critical vulnerability discovered last year in ConnectWise’s R1Soft Server Backup Manager software has now been seen exploited in the wild to deploy backdoors on hundreds of servers via CVE-2022-36537. The article below was originally published in late October by Senior Security Researchers John Hammond and Caleb Stewart detailing the ways in which this vulnerability could be exploited, and it has been confirmed this method is now being utilized by threat actors. 

Community education and outreach are critical to driving awareness of these situations and avoiding damage by offering expert, data-driven insights for remediation. It's both a privilege and a responsibility to partner with the broader security ecosystem to stop hackers in their tracks and mitigate risks to organizations across the globe. Huntress will continue to share far and wide the findings of our in-house experts on both the ThreatOps and Research & Development teams so the community can benefit.

 

Huntress has validated an initial report for an authentication bypass and sensitive file leak present in the Java framework “ZK”, used within the ConnectWise R1Soft software Server Backup Manager SE. This post details the severity of this supply chain finding, emphasizes the immediate need to patch and highlights the importance of close vendor collaboration within the SMB/MSP communities.

The video below demonstrates the Huntress POC exploit being used to these aforementioned steps: 1) bypass authentication, 2) upload a backdoored JDBC database driver to gain code execution, and 3) use the REST API to trigger commands to registered agents to ultimately push the recently leaked Lockbit 3.0 ransomware to all downstream endpoints.


Initial Discovery

Markus Wulftange of Code White GmbH originally discovered a vulnerability in the ZK library, and following responsible disclosure, helped encourage the patched release of ZK version 9.7.2 in May 2022. This authentication bypass vulnerability was dubbed CVE-2022-36537.

A colleague of Markus, Florian Hauser (@frycos), saw that the ZK library was bundled with ConnectWise R1Soft Server Backup Manager software and tried to notify ConnectWise in July 2022. Without a response after the 90 days of disclosure standard, @frycos teased screenshots of how to replicate the issue on Twitter. Days later, the post was removed; ConnectWise kindly asks researchers to use the disclosure form located on their Trust Center homepage.

slack thread

Huntress Research

From this tweet, Huntress has reproduced this issue and furthered the proof of concept exploit, leveraging the initial vulnerability to leak server private key files, software licenses, system configuration files and ultimately gain Remote Code Execution (RCE) as the system superuser and manipulate R1Soft to push further arbitrary code execution downstream to all registered endpoints. 

We have worked closely with ConnectWise to advise them of these issues and they have released a patch for Server Backup Manager SE software. Huntress has validated their patch and confirms it is effective against stopping our own proof-of-concept (POC) exploit.

Potential Impact

Our team was able to demonstrate the impact and severity of this issue by running our POC exploit to: 

  1. Bypass authentication
  2. Upload a backdoored JDBC database driver to gain code execution 
  3. Use the REST API to trigger commands to registered agents to ultimately push the recently leaked Lockbit 3.0 ransomware to all downstream endpoints

Our research identified upwards of 5,000 exposed server manager backup instances via Shodan—all of which had the potential to be exploited by threat actors, along with their registered hosts. Considering that Server Backup Manager SE is predominately used by Hosting and Managed Service Providers who specialize in outsourced IT services for many businesses, this vulnerability has the potential to impact significantly more than 5,000 SMBs.

Shodan Server Backup Manager SE

At the time of this writing, there has been no evidence of exploitation in the wild discovered by Huntress or ConnectWise.

We’ve been working closely with the ConnectWise team throughout this process–their teams have been responsive and collaborative and deserve credit for taking the appropriate steps as we’ve engaged with them.

This vulnerability serves as another reminder of the importance of vendors and community members working together to respond to security issues—and to act quickly before bad actors take advantage of known exploits. 

Our Findings

Huntress security researchers John Hammond and Caleb Stewart conducted the work to recreate the proof-of-concept and explore its impact. We were able to retrieve a free trial of the R1Soft Server Backup Manager and test locally within our own lab environment.

The screenshots that @frycos shared online displayed different HTTP requests and responses present in Burpsuite, which was not as telling as a full writeup and detailed explanation. We had to do a bit of experimentation and trial-and-error to fully achieve the authentication bypass, and within a few hours we had successfully recreated the POC.

slack thread

With this authentication bypass, it was clear from the upstream ZK vulnerability disclosure that we could reach sensitive internal server files like /WEB-INF/web.xml and zk.xml. While this was one accomplishment, it wasn’t a weaponized exploit, and we were curious if more damage could be done. 

From the initial vulnerability, we could seemingly leverage the internal forward to perform multiple HTTP POST requests, but only POST requests. This limited the access we had as an authenticated user—but we could still chain together some creative tricks.

It should be noted that ZK is a peculiar framework, so “traditional” HTTP requests that one might think to perform with a classic Cross-Site Scripting attack wouldn’t work. ZK handles all processing server-side, retrieving events each time you click on an individual button or widget, and every time you edit an input field. Every single element on every single page is attached a unique identifier, and all actions related to it are sent to the server sequentially.

That meant a stronger exploit would need a bit of hand-holding, simulating each action with another request and sort of “swinging” from one widget or page identifier to another. 

After a night of tinkering, we had a functioning primitive to freely explore the R1Soft application, taking advantage of the authentication bypass vulnerability. We then looked to see what we might latch onto to push the envelope and develop this proof-of-concept further.

At this point, we deviated from the ZK vulnerability itself and were leveraging features and functionality of the R1Soft application itself. ZK opened the door with the authentication bypass—but now, as an admin user, we had the same power and privileges as any system administrator orchestrating their backup solution with R1Soft specifically.

We went down rabbit hole after rabbit hole, decompiling Java classes and digging through code, trying different routes or attack chain avenues. Ultimately, we were most successful via the simple feature of adding your own database driver.

Server Backup Manager SE DB Drivers

Server Backup Manager SE offers the administrator the ability to provide their own Java Database Connectivity (JDBC) database driver. The provided JAR file is uploaded to the server’s temporary directory, and then added to the class path to be invoked. With some tricks, this could be leveraged to gain code execution!

We did our due diligence and research, and quickly found an online primitive for a backdoored JDBC driver (huge thanks for your work, Airman604!). Chaining this together with our HTTP traversal code, we could automate uploading a database driver and trigger arbitrary code. The Server Backup Manager SE service runs as root, and with that, we had fully compromised the backup server.

Server Backup Manager SE

Additionally, as the administrator user, we could view system info including operating system/kernel version, hardware specifications and even download “Logs for Tech Support” which included server configuration files, logs, the product subscription key, credential keystores and server private keys. 

Server Backup Manager SE download data

code editor

Throughout this effort, we explored the ZK REST API and grew familiar with other aspects of the software suite that could be manipulated (including a sweet Konami cheat code easter egg 😉). Once again chaining these features together, we developed a proof-of-concept to run commands and arbitrary code on not only the backup server itself, but also all of the registered hosts and devices managed by the Server Backup Manager. 


Stronger Together

Immediately following our development of the remote code execution POC, we reached out to ConnectWise to express that this vulnerability has more significant ramifications than initially believed (special thanks to a community champion and our great friend Jason Slagle of CNWR who helped coordinate communication and connect us with the right people at ConnectWise). 

We met with the ConnectWise team on October 20 and demonstrated our proof-of-concept, explaining how things fit together. We asked about the potential for a patch and how we might be able to collaborate to help improve the security landscape through this together.

ConnectWise guaranteed that a patch was in the works, as they have been communicating with ZK personally for a tailored security update for Java 7. The official ConnectWise security advisory explains that ConnectWise Recover SBMs have been automatically updated to the latest version of Recover version (v2.9.9). R1Soft specific instances must manually upgrade the server backup manager to SBM v6.16.4 with reference to the R1Soft upgrade wiki and official release notes. Huntress has confirmed the SBM v6.16.4 patch security release successfully remediates our own proof-of-concept exploit in our local testing environment.

Huntress reached out to and worked with internal partners that were willing to assist in the testing and validation of our proof-of-concept. This effort was treated with sincere caution and care and we are very grateful for each partner's gracious permission, transparency, and generosity.

Indicators of Compromise

Again, at the time of this writing, there has been no evidence of exploitation in the wild discovered by Huntress or ConnectWise. While developing a proof of concept, Huntress did not identify any indicators for the initial bypass of authentication. However, the following indicators were observed relating to the malicious JDBC driver and downstream agent execution:

  • The server log file (/usr/sbin/r1soft/log/server.log) indicates that a new database driver was uploaded as well as commands being sent to the individual agents. Note: the commands that are executed are not logged. Additionally, while running our exploit we also observed a Java exception and traceback in the logs. The following log excerpt includes the exception message, but excludes the traceback.
  • The agent logs (C:\Program Files\Server Backup Agent\log\cdp.log) indicate that commands were received from the server. Note that unfortunately this may not be an explicit indicator of compromise as this could be normal behavior.
  • To note, the Server Backup Manager SE server does not have HTTP request logging by default... but if the maintainer has a proxy in front of the server that is logging requests and captures requested URLs, you might see activity repeatedly posting to /zkau/upload and/or a nextURI query parameter (which should never be used). This triggers the initial ZK vulnerability.

It is important to note that the upstream ZK vulnerability not only affects R1Soft, but also anyapplication utilizing an unpatched version of the ZK framework. The access an attacker can gain by using this authentication bypass vulnerability is specific to the application being exploited, however there is serious potential for other applications to be affected in a similar way to R1Soft Server Backup Manager. Huntress is working closely with our DIVD partners to continue the larger hunt and help secure other ZK applications that are at risk.

Complete Timeline

  • May 2022 - Markus Wulftange of Code White GmbH discloses ZK auth bypass
  • July 2022 - Florian Hauser of Code White GmbH attempts to report to ConnectWise
  • 14 October 2022 - Florian Hauser teases initial authentication bypass screenshots on Twitter
  • 16 October 2022 - Huntress security researchers recreate the authentication bypass proof-of-concept
  • 17 October 2022 - Huntress security researchers expand the exploit to gain remote code execution
  • 18 October 2022 - Jason Slagle introduces Huntress security researchers to ConnectWise via email
  • 20 October 2022 - Huntress security researchers meet with ConnectWise to demonstrate RCE
  • 28 October 2022 - ConnectWise releases security advisory and patch
  • 31 October 2022 - Huntress writeup is released

Resources and References

  • Initial ZK Security Advisory for CVE-2022-36537
  • ConnectWise Security Advisory & Patch
  • R1Soft Server Backup 6.16.4 Release Notes
  • Media discussion (CRN, TechRadar, BleepingComputer)
Categories
Threat Analysis
Summarize this postClose Speech Bubble
ChatGPTClaudePerplexityGoogle AI

See Huntress in action

Our platform combines a suite of powerful managed detection and response tools for endpoints and Microsoft 365 identities, science-backed security awareness training, and the expertise of our 24/7 Security Operations Center (SOC).

Book a Demo
Share
Facebook iconTwitter X iconLinkedin iconDownload icon
Glitch effect

You Might Also Like

  • Critical RCE Vulnerability: log4j - CVE-2021-44228

    Our team is currently investigating CVE-2021-44228, a critical vulnerability that’s affecting a Java logging package.
  • Critical RCE Vulnerability Affecting a Java Loggin Package

    Read about how our team investigated CVE-2021-44228, a critical vulnerability that was affecting a Java logging package.
  • Detection Guidance for ConnectWise CVE-2024-1709

    Stay secure with Huntress! Learn about critical vulnerabilities tied to ConnectWise, including CWE-288 authentication bypass. Patch now to version 23.9.8 for protection.
  • SlashAndGrab: The ConnectWise ScreenConnect Vulnerability Explained

    Huntress gives you a non-technical breakdown of the SlashAndGab ConnectWise ScreenConnect Vulnerability; dig into the insights on how we discovered it and supported the community along the way.
  • Exploitation of Windows Server Update Services Remote Code Execution Vulnerability (CVE-2025-59287)

    Huntress has observed threat actors exploiting a Microsoft Windows Server Update Services (WSUS) vulnerability (CVE-2025-59287).
  • Veeam Backup & Replication CVE-2023-27532 Response

    We cover CVE-2023-27532, a vulnerability in the Veeam Backup & Replication component that allowed an unauthenticated user to retrieve host credentials.
  • Rapid Response: Samsung MagicINFO 9 Server Flaw

    Huntress has verified Samsung’s MagicINFO 9 Server (version 21.1050.0) is vulnerable to a publicly available proof-of-concept (PoC). Understand why MagicINFO 9 Server shouldn’t be internet-facing until a patch is applied.
  • Vulnerability Reproduced: Immediately Patch ScreenConnect 23.9.8

    Huntress has validated the vulnerabilities referred to in the latest February 19 ConnectWise ScreenConnect advisory. For on-premise users, it is our strongest recommendation to patch and update to ScreenConnect version 23.9.8 immediately.

Sign Up for Huntress Updates

Get insider access to Huntress tradecraft, killer events, and the freshest blog updates.
Privacy • Terms
By submitting this form, you accept our Terms of Service & Privacy Policy
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Huntress Managed Security PlatformManaged EDRManaged EDR for macOSManaged EDR for LinuxManaged ITDRManaged SIEMManaged Security Awareness TrainingManaged ISPMManaged ESPMBook a Demo
PhishingComplianceBusiness Email CompromiseEducationFinanceHealthcareManufacturingState & Local Government
Managed Service ProvidersResellersIT & Security Teams24/7 SOCCase Studies
BlogResource CenterCybersecurity 101Upcoming EventsSupport Documentation
Our CompanyLeadershipNews & PressCareersContact Us
Huntress white logo

Protecting 215k+ customers like you with enterprise-grade protection.

Privacy PolicyCookie PolicyTerms of UseCookie Consent
Linkedin iconTwitter X iconYouTube iconInstagram icon
© 2025 Huntress All Rights Reserved.

Join the Hunt

Get insider access to Huntress tradecraft, killer events, and the freshest blog updates.

By submitting this form, you accept our Terms of Service & Privacy Policy