← back
CVE-2025-3935

ScreenConnect Exposure to ASP.NET ViewState Code Injection

CVSS 8.1 HIGHEPSS 3.3%● KEVCWE-502
In short

ScreenConnect versions up to 25.2.3 can be attacked through ASP.NET ViewState if server encryption keys are stolen, allowing attackers to inject malicious code and run commands on the server. This requires prior admin-level access to extract the keys.

Technical detail

ViewState code injection vulnerability in ASP.NET Web Forms (CWE-502) affecting ScreenConnect ≤25.2.3. Attack vector requires prior compromise of machine-level encryption keys; attacker can then craft malicious Base64-encoded ViewState payloads to achieve remote code execution. Mitigation involves disabling ViewState (addressed in version 2025.4).

Summary generated and translated by AI from the official description.
ScreenConnect versions 25.2.3 and earlier versions may be susceptible to a ViewState code injection attack. ASP.NET Web Forms use ViewState to preserve page and control state, with data encoded using Base64 protected by machine keys.  It is important to note that to obtain these machine keys, privileged system level access must be obtained. If these machine keys are compromised, attackers could create and send a malicious ViewState to the website, potentially leading to remote code execution on the server.  The risk does not originate from a vulnerability introduced by ScreenConnect, but from platform level behavior.  This had no direct impact to ScreenConnect Client. ScreenConnect 2025.4 patch disables ViewState and removes any dependency on it.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Want to know if your infrastructure is exposed to this?

Talk to TrueHacking →