CriticalCVE-2025-3935

    ScreenConnect Exposure to ASP.NET ViewState Code Injection (CVE-2025-3935)

    Published In CISA KEV since Sources: CVE.org, pwn.watch

    What is affected, what to do

    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.

    The vulnerability is being actively exploited; treat it as a priority. Update ConnectWise ScreenConnect to version 25.2.3. Immediate actions, mitigation and detection rules are in the runbook below.

    Affected
    • ConnectWise ScreenConnect lt *..25.2.3
    Fixed in
    • ConnectWise ScreenConnect 25.2.3

    Not sure whether and how you are affected? Ask a question about this vulnerability

    Metrics

    8.1

    Priority

    XIEM Effective CVSS: highest available CVSS rating from NVD and vendor data.

    Source: Vendor (CNA), CVSS v3

    8.1

    CVSS v3

    Severity High on the scale from 0 to 10.

    Source: CVE.org, pwn.watch

    3.5 %

    EPSS score

    Moderate — model estimates 1-10% exploitation likelihood.

    Source: FIRST EPSS, percentile 89.2

    Show all metrics
    Severity
    Critical
    Priority (0–325)

    The priority score is a consolidated metric that condenses several individual signals into a single, action-guiding ranking: technical severity (CVSS), exploitation likelihood (EPSS), known-exploited status (KEV) and the context of the affected asset. The aim is to answer the only truly important question in vulnerability management: what first?

    Read in glossary
    212.99 Methodology
    Exploit maturity

    An exploit is code or a technique that specifically uses a concrete vulnerability to force unintended behaviour — such as executing code or escalating privileges. It is the tool that turns a theoretical flaw into a practical attack.

    Read in glossary
    actively exploitedSource: VulnCheck KEV (opens in a new tab) How we classify
    XIEM Effective CVSS

    XIEM® is the tiered managed-security operating model from NEOSEC and a registered trademark of NEOSEC GmbH. It extends classic SIEM — the central collection, normalisation and correlation of security-relevant events — with endpoint forensics, network visibility and deception technology, and consolidates them into three building tiers: Sentry, Orchestrate and Command.

    Read in glossary
    8.1 Methodology
    CVSS v3

    CVSS is the globally established, open standard for assessing the technical severity of a vulnerability on a scale from 0 to 10. It describes how easily a flaw can be exploited and what damage it can cause — but not how likely its actual exploitation is. CVSS and the complementary EPSS deliberately answer different questions.

    Read in glossary
    8.1
    EPSS score

    The EPSS score is the absolute model output for an individual vulnerability: the estimated probability of real-world exploitation within the next 30 days, expressed as a value between 0 and 1 (i.e. 0 % to 100 %). A score of 0.42 means „the model estimates a 42 % chance of real-world exploitation within 30 days“.

    Read in glossary
    3.5 %
    Moderate — model estimates 1-10% exploitation likelihood.
    EPSS percentile

    The EPSS percentile is the relative position of a vulnerability within all EPSS-scored CVEs, expressed as a value between 0 and 1. A percentile of 0.90 means „this CVE has a higher EPSS score than 90 % of all other scored CVEs“. Unlike the EPSS score, it is not a probability — but a positioning within a ranking.

    Read in glossary
    89.2
    Critical — this CVE ranks in the top fifth of all CVEs scored today (rank ≥ 80%).
    KEV status

    The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.

    Read in glossary
    Actively exploited
    Published
    In CISA KEV since

    The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.

    Read in glossary
    CWE

    CWE is a catalogue of typical weakness types in software and hardware — such as flawed input validation, unsafe memory handling or poor authentication. Where a CVE names a concrete vulnerability in a concrete product, a CWE describes the underlying class of defect.

    Read in glossary
    CWE-502

    Response and mitigation

    Why act now?

    Prioritisation rationale

    This flaw requires high privileges and is unexploitable without stolen machine keys. Attackers therefore use it mainly as a network-reachable, repeatable re-entry and persistence mechanism after an initial breach, but once used it gives full impact on confidentiality, integrity and availability. ScreenConnect is a favoured target for MSP supply-chain attacks because a compromised server provides direct reach into every managed endpoint. Exploitation likelihood is notably elevated, and CISA does not flag known ransomware use. Treat it as high priority if you run internet-facing self-hosted ScreenConnect or depend on an MSP that does: patch and rotate keys within 72 h and start the compromise assessment immediately. If you do not use ScreenConnect, obtaining confirmation from your providers is sufficient.

    1. Runbook step 1

      Immediate response (0-24 h)

      • Inventory: Identify every self-hosted (on-prem) ScreenConnect server, including instances that MSPs run on your behalf. Versions 25.2.3 and earlier are affected. Per the vendor, ScreenConnect 2025.4 disables ViewState entirely and removes the dependency. Confirm the exact fixed build in the ConnectWise advisory, since the product list also references 25.2.3/25.2.4.
      • Upgrade: Move to 2025.4 or later. For cloud-hosted instances, get written confirmation of patch status from ConnectWise or your MSP (useful evidence for NIS2 supply-chain obligations).
      • Rotate machine keys: Regenerate the machineKey values (validationKey, decryptionKey) in the ScreenConnect web.config and restart the service. Do this even after upgrading if prior system-level access cannot be ruled out.
      • Assume prior compromise: Extracting the keys requires privileged system access, so treat the host as potentially compromised. Review local admins, service accounts, scheduled tasks and recently created ScreenConnect users.
      • Reset credentials: Reset passwords for all ScreenConnect admin accounts, enforce MFA, and revoke API/extension tokens.
      • Reduce exposure: Until patched, restrict the web UI (default TCP 8040) to VPN or an IP allowlist.
    2. Runbook step 2

      Mitigation layers

      • Network segmentation: Host the server in a dedicated DMZ. Expose the relay port (default TCP 8041) only to clients. Restrict web admin access (8040) to admin networks or ZTNA. Apply default-deny egress from the server.
      • WAF/IPS: Alert on or block POSTs to .aspx endpoints that carry an oversized __VIEWSTATE parameter (e.g. > 10 KB) or that trigger repeated validation failures. After 2025.4, legitimate traffic should carry no __VIEWSTATE at all.
      • Endpoint hardening: Use EDR/ASR rules to block ScreenConnect.Service.exe on the server from spawning cmd.exe, powershell.exe, rundll32.exe, mshta.exe or certutil.exe. Add WDAC/AppLocker on the host.
      • Configuration protection: Lock the web.config ACL down to SYSTEM and the service account. Enable SACL read auditing and FIM on the file.
      • IAM/least privilege: Allow interactive logons only from PAWs or jump hosts. Use LAPS and minimise local admin rights. Never run the service under a domain admin account.
      • Supply chain: Contractually define patch SLAs and notification duties with MSPs that use ScreenConnect against your estate.
    3. Runbook step 3

      Detection rules

      • Windows Application log, Event ID 1316 (ASP.NET event code 4009 "Viewstate verification failed"): Bursts on the ScreenConnect host indicate forged-ViewState probing. SPL: index=wineventlog EventCode=1316 host=<sc-server> | stats count by src_ip, _time span=10m
      • EDR process ancestry (Sysmon EID 1 / MDE): Look for shells launched directly by the web service on the server. KQL: DeviceProcessEvents | where InitiatingProcessFileName =~ "ScreenConnect.Service.exe" and FileName in~ ("cmd.exe","powershell.exe","rundll32.exe","mshta.exe","certutil.exe"). Scope this to server hosts, because ScreenConnect.ClientService.exe on endpoints is legitimate.
      • Key material access: Event ID 4663 or Sysmon EID 11 on *\ScreenConnect\web.config by any process other than the service itself, such as powershell.exe, findstr.exe or type. This is a strong indicator of key theft.
      • Web/proxy logs: External POSTs containing __VIEWSTATE against ScreenConnect pages, especially post-upgrade. Sigma shape: cs-method: POST AND cs-uri-query|contains: '__VIEWSTATE' AND sc-status: 500.
      • Network telemetry (Zeek/Suricata): New outbound connections from the server to unfamiliar destinations shortly after inbound web POSTs, which suggests beaconing or payload staging. Also watch for new files under App_Extensions or webshell-like .aspx/.ashx drops (Sysmon EID 11).

    Detection rules

    No NEOSEC detection rule is available for this vulnerability yet.

    Classification under NIS2 and CRA

    Rule-based classification from exploitation status and severity. It does not replace a case-by-case assessment.

    NIS2

    NIS2 is EU Directive (EU) 2022/2555 to raise the level of cybersecurity across the Union. It substantially broadens obligations compared with the first NIS directive: more sectors, mandatory risk management, staged reporting duties and personal accountability of senior management.

    Read in glossary
    Actively exploited: treat the vulnerability as a priority in vulnerability handling under Art. 21(2)(e) NIS2. If it is exploited in your environment, check the reporting obligation under Art. 23 (early warning within 24 hours).
    CRA

    The CRA is EU Regulation (EU) 2024/2847 setting horizontal cybersecurity requirements for „products with digital elements“ — from industrial controllers and software to connected consumer devices. For the first time manufacturers must ensure security across the entire product lifecycle, handle vulnerabilities and provide security updates.

    Read in glossary
    Since 11.09.2026, manufacturers of affected products with digital elements must report actively exploited vulnerabilities under Art. 14 CRA, with an early warning within 24 hours via ENISA's single reporting platform.
    ISO/IEC 27001

    ISO/IEC 27001 is the internationally leading standard for an information security management system (ISMS). It describes a risk-based, process-oriented framework to systematically plan, implement, review and improve information security.

    Read in glossary
    Control A.8.8, management of technical vulnerabilities: assess relevance to your systems, plan remediation and keep evidence.

    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.

    Source: NVD (NIST), cvelistv5, CISA KEV Catalog, CVE.org (MITRE), pwn.watch

    Affected products

    The following versions are affected. Older releases of the same product line are also vulnerable unless stated otherwise.

    Affected products
    Affected versionsFixed in
    ConnectWiseScreenConnect
    • < 25.2.3
    • 25.2.3
    connectwisescreenconnect
    • < 25.2.4
    • 25.2.4

    Vendors and products

    Weakness classes (CWE)

    • CWE-502Deserialization of Untrusted Data

      Base

      The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.

      Entry at MITRE CWE-502

    Public exploit references

    Publicly reported proof-of-concepts, exploit modules and detection templates for this vulnerability. NEOSEC links to the original sources only and does not provide any exploit code.

    Public exploit references
    CISA KEV CatalogCISA Known Exploited Vulnerability (opens in a new tab)cisa.govactively exploited

    References & sources

    • connectwise.comConnectWise advisory: ConnectWise ScreenConnectVendor advisory, pwn-watch
    • connectwise.comcompany/trust/advisoriesVendor advisory
    • cisa.govknown-exploited-vulnerabilities-catalog?field_cve=CVE-2025-3935government-resource, US government resource
    • pwn.watchpwn.watch: ConnectWise ScreenConnect: ScreenConnect Improper Authentication Vulnerabilitypwn-watch
    • NVD (NIST)NVD: CVE-2025-3935pwn-watch
    • cisa.govCISA Known Exploited Vulnerabilities Catalogpwn-watch
    Embed badge

    Show the severity and KEV status of this vulnerability on your site – with a link back here. The image is updated hourly.

    Badge preview for CVE-2025-3935
    <a href="https://intel.neosec.eu/en/cve/CVE-2025-3935"><img src="https://intel.neosec.eu/badge/cve/CVE-2025-3935.svg?lang=en" alt="CVE-2025-3935 – NEOSEC Intel" height="20"></a>