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

 

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

Published: November 7, 2023 / Updated: December 4, 2023


Vulnerability identifier: #VU82893
CSH Severity: Medium
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-47272
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available

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 setting Content-Type/Content-Disposition for attachment preview/download. A remote attacker can inject 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
Debian Linux
Fedora
Ubuntu
roundcube (Ubuntu package)
roundcube-core (Ubuntu package)
roundcube (Debian package)
roundcubemail

How to mitigate CVE-2023-47272

Install updates from vendor's website.

Roundcube Webmail - addressed in versions 1.5.6, 1.6.5
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~deb11u2, 1.6.5+dfsg-1~deb12u1
roundcubemail - addressed in versions 1.5.6-1.el9, 1.6.5-1.fc37, 1.6.5-1.fc38, 1.6.5-1.fc39

External References

Related Security Bulletins