Bug 456347 (CVE-2008-2937) - CVE-2008-2937 postfix improper mailbox permissions
Summary: CVE-2008-2937 postfix improper mailbox permissions
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2008-2937
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 459099 459100 459101 683386 683387 683389 833971
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-07-23 00:52 UTC by Josh Bressers
Modified: 2019-09-29 12:25 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-04-07 06:38:48 UTC


Attachments (Terms of Use)
Patch Suse used (1.29 KB, patch)
2008-08-14 13:42 UTC, Josh Bressers
no flags Details | Diff


Links
System ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:0422 normal SHIPPED_LIVE Moderate: postfix security update 2011-04-06 22:59:54 UTC

Description Josh Bressers 2008-07-23 00:52:02 UTC
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.

Comment 1 Josh Bressers 2008-07-23 00:53:27 UTC
This issue affects Red Hat Enterprise Linux 3, 4, and 5.

Comment 2 Josh Bressers 2008-08-14 13:27:43 UTC
This is public:
http://marc.info/?l=full-disclosure&m=121871844101393&w=2

Comment 3 Josh Bressers 2008-08-14 13:42:03 UTC
Created attachment 314316 [details]
Patch Suse used

Here is the patch Suse used.  I'm not sure where it came form, or if it's right, but from looking at it, it should work.

Comment 4 Josh Bressers 2008-08-14 22:38:11 UTC
The above patch did come from postfix upstream.

Comment 5 Fedora Update System 2008-10-09 21:31:14 UTC
postfix-2.5.5-1.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2008-10-09 21:33:04 UTC
postfix-2.5.5-1.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 errata-xmlrpc 2011-04-06 23:00:05 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5
  Red Hat Enterprise Linux 4

Via RHSA-2011:0422 https://rhn.redhat.com/errata/RHSA-2011-0422.html

Comment 10 Vincent Danen 2011-04-06 23:30:36 UTC
Acknowledgements:

Red Hat would like to thank Sebastian Krahmer of the SuSE Security Team for reporting this issue.



Statement:

(none)


Note You need to log in before you can comment on or make changes to this bug.