Cross-site scripting in Roundcube Webmail - CVE-2023-43770

 

Cross-site scripting in Roundcube Webmail - CVE-2023-43770

Published: October 28, 2023 / Updated: May 13, 2024


Vulnerability identifier: #VU82545
CSH Severity: High
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N]
CVE-ID: CVE-2023-43770
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: The vulnerability is being exploited in the wild

Vulnerability details

The vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.

The vulnerability exists in program/lib/Roundcube/rcube_string_replacer.php due to insufficient sanitization of user-supplied data passed via text/plain e-mail messages with crafted links. A remote attacker can send a specially crafted email message and execute arbitrary HTML and script code in user's browser in context of vulnerable website.

Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.


Affected software

Roundcube Webmail
Ubuntu
roundcube (Ubuntu package)
roundcube-core (Ubuntu package)
cPanel

How to mitigate CVE-2023-43770

Install update from vendor's website.

Roundcube Webmail - addressed in versions 1.4.14, 1.5.4, 1.6.3
roundcube (Ubuntu package) - addressed in versions Ubuntu Pro, 1.6.2+dfsg-1ubuntu0.1
roundcube-core (Ubuntu package) - addressed in versions Ubuntu Pro, 1.6.2+dfsg-1ubuntu0.1
cPanel - addressed in versions 11.110.0.14, 11.114.0.10, 11.116.0.2

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins