Cross-site scripting in Roundcube Webmail - CVE-2021-44025
Published: November 27, 2021
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 while handling an attachment's filename extension when displaying a MIME type warning message. A remote attacker can send a specially crafted email 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
Gentoo Linux
Fedora
roundcube (Debian package)
roundcubemail
mail-client/roundcube
How to mitigate CVE-2021-44025
roundcube (Debian package) - addressed in versions 1.3.17+dfsg.1-1~deb10u1, 1.4.12+dfsg.1-1~deb11u1
roundcubemail - addressed in versions 1.4.12-1.fc33, 1.4.12-1.fc34
mail-client/roundcube - update to 1.6.11
External References
- https://bugs.debian.org/1000156
- https://github.com/roundcube/roundcubemail/commit/7d7b1dfeff795390b69905ceb63d6391b5b0dfe7
- https://github.com/roundcube/roundcubemail/issues/8193
- https://github.com/roundcube/roundcubemail/commit/faf99bf8a2b7b7562206fa047e8de652861e624a
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NDVGIZMQJ5IOM47Y3SAAJRN5VPANKTKO/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TP3Y5RXTUUOUODNG7HFEKWYNIPIT2NL4/