Cross-site scripting in Roundcube Webmail - CVE-2023-5631
Published: October 17, 2023 / Updated: October 25, 2023
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
Debian Linux
Fedora
Ubuntu
roundcube (Ubuntu package)
roundcube-core (Ubuntu package)
roundcube (Debian package)
roundcubemail
cPanel
How to mitigate CVE-2023-5631
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
- https://github.com/roundcube/roundcubemail/releases/tag/1.6.4
- https://github.com/roundcube/roundcubemail/releases/tag/1.5.5
- https://github.com/roundcube/roundcubemail/releases/tag/1.4.15
- https://www.welivesecurity.com/en/eset-research/winter-vivern-exploits-zero-day-vulnerability-roundcube-webmail-servers/