Great Circle Associates Majordomo-Workers
(January 2000)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: majordomo local exploit
From: "Todd C. Miller" <Todd . Miller @ COURTESAN . COM>
Date: Wed, 29 Dec 1999 00:03:01 -0700
To: BUGTRAQ @ SECURITYFOCUS . COM
Approved-by: aleph1@SECURITYFOCUS.COM
Delivered-to: bugtraq@lists.securityfocus.com
Delivered-to: BUGTRAQ@SECURITYFOCUS.COM
In-reply-to: Your message of "Tue, 28 Dec 1999 20:47:44 CST." <19991229024744.23364.qmail@nwcst292.netaddress.usa.net>
References: <19991229024744.23364.qmail@nwcst292.netaddress.usa.net>
Reply-to: "Todd C. Miller" <Todd . Miller @ COURTESAN . COM>

For those using perl 5.x, you can use sysopen() instead of the "magic"
perl open() to fix this.

 - todd

--- resend	Thu Aug 19 10:12:03 1999
+++ resend+	Tue Dec 28 23:55:39 1999
@@ -58,7 +58,7 @@
 if ($ARGV[0] =~ /^\@/) {
     $fn = shift(@ARGV);
     $fn =~ s/^@//;
-    open(AV, $fn) || die("open(AV, \"$fn\"): $!\nStopped");
+    sysopen(AV, $fn, O_RDONLY) || die("sysopen(AV, \"$fn\", O_RDONLY): $!\nStopped");
     undef($/);	# set input field separator
     $av = <AV>;	# read whole file into string
     close(AV);




References:
Indexed By Date Previous: majordomo local exploit
From: Brock Tellier <btellier@USA.NET>
Next: Re: majordomo local exploit
From: Henrik Edlund <henrik@EDLUND.ORG>
Indexed By Thread Previous: majordomo local exploit
From: Brock Tellier <btellier@USA.NET>
Next: Re: majordomo local exploit
From: Henrik Edlund <henrik@EDLUND.ORG>

Google
 
Search Internet Search www.greatcircle.com