Patchfirst
CVE-2023-5631 KEVPublic exploit Medium · 5.4 EPSS 76.3%

Roundcube Webmail Persistent Cross-Site Scripting (XSS) Vulnerability

Roundcube · Webmail

Summary

Roundcube Webmail (before 1.4.15, 1.5.x before 1.5.5, and 1.6.x before 1.6.4) contains a stored cross-site scripting flaw in its HTML e-mail handling, specifically in the program/lib/Roundcube/rcube_washtml.php component, which fails to neutralise crafted SVG content. A remote attacker who can send an HTML e-mail containing a malicious SVG document can cause arbitrary JavaScript to load when a user, with low privileges, interacts with the message, such as by opening it.

Official description · NVD

Roundcube before 1.4.15, 1.5.x before 1.5.5, and 1.6.x before 1.6.4 allows stored XSS via an HTML e-mail message with a crafted SVG document because of program/lib/Roundcube/rcube_washtml.php behavior. This could allow a remote attacker to load arbitrary JavaScript code.

Breakdown
66.7 / 100
Exploited
Yes, in CISA KEV
Reports
0
Tactics
2/15

How an attack unfolds

Based on mappings. Select a step to see the evidence.
  1. How attackers get in

  2. What they do

  3. What can follow

First seen exploited 7 days after disclosure.

  1. Disclosedday 0
  2. First seen exploitedVulnCheck KEV evidence+7 days
  3. Added to CISA KEVEU database agrees+8 days

CISA KEV listing is when exploitation was confirmed, not necessarily the first attack.

techniques

3 , grouped by in kill-chain order 3

ExecutionTA0002

JavaScript T1059.007
MITRE CTID mapping of the KEV entry · primary impact

This vulnerability is exploited by an adversary via a malicious e-mail containing a crafted SVG document. When a user views the e-mail, the remote attacker can load arbitrary JavaScript code on the victim's machine. In recent campaign Winter Vivern group exploited this vulnerability. The attack chains typically start with a phishing mail sent containing a Base64-encoded payload embedded in the HTML source code. The payload gets decoded and injects a remote javascript, checkupdate.js, in current user session. The checkupdate.js script serves as a loader, enabling the execution of a final JavaScript payload which is designed to exfiltrate email messages. The attackers weaponized this XSS flaw to carry out their malicious activities, ultimately allowing them to harvest email messages from their victims' accounts to a C2 server. The attack chain requires minimal user interaction, the attack gets executed only in viewing the malicious email in a web browser.

Malicious Link T1204.001
MITRE CTID mapping of the KEV entry · how it is exploited

ExfiltrationTA0010

MITRE CTID mapping of the KEV entry · follow-on activity

Detection

0 rules for this CVE · 38 general rules for its techniques

Rules for this CVE

0 that reference CVE-2023-5631 directly.

CVE-specific rules are not available in this build. Search SigmaHQ ↗

Sigma rules © SigmaHQ, Detection Rule License 1.1; linked, not reproduced.

What security researchers reported

Not named in any threat report yet

Also mentioned in 50 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

16 links, grouped by NVD tag (15 duplicates merged)
↑ ↓ chooseEnter openEsc close