Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:




bugtraq logo Bugtraq mailing list archives

wu-ftpd 2.4.2-beta-13 default UMASK hole
From: stevev () HEXADECIMAL UOREGON EDU (Steve VanDevender)
Date: Wed, 11 Jun 1997 12:28:29 -0700


Roy M. Hooper writes:
The default umask for wu-ftpd 2.4.2-beta-13 is 002.
Since most users on most sites are in the same group, all files created by
users PUTting files would be group writeable by anyone.  Not a good thing.

The offending code is in "ftpd.c" line 259:
#if !defined(CMASK) || CMASK == 0
#undef CMASK
#define CMASK 002
#endif

Changing CMASK 002 to CMASK 022 will fix this.

If you aren't easily able to recompile your wu-ftpd, but you are able to
edit its entry in inetd.conf, invoking it with the switch "-u022" will
also let you set the default umask to 022 (you can even use "-u077", if
you're feeling paranoid or fascist).



  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]