SQL injection in Roundcube Webmail - CVE-2021-44026
Published: November 27, 2021 / Updated: April 25, 2025
Vulnerability details
The vulnerability allows a remote user to execute arbitrary SQL queries in database.
The vulnerability exists due to insufficient sanitization of user-supplied data passed via search or search_params. A remote user can send a specially crafted request to the affected application and execute arbitrary SQL commands within the application database.
Successful exploitation of this vulnerability may allow a remote attacker to read, delete, modify data in database and gain complete control over the affected application.
Affected software
Gentoo Linux
Fedora
roundcube (Debian package)
roundcubemail
mail-client/roundcube
How to mitigate CVE-2021-44026
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
Links to Public Exploits and PoC-codes
External References
- https://bugs.debian.org/1000156
- https://github.com/roundcube/roundcubemail/commit/ee809bde2dcaa04857a919397808a7296681dcfa
- https://github.com/roundcube/roundcubemail/commit/c8947ecb762d9e89c2091bda28d49002817263f1
- 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/
- https://www.recordedfuture.com/bluedelta-exploits-ukrainian-government-roundcube-mail-servers