Major Security Flaw in ConnectWise ScreenConnect — CVE-2024–1709
ConnectWise ScreenConnect versions 23.9.7 and prior contain an authentication bypass where appending a specific string to the /SetupWizard.aspx path grants access to the setup wizard of an already configured system. An attacker can then add a new administrative user, potentially leading to remote code execution.
CVE-2024–1709, has recently garnered significant attention within the security community.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the setup wizard remains accessible after initial configuration and does not properly enforce that setup has already been completed, allowing unauthenticated access via a crafted path.
Impact
The vulnerability could allow attackers to add administrative users, potentially leading to remote code execution and serving as an entry point for ransomware deployment; however, the text notes that sometimes the malicious payload cannot be loaded.
What the attacker needed
Target runs ScreenConnect 23.9.7 or prior; Network access to the target
The fix
The vulnerability was fixed in ConnectWise ScreenConnect version 23.9.8 and later.
How it was found
- Send a GET request to the SetupWizard page with a trailing slash.
- Extract the VIEWSTATE and VIEWSTATEGENERATOR values from the response.
- Send a POST request with those values and the StartNextButton parameter to advance the wizard.
- Extract the new VIEWSTATE and VIEWSTATEGENERATOR from the response.
- Send a final POST request with the new values, a username, email, password, and the StepNextButton parameter to create the administrative user.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
This is a flaw in remote access software that lets someone skip the login step. By adding a special ending to a web address, they can reach a setup page that should be locked after installation. From there they can create their own admin account and take control.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.