# Chinese APT Uses Critical Roundcube Flaws to Breach U.S. University Networks, Targeting Defense-Research Departments


## The Threat


A suspected China-aligned threat cluster tracked by Proofpoint as UNK_MassTraction has launched a coordinated campaign exploiting critical vulnerabilities in Roundcube webmail servers to breach physics and engineering departments at U.S. and Canadian universities. The operation, first detected in May 2026, employs a sophisticated attack chain that chains together two critical Roundcube flaws to move from initial webmail compromise to full network persistence—suggesting that the attackers conducted detailed reconnaissance of their targets before launching phishing campaigns.


The attack begins with a phishing email crafted to look legitimate, often sent from spoofed university domains. When a targeted administrator or professor opens the email in their Roundcube client, a cross-site scripting (XSS) payload exploits CVE-2024-42009 to execute arbitrary JavaScript in the browser context. This first-stage payload, dubbed IceCube, extracts session cookies, stored credentials, two-factor authentication tokens, and browser metadata—all without raising user-facing alerts. That harvested authentication data is then weaponized against a second, post-authenticated remote code execution flaw (CVE-2025-49113), allowing the attackers to drop persistent web shells (SquareShell) or known post-exploitation tools (VShell) directly onto the compromised mail server.


What makes this campaign particularly concerning is its targeting strategy: the threat actors appear to have specifically identified universities with physics and engineering departments involved in nationally sensitive research—astrophysics, particle physics, and domains with explicit national security relevance. The combination of reconnaissance, multi-stage exploitation, and immediate deployment of command-and-control infrastructure suggests this is not opportunistic spam malware, but a deliberate espionage operation designed to establish long-term access to university research networks.


## Severity and Impact


| Aspect | Details |

|---|---|

| CVE-2024-42009 | XSS vulnerability in Roundcube email client; CVSS 9.3 (Critical) |

| CVSS Vector (9.3) | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |

| Attack Complexity | Low—requires only that the victim open an email in Roundcube |

| Authentication Required | No—initial XSS requires no prior authentication |

| CVE-2025-49113 | Post-authenticated RCE in Roundcube; CVSS 9.9 (Critical) |

| CVSS Vector (9.9) | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |

| Attack Complexity | Low—exploitable immediately after session hijacking via CVE-2024-42009 |

| Authentication Required | Yes—requires valid session obtained from CVE-2024-42009 |

| CWE References | CWE-79 (Improper Neutralization of Input During Web Page Generation) |

| Threat Actor | UNK_MassTraction (suspected China-aligned, linked to UNC5174) |

| First Observed | May 2026 |


## Affected Products


Roundcube Webmail:

  • All versions prior to the current patched release containing CVE-2024-42009 and CVE-2025-49113 fixes
  • Installations running versions vulnerable to n-day exploitation of XSS flaws
  • Instances configured with default or inadequate security policies

  • Note: The campaign targeted institutions running unpatched or legacy versions of Roundcube. Organizations operating current, fully patched installations are significantly less exposed.


    ## Mitigations


    Immediate Actions:


  • Patch immediately: Apply all available Roundcube security updates, prioritizing versions that address CVE-2024-42009 and CVE-2025-49113. Do not delay this update.
  • Audit active sessions: Check Roundcube server logs and active session tables for evidence of unauthorized access dating back to May 2026. Revoke any suspicious sessions and force password resets for affected accounts.
  • Hunt for web shells: Search Roundcube installation directories for unauthorized PHP files, particularly in the plugins/newmail_notifier/ directory and other plugin paths. Look for SquareShell, web shells named SquareShell, or any unexpected executables.
  • Monitor for post-exploitation tools: Search for evidence of SNOWLIGHT (ELF binaries), VShell, or related tools in memory and on disk across compromised systems.

  • Network-Level Controls:


  • Restrict Roundcube access: Limit webmail access by IP range or require VPN for all external connections. Consider disabling external webmail access altogether if possible.
  • Implement DMARC/SPF/DKIM: Enforce strong email authentication policies to prevent domain spoofing. Set DMARC policy to quarantine or reject.
  • Email gateway filtering: Deploy advanced email filtering to block phishing campaigns that mimic legitimate university senders or abuse known vulnerable domains.
  • Network segmentation: Isolate mail servers from sensitive research networks using firewall rules and DMZ configuration.

  • Detection and Response:


  • Enable logging: Configure Roundcube to log all authentication attempts, session creation, and plugin execution.
  • Monitor for exploitation: Watch for HTTP POST requests to unusual endpoints, particularly plugins/newmail_notifier/mail_preview.php, and any requests containing encoded JavaScript or suspicious payloads.
  • Threat hunt: Coordinate with your security team to search for indicators of compromise linked to UNK_MassTraction and UNC5174 (VShell variants, SNOWLIGHT loader signatures).

  • ## References


  • Proofpoint Technical Report: "UNK_MassTraction: China-Aligned APT Exploits Roundcube Vulnerabilities in University Targeting Campaign" (July 2026)
  • CVE-2024-42009: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-42009
  • CVE-2025-49113: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-49113
  • Roundcube Security Updates: https://roundcube.net/
  • CISA Alerts: https://www.cisa.gov/

  • ---


    ## HackWire Analysis


    This campaign reveals a critical gap in how U.S. universities protect research infrastructure. Physics and engineering departments at academic institutions have become high-value espionage targets for state-aligned adversaries—not because universities are easy to breach, but because they house unclassified research with genuine national security implications. Particle physics experiments, quantum computing research, and advanced materials science are all publicly interesting but strategically significant, and the targeting of professors and administrators suggests the attackers understood exactly which departments to pursue.


    The technical sophistication here is noteworthy. Rather than blanket phishing or exploit kits, UNK_MassTraction conducted reconnaissance to identify institutions running vulnerable Roundcube versions, then weaponized a two-stage attack that avoids many common detections. The XSS-to-RCE chain is elegant: the first stage operates entirely in the browser without filesystem artifacts, while the second stage (CVE-2025-49113) requires no additional user interaction once credentials are stolen. This is not spray-and-pray malware; this is targeted espionage tradecraft.


    What's particularly concerning is the fallback mechanism introduced in June 2026. When SquareShell deployment failed on some targets, the attackers added an alternate shell script delivery path for SNOWLIGHT. This indicates the campaign is *active, adaptive, and ongoing*—not a one-time operation. The use of SNOWLIGHT (previously linked to UNC5174, another China-attributed cluster) also suggests either tool sharing among Chinese APT groups or potential coordination between units, similar to how ShadowPad is distributed across the Chinese intelligence apparatus.


    For universities and research institutions: Roundcube patches are available now. Deploy them. Audit your mail servers. If you host research with national security relevance, assume you are being targeted. For CISOs and security teams: this is a reminder that webmail is often the forgotten network perimeter. It gets patched last, monitored least, and represents a direct bridge into research networks and faculty correspondence containing unpublished findings. Treat your mail infrastructure like the crown jewel it actually is.


    — HackWire Editorial


    ## Related Coverage


  • Read more in our [Vulnerabilities](https://www.hackwire.news/category/vulnerabilities) coverage
  • Cross-reference with [Breaches](https://www.hackwire.news/category/breaches) and [Malware](https://www.hackwire.news/category/malware)
  • Stay current via the [HackWire homepage](https://www.hackwire.news/)