what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Trustix Secure Linux Security Advisory 2004.10

Trustix Secure Linux Security Advisory 2004.10
Posted Oct 13, 2004
Authored by Jem Berkes | Site sysdesign.ca

A security weakness exists in renattach 1.2.0 and 1.2.1, although there does not appear to be a practical way to exploit the code for remote access, arbitrary execution, or other immediate damage. The weakness only applies to the --pipe facility. The problem has been fixed in beta version 1.2.1e (soon to become 1.2.2 release).

tags | advisory, remote, arbitrary
SHA-256 | db108612758ccded9c534e95a3bc8a27785ac15c0c5e685d14c1eb625191e746

Trustix Secure Linux Security Advisory 2004.10

Change Mirror Download
  Security fixes in renattach 1.2.1e
2004-10-03 13:00 CDT

EXECUTIVE SUMMARY
A security weakness exists in renattach 1.2.0 and 1.2.1, although
there DOES NOT appear to be a practical way to exploit the code for
remote access, arbitrary execution, or other immediate damage. The
weakness only applies to the --pipe facility. The problem has been
fixed in beta version 1.2.1e (soon to become 1.2.2 release). Sites
testing 1.2.1e should read the new instructions for --pipe, below.
Your feedback on the 1.2.1e build is requested, as we prepare 1.2.2.

CURRENT VERSION
https://www.pc-tools.net/beta/renattach/renattach-1.2.1e.tar.gz

DESCRIPTION OF PROBLEM

renattach 1.2.0 and 1.2.1 used the popen() function in order to provide
the --pipe facility, to send output to an external command. Internally,
popen() used sh which introduces shell manipulation risks. renattach
removes dangerous shell characters from the command line to reduce this
risk, but execution via shell is still inherently risky. Note that the
author has not been informed of any actual exploit or demonstration of an
attack that could lead to remote access. Immediate risk appears to be low.

DESCRIPTION OF FIX

This dangerous --pipe implementation has now been replaced (in 1.2.1e and
for the upcoming 1.2.2 release) with a direct fork/exec, using unmodified
original arguments. This entirely avoids shell interpretation problems. An
additional benefit is improved integration with (e.g.) Postfix. renattach
overhead has also decreased, since sh is no longer forked (fewer PIDs).

IMPORTANT NOTES ON MAKE AND INSTALL

Please consult the ChangeLog for a complete description of changes since
1.2.1 release. The changes to the software have not yet been reflected in
the man page or installation instructions.

Please check the build process and inform us of any errors. Some changes
have been made in order to accommodate OS/2, win32, and other non-UNIXes.

The --pipe feature, if used, now has to be the last option on the command
line. The command name (specify full path) and arguments after --pipe are
taken as-is. DO NOT use quotation marks around this command to execute.
Run with --verbose to see details on the command, arguments, and exit
code of the external command.

For Postfix integration, /etc/postfix/master.cf should now contain:

/path/to/renattach -p /path/to/sendmail -i -f ${sender} -- ${recipient}

Note that quotation marks are no longer included in the command line.

--
Jem Berkes, SysDesign [ www.sysdesign.ca ]
Email: jberkes@pc-tools.net

Login or Register to add favorites

File Archive:

September 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Sep 1st
    261 Files
  • 2
    Sep 2nd
    17 Files
  • 3
    Sep 3rd
    38 Files
  • 4
    Sep 4th
    52 Files
  • 5
    Sep 5th
    23 Files
  • 6
    Sep 6th
    27 Files
  • 7
    Sep 7th
    0 Files
  • 8
    Sep 8th
    1 Files
  • 9
    Sep 9th
    16 Files
  • 10
    Sep 10th
    38 Files
  • 11
    Sep 11th
    21 Files
  • 12
    Sep 12th
    40 Files
  • 13
    Sep 13th
    18 Files
  • 14
    Sep 14th
    0 Files
  • 15
    Sep 15th
    0 Files
  • 16
    Sep 16th
    21 Files
  • 17
    Sep 17th
    51 Files
  • 18
    Sep 18th
    23 Files
  • 19
    Sep 19th
    48 Files
  • 20
    Sep 20th
    36 Files
  • 21
    Sep 21st
    0 Files
  • 22
    Sep 22nd
    0 Files
  • 23
    Sep 23rd
    38 Files
  • 24
    Sep 24th
    0 Files
  • 25
    Sep 25th
    0 Files
  • 26
    Sep 26th
    0 Files
  • 27
    Sep 27th
    0 Files
  • 28
    Sep 28th
    0 Files
  • 29
    Sep 29th
    0 Files
  • 30
    Sep 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close