REDHAT-BUG-456347: Low severity Postfix Postfix vulnerability

Published Jul 23, 2008
·
Updated

Sebastian Krahmer discovered an issue in the way postfix handles mailboxes with improper permissions and ownership.

It is possible for a user with permissions to create files in the mail spool directory to create an insecure mailbox file for a known valid user. This mailbox will retain the insecure permissions and ownership allowing anyone to view the data.

The easiest example of this would be a local user with the ability to write to the mail spool creates a file named 'root' which postfix will then delivery root's mail into regardless of file permissions or ownership.

Affected Software

1 affected component
Postfix Postfix

Event History

Jul 23, 2008
Data Sourced
via Red Hat·12:52 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Who can exploit this issue?

A local user who has permission to create files in the mail spool directory can exploit it. The attacker can create a mailbox file for a known valid user, such as root, before mail is delivered to that mailbox.

2

What is the impact of a successful exploit?

Postfix may deliver mail into the attacker-created mailbox while retaining its insecure ownership and permissions. This can allow other users to view the affected user's mail data.

3

How can administrators identify potentially affected mailboxes?

Inspect mailbox files in the mail spool directory for files whose ownership or permissions are insecure or do not match the intended mailbox user. Pay particular attention to mailbox filenames corresponding to valid accounts, including root.

4

What can be done if patching is not immediately possible?

Restrict write access to the mail spool directory so untrusted local users cannot create mailbox files there. Review and correct existing mailbox file ownership and permissions, especially for privileged or known user accounts.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203