NFS statd vulnerability
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): [email protected]
on den 01.12.2004 Klokka 15:36 (+0100) skreiv Martin Pitt:
Quoted 4 lines
SGI discovered a remote Denial of Service vulnerability in the NFS statd server. statd did not ignore the "SIGPIPE" signal which caused it to shutdown if a misconfigured or malicious peer terminated the TCP connection prematurely.
WTF wasn't this first fixed in the actual upstream nfs-utils package? WTF are we only hearing of this now via bugtraq?
Grrr.....
Signature · 12 lines
Trond Myklebust <[email protected]> ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ NFS maillist - [email protected] https://lists.sourceforge.net/lists/listinfo/nfs
on den 01.12.2004 Klokka 20:32 (-0500) skreiv Trond Myklebust:
Quoted 11 lines
on den 01.12.2004 Klokka 15:36 (+0100) skreiv Martin Pitt:
Quoted 4 lines
SGI discovered a remote Denial of Service vulnerability in the NFS statd server. statd did not ignore the "SIGPIPE" signal which caused it to shutdown if a misconfigured or malicious peer terminated the TCP connection prematurely.
WTF wasn't this first fixed in the actual upstream nfs-utils package? WTF are we only hearing of this now via bugtraq?
Grrr.....
Neil, this appears to be the hunk in question.
Cheers,
Trond
Signature · 1 line
Trond Myklebust <[email protected]>
statd.c | 5 +++++ 1 files changed, 5 insertions(+)
nfs-utils/utils/statd/statd.c +5 -0
@@ -422,6 +422,11 @@ int main (int argc, char **argv)signal (SIGUSR1 , sigusr);/* WARNING: the following works on Linux and SysV, but not BSD! */ signal (SIGCHLD ,SIG_IGN ); +/* +* Ignore SIGPIPE to avoid statd dying when peers close their +* TCP connection while we're trying to reply to them. +*/ +signal (SIGPIPE ,SIG_IGN );/* initialize out_port */ statd_get_socket (out_port);
Quoted 8 lines · On Wednesday December 1, [email protected] wrote:
on den 01.12.2004 Klokka 20:32 (-0500) skreiv Trond Myklebust:
Quoted 7 lines
on den 01.12.2004 Klokka 15:36 (+0100) skreiv Martin Pitt:
Quoted 4 lines
SGI discovered a remote Denial of Service vulnerability in the NFS statd server. statd did not ignore the "SIGPIPE" signal which caused it to shutdown if a misconfigured or malicious peer terminated the TCP connection prematurely.
Quoted 6 lines
Quoted 4 lines
WTF wasn't this first fixed in the actual upstream nfs-utils package? WTF are we only hearing of this now via bugtraq?
Grrr.....
Neil, this appears to be the hunk in question.
Ho humm.... yes, thanks. I have pushed it into CVS and will try to make a new tarball soon.
Anyone who is anxious about this (i.e. doesn't have statd suitable firewalled) can put
trap '' PIPE
in the shell script that runs statd, and it will have the same effect.
NeilBrown
Quoted 16 lines
Cheers,
TrondSignature · 7 lines
Trond Myklebust <[email protected]> statd.c | 5 +++++ 1 files changed, 5 insertions(+) Index: [email protected]/nfs-utils/utils/statd/statd.c ===================================================================nfs-utils/utils/statd/statd.c +0
-0@@ -422,6 +422,11 @@ int main (int argc, char **argv)signal (SIGUSR1 , sigusr);
nfs-utils/utils/statd/statd.c int main (int argc, char **argv) · line 432
Quoted 10 lines
nfs-utils/utils/statd/statd.c +5
-0/* WARNING: the following works on Linux and SysV, but not BSD! */ signal (SIGCHLD ,SIG_IGN ); +/* +* Ignore SIGPIPE to avoid statd dying when peers close their +* TCP connection while we're trying to reply to them. +*/ +signal (SIGPIPE ,SIG_IGN );/* initialize out_port */ statd_get_socket (out_port);
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs