Title: SuSEConfig.postfix chroot File Ownership Vulnerability
Severity: LOW
Description:
SuSEConfig helps configure and reconfigure SuSE Linux systems. The SuSEConfig.postfix script is designed to set up the Postfix mail daemon, and includes the option to create a chroot environment for the Postfix processes. Creating the environment requires that certain files in the /lib and /etc directories required by Postfix are copied into the chroot directory. By default, the chroot directory is /var/spool/postfix/.
Later in the script, a recursive chmod call sets all files within the /var/spool/postfix/ directory to be owned by the postfix user. As this directory now contains the required configuration files and shared libraries used by Postfix, the postfix user gains ownership of these files. As a result, if the unprivileged postfix account is compromised, the configuration and shared libraries used by Postfix may be changed.
If an attacker is able to compromise the postfix account, he may be able to use this access to create more damage than would normally be expected within a chroot environment. The ability to change libraries and configuration files used by the Postfix processes could lead to further subtle attacks on the compromised system.
Affected Products:
- S.u.S.E. Linux 7.0.0
- S.u.S.E. Linux 7.1.0
- S.u.S.E. Linux 7.2.0
- S.u.S.E. Linux 7.3.0
- S.u.S.E. SuSEConfig.postfix 0.0.0
References:
- S.u.S.E.: S.u.S.E. Homepage
- Wietse Venema: Postfix Homepage
Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.