Description
checkpassword-reply in Dovecot before 2.2.7 performs setuid operations to a user who is authenticating, which allows local users to bypass authentication and access virtual email accounts by attaching to the process and using a restricted file descriptor to modify account information in the response to the dovecot-auth server.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | dovecot | 1:2.2.9-1 | — |
| Debian 13 | dovecot | 1:2.2.9-1 | — |
| Debian 12 | dovecot | 1:2.2.9-1 | — |
References
- http://cpanel.net/tsr-2013-0010-full-disclosure/
- http://wiki2.dovecot.org/AuthDatabase/CheckPassword#Security
- USN-3556-2 vendor-advisory
- 54808 third-party-advisory
- [Dovecot-news] 20131103 v2.2.7 released mailing-list