Secunia CSI7
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading
Highly critical

Exim Weaknesses and Buffer Overflow Vulnerability

-

Release Date:  2010-05-31    Last Update:  2011-12-07    Views:  5,436

Secunia Advisory SA40019

Where:

From remote

Impact:

Privilege escalation, System access

Solution Status:

Vendor Patch

Software:

CVE Reference(s):

Description


Two weaknesses and a vulnerability have been reported in Exim, which can be exploited by malicious, local users to perform certain actions with escalated privileges and by malicious people to compromise a vulnerable system.

1) An error when handling hardlinks within the mail directory during the mail delivery process can be exploited to e.g. append information to arbitrary files of another user.

Successful exploitation of this weakness requires that the mail directory is world-writable with the sticky bit set.

2) A race condition related to the MBX locking can be exploited to e.g. change the permissions of another user's file via symlink attacks.

Successful exploitation of this weakness requires that MBX locking is used.

3) An error in the "string_vformat()" function in src/string.c can be exploited to cause a buffer overflow e.g. when headers of a specially crafted, rejected email are being logged.

Successful exploitation of this vulnerability allows execution of arbitrary code.

This vulnerability is reported in versions prior to 4.70.


Solution:
Update to version 4.72.

Further details available to Secunia VIM customers

Provided and/or discovered by:
1, 2) Dan Rosenberg
3) Reported as an 0-day.

Original Advisory:
http://lists.exim.org/lurker/message/20100524.175925.9a69f755.en.html
http://vcs.exim.org/viewvc/exim/exim-doc/doc-txt/ChangeLog?view=markup&pathrev=exim-4_72_RC2
http://archives.neohapsis.com/archives/fulldisclosure/2010-06/0079.html

1) http://bugs.exim.org/show_bug.cgi?id=988
2) http://bugs.exim.org/show_bug.cgi?id=989
3) http://bugs.exim.org/show_bug.cgi?id=787
http://lists.exim.org/lurker/message/20101213.140800.7c3bae4b.en.html

Deep Links:
Links available to Secunia VIM customers

Do you have additional information related to this advisory?

Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this information to vuln@secunia.com

Subject: Exim Weaknesses and Buffer Overflow Vulnerability

No posts yet

-

You must be logged in to post a comment.



 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2014 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability