(Trustix Issues Fix) Stunnel Leaked File Descriptor Lets Remote Authenticated Users Hijack the Stunnel Process
|
|
SecurityTracker Alert ID: 1008328 |
|
SecurityTracker URL: http://securitytracker.com/id/1008328
|
|
CVE Reference:
CAN-2003-0740
(Links to External Site)
|
Date: Nov 28 2003
|
Impact:
Modification of system information, Modification of user information, User access via network
|
Fix Available: Yes Vendor Confirmed: Yes
|
Version(s): 3.24 and prior versions, 4.00
|
Description:
A vulnerability was reported in Stunnel. A leaked file descriptor allows a remote authenticated user to hijack the Stunnel server process.
It is reported that certain versions of Stunnel leak file descriptors. In particular, the file descriptor returned by the listen function is leaked, according to the report.
A remote authenticated user (with shell-like access on the target system) can fork a process, send a signal to the stunnel process, and then select the leaked file descriptor and write to it to take control of the stunnel process.
A demonstration exploit is provided in the Source Message.
|
Impact:
A remote authenticated user can take control of the stunnel process.
|
Solution:
Trustix has released a fix, available at:
http://http.trustix.org/pub/trustix/updates/
ftp://ftp.trustix.org/pub/trustix/updates/
The MD5sums of the packages are:
46896859a663be9d197e463af32165c8 ./1.5/srpms/stunnel-3.26-1tr.src.rpm
1b3f9d52a3da6b0392bcca2b0fb4c4e5 ./1.5/rpms/stunnel-3.26-1tr.i586.rpm
c6fdf2ce76913c3d6dd87b8ce2effd3e ./1.2/srpms/stunnel-3.26-1tr.src.rpm
508f502abf103b218cb461f126102155 ./1.2/rpms/stunnel-3.26-1tr.i586.rpm
|
Vendor URL: www.stunnel.org/ (Links to External Site)
|
Cause:
Resource error, State error
|
Underlying OS:
Linux (Trustix)
|
|
Message History:
This archive entry is a follow-up to the message listed below.
|
Source Message Contents
|
Date: Fri, 28 Nov 2003 13:44:41 +0100
Subject: TSLSA-2003-0045 - stunnel
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
- --------------------------------------------------------------------------
Trustix Secure Linux Security Advisory #2003-0045
Package name: stunnel
Summary: new upstream version
Date: 2003-11-27
Affected versions: TSL 1.2, 1.5
- --------------------------------------------------------------------------
Package description:
stunnel is a socket wrapper which can be used to give ordinary applications
SSL (secure sockets layer) support. For example, it can be used in
conjunction with a imapd to create a SSL secure IMAP server.
Problem description:
Stunnel 3.24 and earlier (as well as 4.0x x<4) does not properly handle
SIGCHLD signals safely. Stunnel 3.26 is now available and fixes this problem.
This upgrade also fixes some additional bugs.
Action:
We recommend that all systems with this package installed be upgraded.
Please note that if you do not need the functionality provided by this
package, you may want to remove it from your system.
Location:
All TSL updates are available from
<URI:http://http.trustix.org/pub/trustix/updates/>
<URI:ftp://ftp.trustix.org/pub/trustix/updates/>
About Trustix Secure Linux:
Trustix Secure Linux is a small Linux distribution for servers. With focus
on security and stability, the system is painlessly kept safe and up to
date from day one using swup, the automated software updater.
Automatic updates:
Users of the SWUP tool can enjoy having updates automatically
installed using 'swup --upgrade'.
Public testing:
These packages have been available for public testing for some time.
If you want to contribute by testing the various packages in the
testing tree, please feel free to share your findings on the
tsl-discuss mailinglist.
The testing tree is located at
<URI:http://tsldev.trustix.org/cloud/>
You may also use swup for public testing of updates:
site {
class = 0
location = "http://tsldev.trustix.org/cloud/rdfs/latest.rdf"
regexp = ".*"
}
Questions?
Check out our mailing lists:
<URI:http://www.trustix.org/support/>
Verification:
This advisory along with all TSL packages are signed with the TSL sign key.
This key is available from:
<URI:http://www.trustix.org/TSL-SIGN-KEY>
The advisory itself is available from the errata pages at
<URI:http://www.trustix.org/errata/trustix-1.2/> and
<URI:http://www.trustix.org/errata/trustix-1.5/>
or directly at
<URI:http://www.trustix.org/errata/misc/2003/TSL-2003-0045-stunnel.asc.txt>
MD5sums of the packages:
- --------------------------------------------------------------------------
46896859a663be9d197e463af32165c8 ./1.5/srpms/stunnel-3.26-1tr.src.rpm
1b3f9d52a3da6b0392bcca2b0fb4c4e5 ./1.5/rpms/stunnel-3.26-1tr.i586.rpm
c6fdf2ce76913c3d6dd87b8ce2effd3e ./1.2/srpms/stunnel-3.26-1tr.src.rpm
508f502abf103b218cb461f126102155 ./1.2/rpms/stunnel-3.26-1tr.i586.rpm
- --------------------------------------------------------------------------
TSL Security Team
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE/xgHoi8CEzsK9IksRArd4AJ9GcpPzFoESXrO9yPRXMSxgeuldNQCePB2S
VQbXhFYI4uBIJCWjN87iW38=
=m+n5
-----END PGP SIGNATURE-----
_______________________________________________
tsl-announce mailing list
tsl-announce@trustix.org
http://www.trustix.org/mailman/listinfo/tsl-announce
|
|