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

 

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

Published: October 17, 2023 / Updated: October 25, 2023


Vulnerability identifier: #VU82083
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-5631
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: The vulnerability is being exploited in the wild

Vulnerability details

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

The vulnerability exists due to insufficient sanitization of user-supplied data when processing SVG files in program/lib/Roundcube/rcube_washtml.php. A remote attacker can trick the victim to follow a specially crafted link 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.

Note, the vulnerability is being actively exploited in the wild.


Affected software

Roundcube Webmail
Debian Linux
Fedora
Ubuntu
roundcube (Ubuntu package)
roundcube-core (Ubuntu package)
roundcube (Debian package)
roundcubemail
cPanel

How to mitigate CVE-2023-5631

Install updates from vendor's website.

Roundcube Webmail - addressed in versions 1.4.15, 1.5.5, 1.6.4
roundcube (Ubuntu package) - addressed in versions Ubuntu Pro, 1.6.2+dfsg-1ubuntu0.2
roundcube-core (Ubuntu package) - addressed in versions Ubuntu Pro, 1.6.2+dfsg-1ubuntu0.2
roundcube (Debian package) - addressed in versions 1.4.15+dfsg.1-1~deb11u1, 1.6.4+dfsg-1~deb12u1
roundcubemail - addressed in versions 1.5.5-1.el9, 1.6.4-1.fc37, 1.6.4-1.fc38, 1.6.4-1.fc39
cPanel - addressed in versions 11.110.0.14, 11.114.0.10, 11.116.0.2

External References

Related Security Bulletins