A Catastrophe For Control: Understanding the ScreenConnect Authentication Bypass
ScreenConnect versions below 23.9.8 compared the request path against a fixed string to decide whether the setup wizard was reachable, and appending a trailing path segment to the setup wizard URL slipped past that check. An unauthenticated attacker could reach the setup wizard on an already-configured instance, create a new administrative user, overwrite the local user database, and then use the extension feature to run code as SYSTEM.
huntress.com
Published on huntress.com
{{media:1}}](https://chat.openai.com/?q=summarize+the+content+on+this+page+only%3A+https%3A%2F%2Fwww.huntress.com%2Fblog%2Fa-catastrophe-for-control-understanding-the-screenconnect-authentication-bypass)[{{media:2}}
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
The setup module decided whether to allow the setup wizard by comparing the raw request path string to a fixed value, so a path with extra trailing segments failed the comparison and was treated as not being the setup wizard.
Impact
An unauthenticated attacker could take over an on-premise ScreenConnect server, delete all other local users, and run code as SYSTEM; cloud instances were already patched automatically.
What the attacker needed
On-premise ScreenConnect below 23.9.8; network access to the server; no account needed
The fix
The vendor fixed it in version 23.9.8 by resolving the actual HTTP handler and checking it against a dedicated setup-handler interface instead of comparing the request path string.
How it was found
- Request the setup wizard path with an extra trailing segment appended to it.
- The setup wizard loads on an instance that is already configured.
- Enter new credentials in the wizard and click Next to create an administrative user.
- Use the new administrator account to upload a malicious extension that runs code as SYSTEM.
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.
ScreenConnect is remote-support software that normally asks you to log in before you can change anything. The login check was done by looking at the web address the browser asked for, and the software treated a slightly longer address as a different page, so the check was skipped. That let anyone open the first-time setup page on a live server and make themselves an administrator.
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.