Description
The postfix.postinst script in the Debian GNU/Linux and Ubuntu postfix 2.5.5 package grants the postfix user write access to /var/spool/postfix/pid, which might allow local users to conduct symlink attacks that overwrite arbitrary files.
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 | postfix | 2.6.5-3 | — |
| Debian 13 | postfix | 2.6.5-3 | — |
| Debian 12 | postfix | 2.6.5-3 | — |
References
- [oss-security] 20090918 Insecure pid directory permissions for postfix on Debian / Ubuntu mailing-list
- DSA-2233 vendor-advisory