5576 : sSMTP Insecure File Creation
Printer | http://osvdb.org/5576 | Email This | Edit Vulnerability

Views This Week

2

Views All Time

17

Info

Last Modified

4 months ago

Percent Complete

100%

Disclosure

Apr 18, 2004

Discovery

Apr 18, 2004

Dates

Exploit

Unknown

Solution

Unknown

Description

sSMTP creates a logfile /tmp/ssmtp.log and the data in this logfile is user specified. It's possible to overwrite arbitrary files via a symlink attack on the ssmtp.log temporary log file with the permissons of the ssmtp program (normally root).

Classification

Location: Local Access Required
Attack Type: Other
Impact: Loss of Integrity
Exploit: Exploit Available
Disclosure: OSVDB Verified

Technical

The vulnerable call is in log_event. Log_event vulnerable call:

#ifdef LOGFILE
if((fp = fopen("/tmp/ssmtp.log", "a")) != (FILE *)NULL) {
(void)fprintf(fp, "%s\n", buf);
(void)fclose(fp);


Solution

Currently, there are no known upgrades, patches, or workarounds available to correct this issue.

Products

All Vendors
Watch-list
sSMTP
Watch-list
2.50.6

References

Credit

  • priestmaster - priestBrand New Doo Doopriestmaster.org -

Blogs

None found at this time

Comments

No Comments.

DONATE NOW!

User Status

Quick Searches

Advertisements

The database information may change without any notice. Use of the information constitutes acceptance for use in an AS IS condition, and there are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the copyright holder or distributor (OSVDB or OSF) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

© Copyright 2008 Open Source Vulnerability Database (OSVDB), All Rights Reserved.
Privacy Statement - Terms of Use