Slashdot Mirror


Wu-ftpd Remote Root Hole

Ademar writes: "A remote exploitable vulnerability was found in wu_ftp, which is distributed in all major distros. The CERT has a (private) list to coordinate this kind of disclosure so vendors can release updates together, but RH broke the schedule and released their advisory first. You can see the full advisory from securityfocus in bugtraq, but here is a quote: "This vulnerability was initially scheduled for public release on December 3, 2001. Red Hat pre-emptively released an advisory on November 27, 2001. As a result, other vendors may not yet have fixes available."" CNET has a story about this too.

171 of 515 comments (clear)

  1. Wu-FTP not in OpenBSD by Geekboy(Wizard) · · Score: 3, Interesting

    Wu-FTP is not in OpenBSD, and ftp is disabled by default. Wu-FTP is not included with all major distributions, but possibly in Linux ones.

    You're a nit. You're a nit. Here's another one!

    1. Re:Wu-FTP not in OpenBSD by bigbadwlf · · Score: 3, Informative

      Wu-FTP is not included in all major Linux distributions.
      The latest Slackware comes with ProFTPd.

    2. Re:Wu-FTP not in OpenBSD by spectral · · Score: 2, Informative

      Mandrake (at least 8.0, and I assume 8.1) also comes with ProFTPd instead of WuFTPd.. though there's an option to use Wu instead, pro is the default.

    3. Re:Wu-FTP not in OpenBSD by krogoth · · Score: 2

      Wu-FTPd is indeed available with many linux distribution. I've been seeing bugtraq announcements from various linux distros for at least a few days.

      --

      They that quote Benjamin Franklin on liberty and safety deserve neither.
  2. I've changed my mind by child_of_mercy · · Score: 5, Interesting

    Would have been nice to give the maintainers on a few other distro's time to close the hole before broadcasting this to the script kiddies

    Until 5 mins ago I was a beleiver in complete disclosure,

    But with 6 wu-ftpd boxes to admin I'm not so sure any more.

    Hope I see a fix today.

    --
    'There is a Light that never goes out.'
    1. Re:I've changed my mind by compwizrd · · Score: 2

      There WAS a "please contact us at wuftpd so we can co-ordinate", sent out on the 17th, if i got the date right.

    2. Re:I've changed my mind by compwizrd · · Score: 2

      http://www.securityfocus.com/archive/1/241105 is the link, just looked it up. Was on the 19th, close enough.

      And what's with the broken counter on replies on slashdot? It claims it was 14 seconds ago that i replied.. I'm sure i didn't find and type the above paragraph, in a mere 14 seconds.

    3. Re:I've changed my mind by Cato+the+Elder · · Score: 2, Insightful

      I haven't.

      It's not like only Redhat distro users can now get a safe version of wu_ftpd--it's just that not everyone (neccessarily) has the packages ready for all there configurations.

      If you have 6 boxes, better start checking versions and installing newer ones. Sure it sucks, but it's better than being surprised when your servers are "owned"

    4. Re:I've changed my mind by child_of_mercy · · Score: 4, Insightful
      To paraphrase Keynes:

      "When the facts change, I change my mind. What do you do?"


      Seriously?
      --
      'There is a Light that never goes out.'
    5. Re:I've changed my mind by andrewski · · Score: 4, Flamebait

      The script kiddies probably knew about this long before CERT did. This is the major problem with private bug lists for vendors; It gives script kiddies a while to continue exploiting boxes while the vendors prepare patches. I would rather know right away, disable FTP, and do without for a few days, than wait until the bug was fixed before I am informed. Private lists, like all other forms of security by obscurity, are inherently ineffective.

    6. Re:I've changed my mind by Schwarzchild · · Score: 2

      That's why I recommend not using WU-FTP. It's full of holes! Like swiss cheese. About as bad as Sendmail. Use something more secure.

      --

      "sweet dreams are made of this..."

    7. Re:I've changed my mind by Syberghost · · Score: 2

      If you're concerned about security you're not using wu-ftpd anyway. They have a remote exploit found about once a month.

    8. Re:I've changed my mind by orkysoft · · Score: 5, Insightful

      The fact is, the blackhats have known about this vulnerability for some time, so fix or no fix, you need to be aware of it, so you can disable your ftpd if you think the risk is too high.

      Not disclosing this asap will only give you a false sense of security, and will deny you from making your own risk assessment.

      Hell, why do you think Microsoft wants to limit disclosure? To empower the sysops? ;-)

      --

      I suffer from attention surplus disorder.
    9. Re:I've changed my mind by kimihia · · Score: 5, Insightful

      Well then close the service off. An unuseable service is better than a r00ted server.

      It is good to know that it could potentially be rooted. Being ignorant of security holes does not make it secure - no matter what Scott Culp may tell you.

    10. Re:I've changed my mind by child_of_mercy · · Score: 2

      #apt-get update
      #apt-get dist-upgrade

      --
      'There is a Light that never goes out.'
    11. Re:I've changed my mind by Pinball+Wizard · · Score: 2, Informative
      Please, either disable your service or use your firewall to block port 23. You don't need the fix to do that much. Inform your users that the site is down until a fix is made. Beats having to reinstall your whole OS, right? Who's to say there aren't crackers out there who have access to the CERT list anyway?


      If you can't wait, you can probably get pure-ftpd going without too much trouble. Its been written from the ground up with security in mind, and so far no one has found a remote exploit.

      --

      No, Thursday's out. How about never - is never good for you?

    12. Re:I've changed my mind by child_of_mercy · · Score: 2

      those holes don't normally get broadcast on /.

      i don't have any anonymous logins running either

      and *most* of the holes require a login prior to exploit.

      --
      'There is a Light that never goes out.'
    13. Re:I've changed my mind by rjamestaylor · · Score: 2

      As a RHN subscriber, I received the notification on Nov 27 with instructions on receiving a patch. Subscriptions are free for one machine per email address (*ahem*), without any other requirement (you don't have to buy a distro from them to sign up; yes, I bought a box of 7.2).

      Here's the alert (minus my system info and edited to avoid the LAME lameness filter):

      ---
      Red Hat Network has determined that the following advisory is applicable to
      one or more of the systems you have registered with the Software Manager
      service:

      Security Advisory - RHSA-2001:157-06

      Summary:
      Updated wu-ftpd packages are available

      Description:
      An overflowable buffer exists in earlier versions of wu-ftpd.
      An attacker could gain access to the machine by sending malicious
      commands.

      It is recommended that all users of wu-ftpd upgrade to the lastest
      version.

      --
      Taking Action
      --
      You may address the issues outlined in this advisory in two ways:

      - log in to Red Hat Network at https://rhn.redhat.com and from the
      listing showing under 'Your RHN' select the affected servers and
      download or schedule a package update for that system.

      - run the Update Agent on the affected machine.

      --
      Changing Notification Preferences
      --
      To enable/disable your Errata Alert preferences globally please log in to RHN
      and navigate from "Your RHN" / "Your Account" to the "Preferences" tab.

      You can also enable/disable notification on a per system basis by selecting an
      individual system from the "Systems List". From the individual system view
      click the "Details" tab.

      --
      Affected Systems List
      --
      This Errata Advisory may apply to the systems listed below. If you know that
      this errata does not apply to a system listed, it might be possible that the
      package profile for that server is out of date. In that case you should run
      'up2date -p' as root on the system in question to refresh your software profile.

      There is 1 affected system registered in 'Your RHN' (only systems for
      which you have explicitly enabled Errata Alerts are shown).

      Release Arch Profile Name
      7.1 i686 localhost

      The Red Hat Network Team

      This message is being sent by Red Hat Network Alert to:
      RHN user login: localhost
      Email address on file:

      --
      -- @rjamestaylor on Ello
    14. Re:I've changed my mind by The+Pim · · Score: 4, Insightful
      When the facts change, I change my mind.

      The facts did not change a whit. This is just another in a long train of gaping holes in critical software, which you must have been aware of. Either you never thought to ask yourself, "What if this bug affected a service that I rely upon?" (in which case you were intellectually lazy), or you failed to appreciate the impact it would have (in which case you erred in judgement). It happens, I know, but don't make excuses.

      --

      The evaluation of an action as 'practical' . . . depends on what it is that one wishes to practice.
    15. Re:I've changed my mind by fanatic · · Score: 2
      Until 5 mins ago I was a beleiver in complete disclosure, But with 6 wu-ftpd boxes to admin I'm not so sure any more.

      I understand your pain, but the problem is wu-ftpd, not full disclosure. wu-ftpd has a very long, sorry history of bad security holes. I don't use it on any server accessible by anyone but me.
      • For anonymous ftp, I'd recommend looking at publicfiles by D.J Bernstein. I haven't used it, but he's serious about security.
      • For file transfer amongst a community where you can enforce client choice, use scp/sftp, as provided by OpenSSH (or commercial SSH, I guess - ssh inc. has a nice windows ssh/sftp client if you need that, and it works with the free OpenSSH server).
      • If you must use an ftpd with non anonymous logins (not recommended in a time of freely available packet sniffers), I'd look long and hard to find anything BUT wu-ftpd.
      --
      "that's not encryption - it's a new perl script that I'm working on..." - from some Matrix parody
    16. Re:I've changed my mind by Chuck+Milam · · Score: 2

      RPMs really aren't that big of a secret. They're basically just a cpio archive with some headers/install scripts inluded.

      Use rpm2cpio to (or have someone with RPM installed do it for you) extract the source code and patches you need from the source RPM (SRPM) with this little trick:

      rpm2cpio wu-ftpd-2.6.1-20.src.rpm | cpio -i

    17. Re:I've changed my mind by child_of_mercy · · Score: 2

      previously security updates to this software have been timely and easily applied.

      normally I've applied the patch before the vulnerability is getting publicity.

      perhaps the answer is to make patches available faster, but I don't have direct control over that.

      As others have pointed out RH pushed their patch out the door without consulting with the authors or other maintainers.

      Yay for them, makes me wish I'd used their distro...

      which is what they wanted and to hell with the rest of us.

      yes there are things i can do to rectify it myself now

      but i actually had other things to do today.

      So now I'll be working Sunday.

      Thanks Red Hat.

      --
      'There is a Light that never goes out.'
    18. Re:I've changed my mind by child_of_mercy · · Score: 2

      they claim to be part of a community

      they got the software (wu-ftpd), which they distribute, gratis,

      I'm sure they've conformed to the letter of the GPL throughout.

      but yes some loyalty is owed to their "competitors" whith which they share the linux codebase.

      --
      'There is a Light that never goes out.'
    19. Re:I've changed my mind by reflective+recursion · · Score: 4, Insightful

      Do tell me the other forms of security.

      I hear this all the time. "Security through obscurity is bad!" What other forms _are_ there? Passwords and encryption _is_ the same as obscurity. People using this "security through obscurity is bad" argument seem to have another agenda: tearing down IP laws and promoting freedom of information. While IP may be bad, it is a very seperate issue.

      How do people claim security through obscurity is a bad thing? Why is it bad? How else does security work? There is physical security or there is abstract/obscure (i.e. encryption) security. What else?

      There is also insecurity through ignorance, which seems like a disease in the networked world. It really doesn't matter much if you post the memo on the admin/end-user's forehead if they don't bother to read it. This seems to be the case more than script kiddies finding out before knowledgable admins. After all, where do script kiddies get their info? Same place admins do: Bugtraq. By the time those damn elusive script kiddies on IRC exploit a few holes in nasa.gov, I'm sure at least one knowledgable admin has posted a report to bugtraq. In case you didn't pick up the sarcasm, most script kiddies travel in herds and attack usually obvious "high-risk" sites. If someone knows something before Bugtraq, I'm sure you have very little to worry about. The exploiter is probably a knowledgable cracker and probably has specific targets. If you happen to be a target, I wish you well, but I don't think any amount of Bugtraq info will keep someone determined to get in your system out (hint: There is a whole world of social explotation that is damn near impossible to detect or even be aware of).

      --
      Dijkstra Considered Dead
    20. Re:I've changed my mind by RollingThunder · · Score: 2

      You're using the wrong word.

      You say "publically", but you mean "announced to security lists".

      I guarantee you there's another "public" of scriptkiddies who have been sharing it for a while.

      Also, THIS WAS NOT FULL DISCLOSURE. I don't see exploit code in there. All I see is "there's a serious problem with this package, upgrade it here!".

    21. Re:I've changed my mind by jspaleta · · Score: 2, Insightful

      Cox, from redhat is on the record in the Cnet article as saying this was a "big mistake"
      and that redhat didn't mean to force the other vendors into a tough situation....
      Has Redhat done this kinda thing before? I don't think so....mistakes happen. One mistake like this , I can forgive...especially when I company takes the blame right out from and admits it was their mistake at the first oportunity. If it happens again then I'll start to question Redhat's sense of vendor fair-play.....and I'm sure the security vendor list will evaluate RedHat's commitment to the list rules as well. If redhat does this again, more likely than not they will stop getting the private vendor security announcements..and redhat will be the one scrambling to update applications in the future.

      But I really don't know if a a large scale security announcement should have been held off till a patch was tested...I'd rather know as soon as the vendors know so I can turn off the servers while they work on a patch. I don't want vulnerable servers humming along without knowing their vulnerable if I can help it. So in some way I'm actually grateful that RedHat mistakenly broke ranks....now I can turn off any wuftp servers and safely wait for a patch from the distros.

      -jef

    22. Re:I've changed my mind by Garc · · Score: 5, Insightful

      Hmm, when I think of "Security through Obscurity", I tend to think of it in a different way than thought of above. I think of it as keeping the method used to encrypt/secure/hide something secret, thinking that because the method is secret it is secure.

      For example, say I develop a new top secret encryption scheme, called Rot-13. I tell no one of how it works. Since I am not a professional cryptographer, the chances are my algorithm is not cryptographically sound. So it is only secure as long as its method is secret. Once the secret is out, its security is gone. This is security through obscurity.

      An example of the opposite would be RSA. The algorithm is well known, therefore with peer review, it is thought of as secure. Even though I know how RSA works, I'm still unlikely to be able to crack it if used properly.

      regards,
      garc

    23. Re:I've changed my mind by ethereal · · Score: 2, Informative

      Security provided by passwords and encryption are based on shared secrets (or for public-key cryptography, mathematical properties of prime numbers). The only thing that has to be hidden is the secret, which cannot be determined by an attacker, even with knowledge of the algorithm, in less time than it would take to brute force guess the secret. Security through obscurity is more of the case where your protocol itself is broken, so that you must keep both the shared secret and the protocol as well secret. The reason that this is so much less secure is because there are an infinite variety of shared secret passwords to choose, but only so many protocols. Once a broken protocol is cracked it is cracked for everyone that uses it; once your password is guessed it only affects you.

      So in each case there is something that must be protected from being found out; but the chances of the thing being found out and the consequences if it is found out are vastly different.

      --

      Your right to not believe: Americans United for Separation of Church and

    24. Re:I've changed my mind by Jahf · · Score: 2, Informative
      I think you misunderstand the phrase "security through obscurity is bad" (STOIB). Password protections and encryption are not obscure ... obscurity means no one (supposedly) knows they exist. Everyone can know that I -have- a password protection scheme on my computer, it doesn't mean that they actually know what that password is. My password then is (I hope :) "obscure", but my security scheme is not.

      Similarly, if I were to hack my Linux box to store encrypted passwords in an "unknown" file (say, /etc/bogus) that was readable by anyone, but no one knew what the information in the file was, that would be STOIB. However, if I put it in a standard location (/etc/shadow), but make sure that only "root" can read it, that is not STOIB.

      The phrase was coined to indicate a scheme where something is -not- encrypted/whatever and instead is considered to be "secure" because "no one knows about it" (ie, it is "obscure").

      Examples of this:

      • posting sensitive documents on a web server that has no links to the URLs for those documents and then assuming that no one can get them because no one knows about them.

        "security through obscurity" -is- bad here ... with the tools at hand (search engines and robot exclusion files as an extremely simple example) people -will- find this information at some point.

      • creating a user account with an unusual name and no password and assuming that no one will be able to log in as that user because they don't know the username

        As with the previous example, security through obscurity again is bad here, but only in the light of "bad" meaning "stupid", not necessarily evil.

      • writing software that has a hole in it, discovering the hole but not disclosing the fact that it exists for the purposes of keeping the software "secure" instead of patching the hole and disclosing the hole's existence to encourage people to patch their software

        This is the arena where the "bad" in "STOIB" is "evil" or at least damaging to other people. In this example, you as the software author -caused- the hole in the other person's system, you should be the one to fix it or at least not prevent other people from fixing them.



      "STOIB" only involves Intellectual Property if you claim that the only way to combat STOIB is to be Open Source and this is definitely the hardline. However, closed systems can still issue patches and disclose security issues without giving out their IP.
      --
      It is more productive to voice thoughtful opinions (reply) than to judge (moderate) others.
    25. Re:I've changed my mind by 5KVGhost · · Score: 2, Insightful

      If you define all non-physical security measures as being "obscure" then I suppose your argument is correct, but I think most people would find that definition inadequate.

      Passwords and encryption, to use your examples, are exactly the opposite of security through obscurity. Both are pro-active measures taken by responsible parties to reduce the risk of intrusion. The "obscure" counterparts to these measures would be using obvious or default passwords, enabling anonymous access, and failing to enable encrypted communications, all while hoping that no one notices.

      Any security measure can be poorly implemented, whether it's physical, electronic, or purely psychological. To know the difference between a good implementation and a bad one it's necessary to know the vulnerabilities inherent in your methods and equipment. That lock on the door may seem like the perfect choice until you discover that it's easily picked. Witholding that information from the owners and potential owners of the faulty lock doesn't protect them from anything, it just gives a false sense of security.

      The really Bad Guys don't need to consult BugTraq to discover vulnerabilities. I'm sure some of them do, but if open discussion of the bugs is prohibitied then there are plenty of alternate sources for that sort of information. And while individuals may prefer to attack only high-profile sites, there's nothing guaranteeing that; and once an exploit is sufficiently automated there's no way to know where it'll turn up next.

    26. Re:I've changed my mind by Bronster · · Score: 2

      "Security through obscurity is bad!" What other forms _are_ there? Passwords and encryption _is_ the same as obscurity.

      Huh? You obviously thought long and hard about this one. Let me try to keep it simple.

      * Security through passwords - there is something hard to guess which you and your computer know. If anyone else guesses this, they get access.

      * Security through 'obscurity' with exploitable software - there is something which anyone can download which contains the information required to access your system without guesswork.

      * Not telling someone when there's a hole that $BADGUY knows of a piece of software they're running (until the patch gets out),

      IS LIKE

      * not telling someone that you've discovered that $BADGUY knows their password (until you kill $BADGUY).

      Seriously, if you know that someone's password is compromised, you tell them immediately so they can disable the account or change their password. If you know that someone's software is compromised, you tell them immediately so they can disable the server or change their software .

      *plink*

    27. Re:I've changed my mind by Bronster · · Score: 2

      <tt>ftp-data 20/tcp</tt>
      <tt>ftp 21/tcp</tt>

    28. Re:I've changed my mind by Syberghost · · Score: 2

      those holes don't normally get broadcast on /.

      So what? You think there's a malicious script kiddie out there who's going "damn, I'd love to own some 5y5t3mz, but I can't find any exploits on Slashdot. Guess I'll go play Nintendo."?

      The exploit wasn't news when it went on Slashdot, it was history. The pushback from CERT and various Linux distributions was the news item.

    29. Re:I've changed my mind by Tassach · · Score: 2
      Given wu-ftpd's track record for (in)security, whyinthehell do you use it? A notoriously insecure, widely exploited program (IIS, Sendmail, wu-ftpd) cannot be trusted on a secure system, particularly if there is a secure alternative (Apache, qmail, pro-ftpd). If a program is so shoddily coded that a new security bug crops up every six months like clockwork, simply applying the patches in a timely manner isn't enough to keep a system safe.


      Security has to be designed into a product from the get-go; tacking it on as an afterthought is a recipe for disaster.

      --
      Why is it that the proponents of "one nation under God" are so eager to get rid of "liberty and justice for all"?
    30. Re:I've changed my mind by bapink01 · · Score: 2, Funny

      When I think of security, I think of pants. How can you be secure wearing a kilt. I mean sure sensitive areas are somewhat hidden, but not secured.

      If using a product exposes holes as big as a kilt will then I want to know. Then I can change clothes or avoid windy sidewalks.

      Definition of security thru obscurity: http://www.tuxedo.org/~esr/jargon/html/entry/secur ity-through-obscurity.html

    31. Re:I've changed my mind by GypC · · Score: 2

      Ummm, no, they learn about it on IRC way before it gets posted to bugtraq.

    32. Re:I've changed my mind by Snowfox · · Score: 2
      Would have been nice to give the maintainers on a few other distro's time to close the hole before broadcasting this to the script kiddies

      Until 5 mins ago I was a beleiver in complete disclosure,

      But with 6 wu-ftpd boxes to admin I'm not so sure any more.

      Hope I see a fix today.

      Your comment didn't make any sense until I saw that last line. You're sitting and waiting for a fix to come to you!? If you worked for me, you'd be fired already! If you were a friend, I'd kick ya and take yer DSL away!

      Your first action on learning about a security problem is to disable the daemon and look for a fix or a replacement ASAP. With something like an ftp server, there are literally dozens of other options available to you.

      Your first line of action on learning that a security hole has existed on your machine for a lengthy time, as is what happens with delayed disclosure, is to forcibly pull every last network cable and power plug, mount the drive's filesystem on another machine and tear the system apart piece by piece, auditing everything.

      Passively sitting and hoping for fixes "some time soon, if you please" is not a viable approach network security, and it frustrates me just to read that!

    33. Re:I've changed my mind by reflective+recursion · · Score: 2, Interesting
      For example, say I develop a new top secret encryption scheme, called Rot-13. I tell no one of how it works. Since I am not a professional cryptographer, the chances are my algorithm is not cryptographically sound. So it is only secure as long as its method is secret. Once the secret is out, its security is gone. This is security through obscurity.
      Okay, but you still have some security there (not very much of course).
      An example of the opposite would be RSA. The algorithm is well known, therefore with peer review, it is thought of as secure. Even though I know how RSA works, I'm still unlikely to be able to crack it if used properly.
      I believe this is flawed thinking in regards to security. I'm sure you have seen the many times on Slashdot that such-and-such method of encryption, which everyone believes to be the most superior, gets cracked in a matter of days. Then I hear "it was cracked by a team" or "it took 4 days." This lessens the impact and makes it appear as if RSA is still very secure.

      I believe it is a huge flaw to think RSA will keep you safe because it is well known and peer-reviewed. It may be secure from those script kiddie attacks, which would only install an IRC bot or maybe erase your hard drives. It is not secure if you ever run into someone with a strong motivation to get into your system. The same strong motivation that was able to break the such-and-such encryption in only so many days.

      Another problem with open security methods is that they can be detected. If you don't tell anyone what encryption method you are using on a certain site then it will be hard to break in. Now, if you don't tell anyone (obscurity), but you use a well known algorithm (peer-reviewed) then your security method is more easily detected. Crackers will pick up on certain reoccuring bit-patterns, the length of the encryption key or a number of other things. What happens is most sites proudly state "using PGP encryption," or something similar. Which is not really security at all, but just prancing around saying "we are hiding our private stuff in bank X, bet you can't get it!" And most people using PGP or some such are using it for meaningless data which does not need security.

      I feel a big part of this debate is people have some sort of urge or agenda to make all software open. If "security through obscurity is bad" really means "proprietary software vs. open software" then we should skip the debate about security and look at facts about software methods producing secure software.

      Those facts for wu-ftp are:
      - wu-ftp is open and peer-reviewed
      - wu-ftp had a serious flaw
      - wu-ftp's flaw was released publicly
      - wu-ftp is (was?) not yet patched on most systems

      This is a repeating pattern among free software. It has happened more times than I can remember with just the Linux kernel itself. It also happens with sendmail and bind more than I would like to know about. And today someone will surely believe that wu-ftp is secure now that is patched. This is what I call "security after the fact." Which, to me, seems what the open software crowd is more concerned with than "security before the fact."
      --
      Dijkstra Considered Dead
    34. Re:I've changed my mind by Garc · · Score: 2
      Then I hear "it was cracked by a team" or "it took 4 days." This lessens the impact and makes it appear as if RSA is still very secure.

      When an application that uses RSA (or any other "real encryption") is cracked, it is due to an implementation flaw (bad random number generator, etc), and not a bad algorithm. To my knowledge no one has yet been able to find a fast way to factor the product of two large prime numbers.

      I believe it is a huge flaw to think RSA will keep you safe because it is well known and peer-reviewed. It may be secure from those script kiddie attacks, which would only install an IRC bot or maybe erase your hard drives. It is not secure if you ever run into someone with a strong motivation to get into your system. The same strong motivation that was able to break the such-and-such encryption in only so many days.

      If someone is that motivated to break into my system, I certainly want to protect my data with a well known encryption scheme. If they are skilled enough to quickly factor the product of two large prime numbers, they certainly can break Joe Bob's Super Good Encryption Scheme (TM). The only disadvantage I can see to using RSA instead of JBSGES, is that they have somewhat of a head start with RSA, in that they know what they have to do. With JBSGES, they have to figure out what it does, which might actually take awhile, but once they figure it out, the chances are it won't be as robust as RSA.

      Also, note that I could write my own implementation of RSA, that wouldn't use headers or any other information to give out the fact that it's RSA. This takes away any advantage that JBSGES might ever have had.

      I feel a big part of this debate is people have some sort of urge or agenda to make all software open. If "security through obscurity is bad" really means "proprietary software vs. open software" then we should skip the debate about security and look at facts about software methods producing secure software.

      I was not thinking of software at all, only algorithms. I do agree with you, and your examples, that open souce software is not inherently more secure.

      One big difference between open encryption schemes, and OSS, is that even though they are both open to review, you usually see encryption getting more "professional" scrutiny. This is probably because once published, it remains stable, instead of constantly shifty like OSS. Also, if you don't feel that an algorithm has been reviewed enough, you can always use one of the older, better reviewed methods! regards,
      garc

    35. Re:I've changed my mind by Garc · · Score: 2
      Then I hear "it was cracked by a team" or "it took 4 days." This lessens the impact and makes it appear as if RSA is still very secure.

      When an application that uses RSA (or any other "real encryption") is cracked, it is due to an implementation flaw (bad random number generator, etc), and not a bad algorithm. To my knowledge no one has yet been able to find a fast way to factor the product of two large prime numbers.

      I believe it is a huge flaw to think RSA will keep you safe because it is well known and peer-reviewed. It may be secure from those script kiddie attacks, which would only install an IRC bot or maybe erase your hard drives. It is not secure if you ever run into someone with a strong motivation to get into your system. The same strong motivation that was able to break the such-and-such encryption in only so many days.

      If someone is that motivated to break into my system, I certainly want to protect my data with a well known encryption scheme. If they are skilled enough to quickly factor the product of two large prime numbers, they certainly can break Joe Bob's Super Good Encryption Scheme (TM).

      I feel a big part of this debate is people have some sort of urge or agenda to make all software open. If "security through obscurity is bad" really means "proprietary software vs. open software" then we should skip the debate about security and look at facts about software methods producing secure software.

      I was not thinking of software at all, only algorithms. I do agree with you, and your examples, that open souce software is not inherently more secure.

      One big difference between open encryption schemes, and OSS, is that even though they are both open to review, you usually see encryption getting more "professional" scrutiny. This is probably because once published, it remains stable, instead of constantly shifty like OSS. Also, if you don't feel that an algorithm has been reviewed enough, you can always use one of the older, better reviewed methods!

      regards,
      garc

    36. Re:I've changed my mind by Garc · · Score: 3, Informative

      If you consider a safe to be secure, even when its location is known, then it really isn't security through obscurity. Don't get me wrong, the fact that its location is unknown helps. Keeping something secret can help, but only if it would be secure even if it wasn't a secret. An example of this is the RSA-like encyption that the NSA developed years before it was discovered by the public.

      regards,
      garc

  3. linuxtoday.com by jonsmirl · · Score: 2, Interesting

    Is this how Linuxtoday was just hacked?

  4. Re:Nice. by Wells2k · · Score: 2, Insightful
    Perhaps, but think of it in another way. Redhat is trying to protect their own customers by producing and releasing a fix as soon as possible. The fact that other distributers are falling behind on this mark is truly not their fault.


    You don't see Microsoft doing this, do you? :)

  5. My favorite quote by Reality+Master+101 · · Score: 3, Interesting

    The problem, known in security circles as the wu-FTP Globbing Heap Corruption Vulnerability, allows attackers to get remote access to all files on a server, provided they can access the FTP service.

    Whew! Your whole system is only wide open if you can access the FTP service. That makes me feel better!

    --
    Sometimes it's best to just let stupid people be stupid.
    1. Re:My favorite quote by mattdm · · Score: 2

      That's not so unreasonable. The vast majority of boxes have little reason to run an ftp server -- it should be disabled on most machines anyway. (scp/sftp is a good alternative in many cases, and of course there's always http, which, although there's obviously lots of potential for problems there, at least isn't such a pain with firewalls).

    2. Re:My favorite quote by csbruce · · Score: 2

      Your whole system is only wide open if you can access the FTP service.

      That's not a problem to me, as I would never expose an FTP port to the outside world. The FTP protocol is inherently difficult to secure and it has outlasted its usefulness. For outgoing data, you can just use HTTP. And public access for incoming data just means that you will be hosting gigs of ripped movies and porn. FTP should be filtered at the firewall and made available to trusted hosts only.

    3. Re:My favorite quote by great+throwdini · · Score: 2, Interesting

      For outgoing data, you can just use HTTP.

      I don't think routing all data transfer through HTTP is a panacea... perhaps it offers better "out of the box" security than your average FTP service, but your comment smacks of the tendency to run with port 80 hashed and rehashed earlier on Slashdot.

      You're comments are spot-on as far as trust and public access are concerned, I simply question the view that HTTP is a simple (and better) replacement for FTP. Obviously, FTP implementations have their issues (and *big* ones, too) with security, but to me, HTTP can't really offer all that FTP does in terms of file transport.

      Please correct me if I'm wrong.

      Minor unrelated peeve: why is it that Slashdot's search indexing exclude words of fewer than four characters in length? Silly ... I couldn't search for XML as a keyword, and had to hope that SOAP made due appearance in the article I reference.

    4. Re:My favorite quote by psamuels · · Score: 5, Insightful
      I simply question the view that HTTP is a simple (and better) replacement for FTP.

      For uploads, FTP is still probably better, if only because nobody seems to use the HTTP PUT command.

      For downloads, though ...

      • both require a new connection for each dir listing or file transfer - except HTTP/1.1 which can reuse a connection. HTTP wins.
      • FTP requires an additional TCP connection for the control info. More setup and teardown cost. HTTP wins.
      • Many sites are already running an HTTP server, so using that for file transfer means one less daemon. Mitigated by running ftpd out of inetd, which most people do, but still ... HTTP wins.
      • HTTP can use auth methods other than plaintext, and can easily have different sets of auth'd users in different directories (without using Unix permissions, which can occasionally get clunky, or you can use Unix permissions if you prefer). FTP only has user/password/account auth, and nobody uses the "account" part anyway. HTTP wins.

      What are the advantages to FTP for downloads (especially anonymous, but also authenticated)? I honestly can't think of any ATM.

      --
      "How can you claim that you are anti-crack, while still writing a window manager?" — Metacity README
    5. Re:My favorite quote by great+throwdini · · Score: 2, Interesting
      • both require a new connection for each dir listing or file transfer - except HTTP/1.1 which can reuse a connection. HTTP wins.

        Only for 1.1 ... I don't see the viability yet.

      • FTP requires an additional TCP connection for the control info. More setup and teardown cost. HTTP wins.

        OK. I guess I'm more concerned about access (how people get files) more than anything else. HTTP/1.1 (which I see as offering the tools needed to surpass FTP) may have to make use of a second connection at times, IIRC, though.

      • Many sites are already running an HTTP server, so using that for file transfer means one less daemon. Mitigated by running ftpd out of inetd, which most people do, but still ... HTTP wins.

        I'll grant this, too. But where's the application support beyond "see the file, click on the link"? Please point me in the direction of a robust and well-supported HTTP agent that can duplicate the functionality of any standard FTP client. Please.

      • HTTP can use auth methods other than plaintext, and can easily have different sets of auth'd users in different directories

        I'm not so certain about this. I haven't seen many auth methods implemented in clients other than https, where you incur certificate fees and more mess than "just one less daemon" implication.

      What are the advantages to FTP for downloads ... I honestly can't think of any ATM.

      Well... implementation-specific, but:

      1. Error recovery and restart from an arbitary point in a given file;
      2. Recursive download;
      3. On-the-fly authorization switching (USER command);
      4. variable -- APPENDing, unique filename, overwrites, allocation requests, etc. -- storage (ok, this is for uploads, but...); and
      5. The flexibility of a system built for file transfer... this is what I'm looking for and it is difficult to describe succinctly. Is there an HTTP client as friendly and flexible as FTP as far as the mechanics of file access is concerned?

      To name a few. Some of this could be implemented using HTTP/1.1, or with a smart HTTP client... but where is it? Maybe for single-file downloads and a willingness to kludge together webpages to present data, but that's not enough. It could be, but I haven't seen anything really flexible.

      The flexibility in presentation and access could exist, but until it does, FTP will not be displaced, IMHO. I'd love to be proven wrong, though.

    6. Re:My favorite quote by psamuels · · Score: 2
      HTTP/1.1 (which I see as offering the tools needed to surpass FTP) may have to make use of a second connection at times, IIRC, though.

      Really? I've never heard that. I've always thought HTTP did everything in-band.

      But where's the application support beyond "see the file, click on the link"? Please point me in the direction of a robust and well-supported HTTP agent that can duplicate the functionality of any standard FTP client. Please.

      Point taken. I guess the difficulty is that nobody has thought to build an interactive HTTP client that assumes "nothing on the page is really useful HTML, just snarf the links and assume they are files in a directory". Not insurmountable, by any means.

      Speaking of "useful HTML", note that HTTP has one feature over FTP that I forgot about until now. Content-type! The server can be configured to know what its own content types are. With FTP, the client has to guess if the files are binary or ascii, which blows chunks, and doesn't allow for finer-grained content types - you end up relying on "well-known" filename extensions, which is confining.

      I'm not so certain about this. I haven't seen many auth methods implemented in clients other than https

      What? You've never tried to go to a page and been presented with a pop-up box asking you for user and password for such-and-such an authentication domain?

      HTTP defines the "Auth-Type" header, with the two commonly supported methods "Basic" and "Digest" (the latter does not send cleartext passwords). The web server can trigger an auth request for any page it wants to, and popular web servers have ways to tie this in to your system user list, a custom list, a user database query, etc.

      Of course you also have cookie-based authentication, which you just now used to post to Slashdot. And URL-based "poor man's cookies".

      1. Error recovery and restart from an arbitary point in a given file;

      Several command-line http clients implement "reget" functionality using the "Range" or "Byte-Range" (whatever it's called) HTTP header, which I think (but am not sure) even /1.0 supports.

      2. Recursive download;

      Again, command-line clients like GNU wget usually support "suck mode" where they recursively follow links from pages downloaded as long as the links stay within a base URL. You can easily pull down a whole web site that way if you wish, assuming none of it is server-parsed. No reason a more interactive client couldn't do the same.

      3. On-the-fly authorization switching (USER command);

      Hmmm, there's one I truly hadn't thought of. Again, the HTTP protocol support is there, using the "Auth-Type" header.

      5. The flexibility of a system built for file transfer... this is what I'm looking for and it is difficult to describe succinctly. Is there an HTTP client as friendly and flexible as FTP as far as the mechanics of file access is concerned?

      There's the problem, and there is where you've convinced me that FTP is not dead yet. Nobody has written a proper interactive HTTP download client that doesn't look and act like a web browser.

      --
      "How can you claim that you are anti-crack, while still writing a window manager?" — Metacity README
    7. Re:My favorite quote by adolf · · Score: 2
      Nobody has written a proper interactive HTTP download client that doesn't look and act like a web browser.

      Try lftp. It's a featureful FTP client with a remarkably simple textual interface. Most, if not all, of its commands also work transparently with HTTP URLs. Things such as reget, bandwidth throttling, mirroring, and a few other fairly nice toys seem to work justfine for me with HTTP.

      -

  6. CERT and private lists by SClitheroe · · Score: 5, Interesting

    You all bashed Microsoft the last time around for not immediately and publicly notifying users of an exploit, they, prefering instead to ready a fix before the exploit was common knowledge.

    So, once again use an occasion such as this to resoundingly denounce the fact the CERT, and major Linux distros other than Red Hat, have chosen to do the essentially same.

    I suspect that the complaints of this type of behavior will be much less in the case of CERT, since Microsoft's disclosure policies simply allow slashdotters to take pot shots at MS, but we'll see...The shoe's on the other foot this time.

    1. Re:CERT and private lists by Ambassador+Kosh · · Score: 2, Insightful

      This absolutely should have been released as soon as it was found. And shame on CERT, Redhat, WU-ftpd authors etc for trying to hide it. This is inexusable because the crackers and kiddies have probably had it for several weeks now. If you find a security flaw report it immediately publically so that those that could be affected can turn off the service if that is what it takes.

      However considering the quality record of wu-ftpd if you are running it on your box you don't care about security already so it could be worse. Overall people should probably be use proftpd or maybe even zope for their ftp server.

      On a plus note there are wu-ftpd packeges in incoming for sid and those might have the fixes people need to debian boxes. If you are running wu-ftpd and refuse to use something else try those.

      --
      Computer modeling for biotech drug manufacturing is HARD! :)
    2. Re:CERT and private lists by Znork · · Score: 2

      Every distribution can provide a supported and working fix for this within seconds: _turn off ftp and wait for a patch_.

      If exploits come out an immense amount of damage can be done within the timeframe from exploit discovery and patch release. I do not want to get haxxored during that time.

  7. Whats ethical? by L-Wave · · Score: 3, Insightful

    This raises the question of ethics, is it more ethical to keep quiet about a hole in software that people run / store important data until its fixed, or is it ethical to tell the public in which case the people affected become "more" vulnerable?

    Personally, i would rather be told of the hole, and advised to turn off the daemon, as opposed to running the daemon and not knowing about the hole.....some people think ignorance is bliss.....not me. =)

    --
    I SURVIVED THE GREAT SLASHDOT BLACKOUT OF 2002!
  8. Another globbing bug? by Hiro+Antagonist · · Score: 2, Flamebait

    AIRC, this type of exploit has been the bane of WuFTPD's existance; one of the reasons I switched to ProFTPD some time ago. Much better security history.

    Besides; if you're running a public FTP and it's not in a chroot jail, you are a moron anyways.

    --

    --
    I Hit the Karma Cap, and All I Got Was This Lousy .sig.
    1. Re:Another globbing bug? by LS · · Score: 5, Interesting

      Ok, so what level of security on someone's box makes them no longer a moron? Is there a canonical list of things I must do to secure a box so that I am no longer a moron? To be honest, I run my own box for personal use, and learning anything more than basic security takes more time than it's worth. Please let me know where I can go to learn what it takes to build a secure box as defined by non-moron security experts.

      LS

      --
      There is a fine line between being a cultivated citizen and being someone else's crop. - A. J. Patrick Liszkie
    2. Re:Another globbing bug? by gclef · · Score: 2, Informative
      Well, unfortunately, the definition of "moron" is a bit of a moving target. Something that was fine yesterday may not be such a good idea today (this situation's a great example of that).

      For the most part, the general canon of "don't run things you don't absolutely need, and keep the ones you need up to date" will take you pretty far. If you can prevent your machine from accepting incoming connections (ipchains/iptables/ipf/whatever, assuming you're not running a server from your "personal use" box), that helps a lot.

    3. Re:Another globbing bug? by LinuxHam · · Score: 2

      The quickest way to secure a box is to run a firewall script. Even though its a script for building ipchains-based firewalls, I still use PMFirewall on all the boxes I want to tighten.

      It wants to have two interfaces, an external one and an internal one. On boxes with only one NIC, I specify the LAN-connected interface as the external one, and loopback as the internal one.

      --
      Intelligent Life on Earth
    4. Re:Another globbing bug? by bad-badtz-maru · · Score: 5, Informative

      Learn more about security before offering advice:

      Breaking chroot jail:
      http://www.bpfh.net/simes/computing/chroot-break .h tml

      Proftpd globbing bug:
      http://www.linuxsecurity.com/advisories/other_ad vi sory-1223.html

      maru

    5. Re:Another globbing bug? by fanatic · · Score: 3, Informative
      I run my own box for personal use, and learning anything more than basic security takes more time than it's worth.

      Maybe to YOU, how about all the other people who will get nailed when YOUR box is hacked and used in Distributed Denial of Service attacks? How about the emabarassment of discovering your box being used as a drop point for many megs of porn for sexuality other than your own? How about all the webmasters who have to put up with probes (at least) from your box after it catches the latest worm? How about your ISP being notified that you've committed criminal activity against another computer because a cracker cracked you and used your box as a springboard?

      If you can't be bothered, take your box of the internet, PLEASE.

      Steps to a (more) secure box:
      1. issue netstat -apn (adjust for parms allowed in your netstat, but if -a doesn't work, get a new one; if -p doesn't work and you're running a recent version of Linux, you've probably *already* been cracked). Understand every single tcp or udp entry. Turn off any you don't need.

      2. set up a firewall on your machine. Deny all incoming connections by default, then permit only the protocols you need from the endpoints you need to permit them from. For example, I permit http from anywhere. I permit ssh on my home box only from the outer address of the firewalls at work - and this is a good thing because ssh at one point had a hole, so I'd cut my vulnerability way down.

        Turning off unneeded services, then firewalling (actually, packet filtering) to allow only known-good protocols is 'defense in depth' - the odds of screwing up in both places the same way are smaller than for either one singly.

      3. if you're using Linux, Bastille Linux is a useful script (or set of scripts) that will help you secure your machine and teach you about the process at the same time.

      4. Subscribe to a security mailing list or two (CERT and Bugtraq are good). When you see something you're using there, fix it.


      Interesting story: I was doing work on a box for a guy who only had *dial-up* access and only used it to send/receive email and browse a little. He was cracked, which I discovered when his netstat wouldn't take the -p option (his version had been replaced after he was cracked, which is common - the crackers replace common utilities with versions specifically written to *not* show their activities on your machine). Ooops - time to reformat and re-install. The fact that you are on a slow link or you are obscure doesn't help much - the script kiddies pick a block of IP addressess at random and scan them all for their vulnerability du jour - if you have it, you're toast.
      --
      "that's not encryption - it's a new perl script that I'm working on..." - from some Matrix parody
    6. Re:Another globbing bug? by fanatic · · Score: 2

      Actually, step 2 should have been step 1 - it's quicker with less risk of turning off something you need. (but do it in console mode untill you;'ve got a firewall script that permits everything on lo0 (127.0.0.1, internal interface) - otherwise, X dies and your GUI doesn't like that.

      --
      "that's not encryption - it's a new perl script that I'm working on..." - from some Matrix parody
    7. Re:Another globbing bug? by The+Dev · · Score: 2

      You permit packets from anywhere to get through as long as they have port 80 as the source port? What fun!

      I recommend using stateful filtering rules like the keep-state function in FreeBSD ipfw. If you diddn't recently initiate the connection to port 80, you don't want traffic from port 80 coming back to you!

    8. Re:Another globbing bug? by fanatic · · Score: 2

      You permit packets from anywhere to get through as long as they have port 80 as the source port?

      I run apache, so I permit sessions initiated to my destination port 80.


      If you diddn't recently initiate the connection to port 80, you don't want traffic from port 80 coming back to you!

      If you didn't initate a connection to port 80, if a "response" comes back from port 80, the tcp/ip stack will reject it. You don't need a firewall for that.

      --
      "that's not encryption - it's a new perl script that I'm working on..." - from some Matrix parody
    9. Re:Another globbing bug? by Asic+Eng · · Score: 2
      I think his point is: none if this should be the task of the user. When you buy a distribution and install it, then your box ought to be secure.

      Sure, to build a distribution that actually provides that is a very difficult task, but it's really not fair to blame software errors on the user.

      It's easy to say "the user ought to have installed with esoteric method x" whenever some bug is found, but that's really not good enough. The pressure should not be on the user, it should be on the distributor - be that Redhat or Microsoft or SuSE.

      Most people who have DSL connections don't have sufficient knowledge to follow CERT or Bugtraq, and even if they do, they don't want to invest the time.

      We can complain about this fact, as much as we want, but this will not change the situation.

      It's important to make internet connected machines secure (if only because of the collateral damage through DOS etc). If you rely entirely on user-level security for this, then you have already lost.

    10. Re:Another globbing bug? by fanatic · · Score: 2

      When you buy a distribution and install it, then your box ought to be secure. Sure, to build a distribution that actually provides that is a very difficult task, but it's really not fair to blame software errors on the user.

      I see your point. I think some vendors are moving this way from what I hear, with the option to installl packet filters at install time and fewer services on by default (I haven't installed a distro since rh6.2, so this is from what I hear, not from what I know).

      If distros turned up with all services off, (the OpenBSD approach) and the instructions/tools used to turn them on contained information and warnings, that would help.

      --
      "that's not encryption - it's a new perl script that I'm working on..." - from some Matrix parody
  9. Re:Nice. by dlek · · Score: 5, Interesting
    According to the CNET article, Red Hat did this by mistake, and they apologized.

    I'm somewhat surprised--but either way it brings the unresolved question of disclosure bubbling to the froth again.

  10. Why should they wait? by imrdkl · · Score: 2
    Playing the waiting game with the rest of the crowd could possibly increase Redhat's eventual liability to their own customers, even if it was the right thing to do.

    Business is business.

  11. that;s the beauty.. by Lumpy · · Score: 2

    if you have a clue you can have the fix now.
    download the sources and install. simple and effective.

    Hiding the fact there's is a security flaw only gives the black hats that much more time to use the exploit un-noticed.

    It's time to thow out the "leaders" in this industry and start replacing them with men and women with scruples.

    --
    Do not look at laser with remaining good eye.
  12. Magic Lantern... by cperciva · · Score: 2, Offtopic

    Am I the only person thinking that strategically placed "dumb coding mistakes" might be the real story behind Magic Lantern?

  13. Re:Nice. by Pxtl · · Score: 5, Troll

    Plus, its pretty bad since whenever micorosoft gets something like this, people get pissed off if they take more then a weekend on it. Here, they took almost a week longer then RedHat, makes you wonder how long this sploit was in hacker circles, and how long the distros knew about it. Whatever happened to the claims of fast reaction in the opensource industry vs. old-skool business?

    This isn't a troll, but an honest question - what tookem so long, and why didn't they just throw it open to end-users to protect themselves (like closing down ftps in worst-case) like is supposed to be standard practice?

  14. WuFTPD has poor security history by augustz · · Score: 2

    My god, the security history of wu is pretty bad. I wish vendors would ship default network services with an eye towards proven servers that were designed with security in mind.

    Wu-ftp/BIND/Sendmail does NOT make me confident.

    And quit carping on RedHat, probably just an error, and this bug was reported to ALL the vendors some time ago.

  15. People still trust Wu-ftpd? by Azar · · Score: 4, Informative

    I gave wu-ftpd the boot ages ago. I can't understand why people would still trust this buggy, bloated "just asking for trouble" piece of software. There are better alternatives.

    PureFTPD (based on TrollFTPD)
    ftpd-BSD (port from OpenBSD)
    Virtual FTPD (based on ftpd-BSD)

    are all good examples of decent alternatives. I've even heard good things about vsftpd.

    Some people (myself not included) even consider ProFTPD to be a viable alternative.

    How can people still trust software that has had more holes in it then the finest Swiss Cheese?!

  16. Why use Wu-ftpd by niekze · · Score: 2, Informative

    I'm not a security expert by any means, but...here is my list of horrible things to run:

    1. sendmail
    2. bind 8
    3. Wu-ftpd.

    There are replacements for each. Djbdns will give you $500 (IIRC) if you find an exploitable bug in their code. Proftpd, lukemftp, and the bsdftpd are all *much* better replacements for Wu-Ftpd. Sendmail...i can't remember, but there are replacements.

    Nevertheless, bind should be run in a chroot jail. Doing things like that makes a bind hole useless. Please uninstall Wu-ftpd and use a replacement. Finally, if you don't need to run it, DON'T!

    --


    Chaos, Mayhem, and Destruction: Not
  17. This should have been public knowledge... by Brendan+Byrd · · Score: 3, Insightful

    Well, I'll bash MS, and I'll bash the GNU and Linux guys for the same thing. Why was this not released SOONER?

    The people who would really use the exploit already know about it in their cracker circles, so why are we limiting the public in this knowledge? Just tell us and we'll shut down the FTPs or temporarily switch the access to a different daemon while you write a patch for it.

    Again, this is security by obsurity, and shame on the OSS community for trying to hide it!

    1. Re:This should have been public knowledge... by ryanr · · Score: 2

      Well, I'll bash MS, and I'll bash the GNU and Linux guys for the same thing. Why was this not released SOONER?

      Because the people who discovered it didn't want it released before the patches were out.

      Again, this is security by obsurity, and shame on the OSS community for trying to hide it!

      Who says the OSS vendors had anything to do with the waiting? If software vendors want some notice on holes, then it's only right that if the discoverer of the hole wants to wait for patches, the software vendors should respect that.

    2. Re:This should have been public knowledge... by Brendan+Byrd · · Score: 2, Insightful
      Because the people who discovered it didn't want it released before the patches were out.

      Patches, smantchs...the only people who DON'T know about the bug are the sys admins with the servers! All of the script kiddies and crackers knew even before the guys at Wu-FTP knew! Waiting for a patch and not telling people about this major security hole is just inviting crackers to hack in and root the server!

      Who says the OSS vendors had anything to do with the waiting? If software vendors want some notice on holes, then it's only right that if the discoverer of the hole wants to wait for patches, the software vendors should respect that.

      Again, it's better to disable the FTP server or change the daemon while waiting for a patch, than letting a server sit WIDE OPEN for somebody to rip it apart! This whole situation is simple logic.

  18. how would you exploit this, though? by tim_maroney · · Score: 3, Insightful

    The attacker must ensure that a maliciously constructed malloc header containing the target address and it's replacement value are in the right location in the uninitialized part of the heap. The attacker must also place shellcode in server process memory.

    Color me stupid, but that doesn't sound too feasible for a remote hack. How would you muck with the malloc heap this way? DoS, maybe, but unless there's something I'm missing, not too great for root access. Let me know if there's something I'm missing.

    Tim

    1. Re:how would you exploit this, though? by tim_maroney · · Score: 2

      The exploit seems to require a great deal of preparation, in-depth knowledge of software, and some other form of access to the target host.

      Yeah, it seemed to me that the requirement that you be able to write into process memory made this a no-op. It's kind of like a way to pick a lock that requires you to already be on the inside of the door. If you can write into process memory, don't you already pretty much have the keys to the kingdom? But it's not the easiest thing to get.

      Again, if I'm missing something here, please set me straight gently. Maybe there are standard clever hacker tricks for exploiting deallocation of unallocated pointers. But I've been programming (legitimately) for twenty years and I don't know how I would make use of this to do anything but risk a crash, unless I already had so much access that I wouldn't need this trick.

      Tim

    2. Re:how would you exploit this, though? by pete-classic · · Score: 2

      I think that the point is precisely that it is possible to form a request that overruns the available buffer. What's after the buffer? Something. Maybe something important.

      I'm not an expert on doing this, but I know a little assembly, and it is quite feasible to do this remotely, with no access to the server. It is even possible to make something "useful" happen (like getting a remote root shell) if you have the same binary available to play with (and a debugger and a lot of free time).

      For a general overview of how this sort of thing is done see this page. (Note that there is nothing disgusting on this site. Just some ASCII cows and some screen shots of windows crashing. Well, maybe kind of disgusting.)

      -Peter

    3. Re:how would you exploit this, though? by WasterDave · · Score: 2

      This is not a fucking skript kiddie quick hack.

      Yeah, but it can become one soon enough. All they need is for someone to release a... errrr... script.

      If you're a true BOFH, you shouldn't have any trouble with this hole, because you've already disabled wu-ftpd.

      Well, yeah. That's obviously job number 1. Job 2 is to find an ftp daemon that doesn't suck.

      Dave

      --
      I write a blog now, you should be afraid.
    4. Re:how would you exploit this, though? by Colin+Bayer · · Score: 2

      This sort of thing was alluded to in Phrack #57, Phile #8 (on the now-infamous "this doesn't seem to be exploitable" Sudo exploit)...

      here.

      Definitely not your average script kiddie's reading material (it includes an indepth breakdown of malloc() and its ilk), but worth a read if you're interested.

      --
      Want Linux games? HERE.
    5. Re:how would you exploit this, though? by Bronster · · Score: 2

      Job 2 is to find an ftp daemon that doesn't suck.

      All hardware sucks, all software sucks.

      v not >

  19. Stop using stupid C language by Far� · · Score: 3, Insightful

    Using the C language to implement anything else but the lowest-level layers of a system is plain incompetence, all the more when security is involved. The criterium is simple: if there is ANY use of dynamic allocation, you should use a safe language like OCAML, CommonLISP, Mercury, Perl, Python, etc. [Of course, C may be used when *implementing* the dynamic allocation].

    --

    -- Faré @ TUNES.org
    Reflection & Cybernet

  20. Re:Redhat by Todd+Knarr · · Score: 2

    It wouldn't be very cool of them to leave me vulnerable to a break-in when the fix is available. And the fix is available in the wu-ftpd package, regardless of whether the various distributors have packaged it for their systems, so I can install the fix even if my vendor hasn't gotten it's act together.

    My whole complaint with the non-full-disclosure movement is that vendors under it tend to not acknowledge that security holes exist (which means I can't even do something as simple as disable the vulnerable service until a fix is out) and delay putting patches out (so I'm either vulnerable or off the air longer than needed). I'd be more annoyed at CERT for not reporting the vulnerability than at RedHat for telling me about it.

  21. Marketing move, or horrible mistake? by LazyDawg · · Score: 2

    On the one hand, I can see Redhat getting into problems with people all over for un-leveling the playing field, breaking a gentleman's agreement with CERT, etc.

    On the other, this could easily and very vocally show RedHat, true or not, to be a good OS if you want to avoid security vulnerabilities. FUD victims could be saying to themselves, "These other guys sit on their hands for over a week?? I'm going to go with redhat!"

    Microsoft social engineers news stories like this all the time. Single examples that Lemmings treat as a global sample of productivity, security, programmers' skill, or whatever other wonderful thing the company wants to tote.

    --
    "Look at me, I invented the stove!" -- Ben Franklin
    1. Re:Marketing move, or horrible mistake? by Captain+Zion · · Score: 2

      On the other, this could easily and very vocally show RedHat, true or not, to be a good OS if you want to avoid security vulnerabilities. FUD victims could be saying to themselves, "These other guys sit on their hands for over a week?? I'm going to go with redhat!"


      Probably not a good move now that Red Hat will most likely be excluded from this private CERT list.
  22. more to the story by Phexro · · Score: 5, Informative

    item: the version of wu-ftpd that rh released was a pre-release from cvs. they changed the version number. this bug was fixed in cvs months ago.

    item: the securityfocus vuln-help people are supposed to help coordinate vendors & the software maintainers. they sent notification of the bug to the wrong address, so the wu-ftpd developers weren't even aware that there was a bug present until the day the rh advisory went out.

    item: there was supposed to be a coordinated advisory put out on dec. 3rd. rh preempted that, causing this nasty confusion.

    greg lundberg posted a big explanation of what went on to several mailing lists... it should be on the wuftpd-questions archive, but i don't see it there yet.

    also, see the news item at securityfocus about this.

    1. Re:more to the story by Sentry21 · · Score: 3, Informative

      the wu-ftpd developers weren't even aware that there was a bug present until the day the rh advisory went out.

      Come on, this is WU-FTPd we're talking about here. EVERYONE is aware there's LOTS of bugs. It's a given.

      What you should have said was 'the wu-ftpd developers weren't aware of this bug'.

      I mean, really, every time I bash WU-FTPd, someone tells me that 'WU-FTPd is no worse than proftpd'. C'mon guys, even if ProFTPd is as bad, at least it's not incredibly well known for being as bad. Let's pick a decent FTP daemon and stop defaulting to crap.

      --Dan

    2. Re:more to the story by Phexro · · Score: 3, Interesting

      how about "the wu-ftpd developers weren't aware that this bug was exploitable" - since it was discovered soon after 2.6.1 was released, but they decided not to fix it.

      don't get me wrong here - i don't use wu-ftpd, either. i use the openbsd ftpd ported to linux.

      i just felt that people should be aware that there was more to the story.

    3. Re:more to the story by 0xA · · Score: 2
      item: the version of wu-ftpd that rh released was a pre-release from cvs. they changed the version number. this bug was fixed in cvs months ago.

      RedHat did in fact pull a pre-release copy of wu-ftpd and mark it 2.6.1-16 but 2.6.1-0 was vulnerable as well. (RedHat does this, its' why I don't run RedHat) And this was in fact fixed in CVS on June 4th as part of a IPV6 update done by Ian Willis of Sun.

      However, there was never a patch posted to apply_to_current on wu-ftp's server. As far as the wu guys knew, this wasn't an exploitable bug.

      There was obviously a breakdown in the process here, this shouldn't have been released until the wu-ftp team was aware. Looks like it wasn't really anyone's fault, more of a "shit happens" type of thing.

      I hope by saying "this bug was fixed in cvs months ago" you aren't trying to say that the wu-ftpd team had already taken care of it, are you? You wouldn't really want to build a production server by pulling the latest source from cvs. I'm not sure if that's what you meant or not.

  23. Re:Please Explain, dude(ttes)... by Anonymous+DWord · · Score: 3, Informative

    http://www.tuxedo.org/~esr/jargon/html/entry/glob. html

    [Unix;common] To expand special characters in a wildcarded name, or the act of so doing (the action is also called `globbing').

    --
    "If he thinks he can hide and run from the United States and our allies, he's sorely mistaken." Bush on bin Laden
  24. Breech of Trust by aridhol · · Score: 2

    Did RedHat breech trust with CERT? There was an exploit, sent out to vendors, along with an agreement not to leak it until the 3rd.

    If there was a formal agreement not to release the information ahead of schedule, should this not be seen as a mark against RedHat?

    Unfortunately, there is only one punishment I can see for this. RedHat should be removed from the mailing list for a specific amount of time, but not permanently.

    The biggest problem I see with that is that it would hurt the customers, which is what we don't want.

    Does anybody else have an idea of a suitable remedy?

    --
    I can't say that I don't give a fuck. I've just run out of fuck to give.
    1. Re:Breech of Trust by The+Man · · Score: 2

      Actually I think all the vendors who agreed to delay releasing patches for a known severe problem have breached their customers' trust and should be punished. I would like to know what's going to be done to them. Maybe their customers should just stop doing business with them; that usually makes the problem go away on its own.

    2. Re:Breech of Trust by augustz · · Score: 3, Funny

      Give me a god damn break. If you had a CLUE about the facts in this case (which include incorrectly addressed email etc) you obviously would not be posting. Why not let the folks whos business this is, CERT, handle the 'punishment', and you go do something useful?

      RedHat has CONSISTENTLY done the Right Thing in a number of areas with respect to Linux. Despite a number of chances not to. This endless self-destructive attitude of the linux community, mainly centered with people who have yet to contribute a line of code anywhere I suspect, but who love waving their hand and yelling foul should stop.

      Seriously, I'd love to auto-mod down folks who don't contribute jack, but cause endless heartache on endless lists. Recently a flame war errupted when someing claiming to be one of the 10 people in the world who wanted to see the kernel improve came on and said linus should stop maintaining 2.5, despite the fact he'd yet to write a line of code for the kernel.

      Taking what trolls like this and the one above seriously undermines things.

      The irony is that the linux camp is all for full disclosure, so RH arguably did the RIGHT thing and let us all know of a problem we wouldn't have found out about till later.

  25. Know what you're doing. by rice_burners_suck · · Score: 3, Interesting

    I think it's better that Red Hat released the advisory ahead of time. The faster sysadmins, programmers, and other users know about remote root exploits, the faster the exploit can be closed.

    Of course, there are some folks out there who won't patch their system. For those people, advisories like this don't help at all. But then, if you're running anything important, you should take the time to learn how to properly configure and maintain the system. Trying to hide known exploits from the public only serves to make things more difficult and dangerous for those of us who DO know what we're doing.

    In other words, if you don't know what you're doing, you shouldn't be using a computer.

    OH WELL.

    1. Re:Know what you're doing. by WolfWithoutAClause · · Score: 2

      It's not like Red Hat released it deliberately, they've admitted they screwed up- everyone else was working on the fixes; right now its a race between the script kiddies and the fix grownups.

      >Of course, there are some folks out there who won't patch their system. For those people, advisories like this don't help at all.

      That's their problem. But:

      >But then, if you're running anything important, you should take the time to learn how to properly
      >configure and maintain the system. Trying to hide known exploits from the public only serves to make
      >things more difficult and dangerous for those of us who DO know what we're doing.

      No. Actually it depends on how well known the vulnerability is in the wild. If it's not well known then the chances of your box being rooted is very small. Right now there is total knowledge- the only thing that people can do is remove this service; assuming they are awake right now- heaven knows what people in India are going to do- their boxes are going to be seriously at risk.

      >In other words, if you don't know what you're doing, you shouldn't be using a computer.

      Yep, you, me and anyone else without true omniscience shouldn't be using a computer. Hardly a practical position is it?

      --

      -WolfWithoutAClause

      "Gravity is only a theory, not a fact!"
    2. Re:Know what you're doing. by teg · · Score: 2

      It takes a little time to test things, and this errata release shouldn't have happened. We (Red Hat) screwed up, which opened up a window where the vulnerability is known and not everyone has the fix ready. Delaying it a week, as we had intended would have avoided that window of oppurtunity for script kiddies.

    3. Re:Know what you're doing. by Mr.Phil · · Score: 2

      I don't think Red Hat screwed up, but should have had some type of patch out when the hole was discovered and was known to the kiddies...

      How about including another option for those who have to use ftp but don't want to get burned on the wu-ftpd exploit of the day? Red Hat already has postfix and whatnot available even though they install sendmail by default, how about the same with a "tighter" ftp server Teg? Not that I'm bitching... I've always used Red Hat on all my machines(except for that slight trip to Mandrake.. I'm sorry, it was flashy and shiny and all kids like shiny objects)

    4. Re:Know what you're doing. by teg · · Score: 2

      How about including another option for those who have to use ftp but don't want to get burned on the wu-ftpd exploit of the day?

      There already is one more ftp server in the distribution (the one from Kerberos), and if you look in Rawhide, you'll find vsftpd as well.

  26. Re:Please Explain, dude(ttes)... by Wee · · Score: 2
    I've never been able to figure out in laymans terms, much less technical terms WTF globbing is?

    I real basic terms, to glob is to expand a wildcard character to mean one or more characters. Like if you say something like "sudo rm -rf /*" that asterisk is expanded to mean "zero or more of any character". You might have also seen the question mark used. It means one single character. The Foldoc web site has a much better explanation.

    Oh, and while smarter people than I are explaining...the quote at the bottom (the one I see)...what is a Vegemite? Ever since that Men at Work song, I've wondered.

    Vegemite is a nasty product made of yeast extract. It's a brownish paste-like stuff which is spread on bread and the like. An Aussie could probably explain better. I tasted it just once (on a cracker), and that was enough for me.

    -B

    --

    Ash and Hickory, straight-grained and true, make excellent bludgeons, dandy for the cudgeling of vegetarians.

  27. Probably already in use by the kiddies... by Black+Art · · Score: 2

    Linux Today's web site was defaced just a bit ago. may be coincidence or it may be the same hole.

    What annoid me is that I read the warning on this and I could not make heads or tails what the actual cause of the hole was. And I am a programmer!

    Security warning by obscurity?

    --
    "Trademarks are the heraldry of the new feudalism."
  28. Shame by Syberghost · · Score: 3, Funny

    How dare those RedHat bastards fix a security problem early.

  29. Hypocrisy Detected!!! by Pinball+Wizard · · Score: 5, Insightful
    Now wait a minute. Here on /., MS gets slammed because they want bugtraq and whoever to wait before they publicize a security hold until a fix can be reasonably made.


    Now you guys are criticizing Red Hat for releasing information too quickly?!


    Make up your minds. Either it is a Good Thing to release this sort of information to the public or not. IMO, if CERT is withholding information to the public that just gives a wiley cracker that much extra lead time to perform exploits. Whereas if the info was just released in the first place, at least people could turn their FTP servers yet, or switch to something like pure-ftp, which has yet to be cracked.


    I agree with Red Hat on this one. They did people a favor by releasing the information.

    --

    No, Thursday's out. How about never - is never good for you?

    1. Re:Hypocrisy Detected!!! by x-empt · · Score: 2, Insightful

      Now wait a minute. Here on /., MS gets slammed because they want bugtraq and whoever to wait before they publicize a security hold until a fix can be reasonably made.

      Microsoft is bashed because they take so long to release a fix that they know will work. RedHat releases a FIX immediately when they know it works.

      Which company would you rather have a support / maintainance contract with ? Yeah, I thought so.

      CERT had knowledge of the bug, a patch available, and quality assured with that patch... yet they still asked for a delay in publicizing the bug. Why ? The question should not be about RedHat, who acted responsibly, but instead why CERT is causing holdups that allow people in the underground communities more time.

      Hmm... I wonder if the FBI, NSA, or CIA is on the list of "early notifications" .... FBI intel. probably uses these early notifications

      --
      Ever need an online dictionary?
    2. Re:Hypocrisy Detected!!! by fanatic · · Score: 5, Funny

      Tip for MSCEs: Samba and SSH will allow you to remotely administer a Windows network better than any Windows tool.


      Actually, IIS does a pretty good job of letting *everyone* remotely administer your Windows system.

      --
      "that's not encryption - it's a new perl script that I'm working on..." - from some Matrix parody
    3. Re:Hypocrisy Detected!!! by warpeightbot · · Score: 2
      I agree with Red Hat on this one. They did people a favor by releasing the information.
      As a diehard Linux guru and equal opportunity basher, I agree. My first thought was, "Way to go, Red Hat!" This security clique they've got going these days is going to bite us in the butt... unless, of course, Bob Young takes a stand and says no, we're not gonna play ball with the cabal, we're going to do this right and let folks know what the black hats already know.

      Another tip for MSCE's: If Linux is your firewall, you don't have to worry about outsiders hacking on the file-sharing port... just insiders.

    4. Re:Hypocrisy Detected!!! by Error27 · · Score: 2

      Full disclosure is good but it's best to have a fix available before you disclose. Sometimes the fix is just to turn off Wu-FTP and switch to a different ftp server. But everyone tries to agree on a fix before they announce that a package is buggy.

      If you have a Kernel security bug then you you mail it to Linus or Alan privately.

      If you have an apache bug then there is a private list for that.

      If you have a debian bug there is a private list for that.

      I can't think of any major project that doesn't have a private list to discuss security.

      Red Hat made a mistake when they made the security problem known before the agreed time. This isn't a matter or agreeing Red Hat or not. Red Hat admits that an employee released it by mistake and they appologised.

      Mistakes happen. That's life...

    5. Re:Hypocrisy Detected!!! by PurpleBob · · Score: 2
      Unlike the typical hypocrisy troll, you can actually spell "hypocrisy". I commend you on that.

      However, I am now obligated to point out that the Slashdot community is made up of various members who are capable of holding different opinions, you fool.

      Some people believe that MS was wrong for releasing info on security exploits too late. Some people believe that Slashdot is wrong for releasing info on security exploits too soon. These are very likely not the same people. This is not called "hypocrisy", it is called "discussion", and you should try it sometime.

      I find the Borg touch in your version interesting:
      Make up your minds. Either it is a Good Thing to release this sort of information to the public or not.

      Do you really believe that thousands of people are capable of suddenly coming to a consensus on what is a "Good Thing", but haven't so far because you never ordered them to?

      The only people who could possibly be such sheep are the 4 moderators who turned off their brains and moderated this up.
      --
      Win dain a lotica, en vai tu ri silota
  30. No surprises here by Broccolist · · Score: 5, Insightful
    Wu-FTPd has had a long history of security holes. It's practically the BIND of FTP servers.

    I looked through the source of Wu-FTPd some time ago, when I was interested in adding support for an encrypted form of FTP proposed in a recent RFC (the protocol never caught on). What I found scared me. Most of the server is one humungous 8000-line C source file which appears to do pretty much everything.

    Having quite a bit of experience with the FTP protocol, I expected to immediately understand what was going on, but at first glance, this code baffled me. It's full of pointer arithmetic and chains of if-statements performing mysterious, undecipherable operations on fixed-length arrays. It's not divided into clear levels of abstraction and I had difficulty telling what most functions were supposed to do, let alone what they actually did.

    Anyway, I immediately gave up any thought of adding any new features to this godawful mess. Considering all the weird cruft that goes on in that code, it's no surprise to me that people are constantly finding new security holes in it. There are other featureful FTP servers out there; it's hard to see why distributions continue to include a bug-ridden program like Wu-FTPd as default in their distributions.

    1. Re:No surprises here by augustz · · Score: 2, Redundant

      Couldn't agree more, the distros need to stop shipping software with horrendous security records.

      wu-ftpd/bind/sendmail literally give me the shudders. There are solid competitors for all of these. Greater or equal features, and designs that are much more secure.

    2. Re:No surprises here by fusiongyro · · Score: 2, Informative

      There are solid competitors for all of these.

      ftpd: Proftpd wins, hands down. Configuration is like Apache except less crufty. It's modular, and pretty secure too (I can't remember hearing of any major security holes). Some people who use it: ftp.gnu.org, download.sourceforge.net. Enough said. www.proftpd.org.

      bind: bind 9? I can't really think of a replacement except DNScache, and I've never used it. I have no idea if it's better or worse or just weaker.

      sendmail: I hear qmail is extremely good, if you don't mind DJB's bizarre lack of license (also applies to DNScache). Qmail purportedly runs Yahoo! Mail among others. Otherwise, the only other alternative I can think of is exim, which is designed to be easier to configure and simpler IIRC.

      Next time, post some links or something. Sheesh.

      Daniel

    3. Re:No surprises here by austad · · Score: 2

      DNScache is extremely fast. One of our bind servers was seeing 100% cpu from named. I switched it over to DNScache, and usage went down to 3%.

      Qmail is no longer the front runner for speed. The latest versions of postfix are beating it by about 40% (at least under freebsd). This was not true 1 year ago. Plus, if you've ever had to make any modifications to qmail, you'd know what freakin' nightmare it is.

      --
      Need Free Juniper/NetScreen Support? JuniperForum
  31. The customer is always right by KarmaBlackballed · · Score: 2

    Do all hackers notify CERT first? (How many quiet hackers already found this one?)

    Once a company has a fix they owe their customers that fix. Anything less is a compromise of their customer's security and risks tarnishing their trust. Yes, getting a fix out first does matter.

    Red Hat did the right thing. If your distro has not put out a fix yet, are they working fast enough? (You think there were no script kiddies out there before Red Hat "broke the news?")

    --

    --- -- - -
    Give me LIBERTY, or give me a check.
  32. Secret awareness of security exploitability: scary by sanermind · · Score: 2, Interesting

    It disturbs me that a formal process of keeping newly discovered vulnerability information from the public seems to be becoming the norm. I would feel much safer if we were informed right away of a known remote execution vulnerability, so that we can assess the risks ourselves, and make the appropriate decision as to whether to disable the service, or switch to a different implementation.

    I just know that the powerful interests, not just the federal government, but also foreign governments and corporate espionage types, become aware of these things, and likely have crack teams of dedicated crackers to rapidly turn out an in house exploit.

    Asymetric information is inequitable, giving an inevitable advantage to the elite in the know.

    Lack of knowledge is powerlessness.

    --

    ---
    the pen is mightier than the sword, the sword is mightier than the court, the court is mightier than the pen.
  33. Security must-dos for RedHat by Hoonis · · Score: 5, Informative

    This shows you what daemons are auto-started:
    # /sbin/chkconfig --list | grep :on

    man NAME_OF_THING_YOU_DONT_KNOW_WHAT_IT_IS
    # /sbin/chkconfig --del THING_YOU_DONT_WANT

    get the latest nmap from freshmeat.net.
    do this:
    # nmap -sS -P0 YOURIPORHOSTNAME

    do you see any ports you weren't expecting?
    Turn off the services!

    Install portsentry + ipchains on a firewall,
    or if you don't have more than one box, your
    own box! Set portsentry to listen on bind to
    catch a lot of automated attackes from a RH6.2
    bug. Move your ssh (2.X or greater!!) daemon
    to a non-standard port (edit /etc/ssh2/ssh2d),
    then set the normal ssh port as a portsentry
    tripwire.

    Very active attacks right now:
    Bind
    ftp
    finger
    telnet
    ssh
    port 59 (anyone know wtf that is?)

    wu-ftpd had an *earlier* vulnerability that
    was causing increased scan activity too!

    Subscribe to the cert.org mailing list, and
    "grep for linux".

    you have to take an active role and pay attention
    to all security bulletins out there, because
    you will literally be attacked within an hour
    of bringing up a new DSL/T1 server anywhere in
    the wild. I've seen portscans on newly installed
    lines in less than 5 minutes!

    1. Re:Security must-dos for RedHat by ryants · · Score: 2
      port 59 (anyone know wtf that is?)

      From /etc/services:

      59/tcp any private file service
      59/udp any private file service

      So... I still don't know, but it sounds unpleasant.

      --

      Ryan T. Sammartino
      "Ancora imparo"

  34. ironic.. by LinuxHam · · Score: 3, Interesting

    Just today someone at work emailed those of us on some Linux contact list, asking for suggestions from us on how we secure wu-ftpd. I replied that it's a lost cause. For authenticated ftp, I do scp now, even with Windows clients, and for unauthenticated ftp, I just do http. Its an easier workload for the system and its much easier to cluster for higher availability.

    Then this comes out. I hope he got my email. :-/

    --
    Intelligent Life on Earth
  35. To those who would cry "hypocracy" by noahm · · Score: 4, Insightful
    There have been a number of posts here claiming that the Linux vendors are being hypocritical by claiming to support full disclosure while maintaining a private list for the coordination of announcements regarding such security issues is this. However, they are missing the point. This list is not against full disclosure in any way. It is simply a way for vendors to coordinate their fixes before the exploit is widely published. At no point are the vendors discouraging the vulnerability's publication. They are merely delaying the announcement so they can coordinate the availability of their updates.

    The closed source vendors who are against full disclosure would prefer that the vulnerability is never announced, which would (according to them) allow them to take their time and roll the update into their next service pack release or whatever.

    And to the people who suspect some kind of nastiness on Red Hat's part for their early announcement, the individual at Red Hat who claims personal responsibility has already apologized on the private list, and has admitted to erring. The private list has existed for a long time and has worked very well in the past, allowing several vendors to all release fixes at once to a previously unknown vulnerability. It would have worked fine again in this case, except for the mistake by Red Hat.

    noah

  36. some juicy links for the un-enlightened by Atilla · · Score: 2, Insightful

    any decent os, whether it is linux, *bsd, BE, Windows, or whatever can be made secure if you actually take the time to set it up properly.

    i know it's tempting for all the [insert your OS of choice] zealots to waive their flags when another OS becomes known to have a security exploit. but for fucks sake, just because wu has a hole in it, doen't mean that the entire OS is scrap.

    oh by the way -

    SNORT is a NIDS (network intrusion detection system) that could help you detect and prevent a good deal of network attacks. IIRC, it has some windows plugins too.

    DEMARC is a web-based console for SNORT, plus a pretty good host/service monitor.

    --
    --- sig moved for great justice.
  37. Tiny Violins by gnovos · · Score: 5, Informative

    Sure they put out this advisory before it became knowledge to the NEWS organizations, but the "bad guy" groups have known about this for quite some time. Case in point, my brother wanted to show me some large home-movie mpegs (much to large to email to me), so he gave me an account on his box to ftp them from. Somehow the password that he gave me wasn't right (he must typed it with the caps lock on), so I couldn't get into his machine. He was already asleep by that time, so I couldn't call him up to change it, so just for kicks, I thought it might be fun to see if there was any way to break in. Sure enough, a few well-formed google searches, and I had pages that not only "discussed" this vulnerability, but had tools and scripts (including compiled Windows 9x GUIs for the lazy script kiddie) for download. They were wonderfully useful, and they *worked*.

    So, the root of the situation is: 1) Anyone who did NOT know about this hole had been vulnerable LONG before the posting. 2) When told about the hole, but without a patch, any of those admins could then take whatever steps would be needed to keep thier server secure (even shutting ftp down if it came to that).

    RedHat was right.

    --
    "Your superior intellect is no match for our puny weapons!"
  38. Jumping the smoking gun. by karlitoX · · Score: 2, Informative

    I find it hard to blame RedHat too much after this post to a publicly archived forum:

    Date: Mon, 19 Nov 2001 12:49:47 -0700 (MST)
    From: Vulnerability Help
    To: bugtraq@securityfocusHeya all,

    The SecurityFocus Vulnerability Help Team is in the process of notifying vendors of a remotely exploitable problem in WU-FTPD .
    [snip]

    I must admit, I simply filed this in my todo list, but I suspect anyone who really wanted to know what was fixed could have found a patch or at least a patched version before the advisory release date.

  39. Regarding disclosure... by slashkitty · · Score: 5, Informative
    As a security bug hunter myself, I know that the sooner you disclose the sooner it gets fixed. The more serious the hole, the sooner it should get fixed. period. 2 weeks ago, I published an alert on a bunch of website security holes, including microsoft.com. Knowing how ms reacts to disclosure, I didn't disclose the specifics on microsoft.com's site, but I did on the others. Guess what? The hole on microsoft.com is still not fixed, while most other sites have moved to fix their holes. Now, this hole also affect thousands (if not millions? ) of sites, but it seems to require disclosure to get things moving.

    Now, RedHat maybe shouldn't have ever made this "agreement" to pospone patches. Maybe they noticed that people were already making use of this not-so-secret-to-black-hats bug. Or, maybe it was just a mistake... I don't know. I'm just glad I don't have a public wu-ftp server to deal with.

    --
    -- these are only opinions and they might not be mine.
  40. Wu-FTP in Debian but not as default by Sentry21 · · Score: 2

    Wu-FTPd is in the Debian package lists, but it is not the default FTP daemon. The default is a piddly little thing that only allows users to log in. It's quite functional, but bare-bones, and likely very secure.

    # ant-get update
    # apt-get install proftpd (or ftpd)

    And you can rid yourself of wu-ftpd on Debian.

    --Dan

    1. Re:Wu-FTP in Debian but not as default by michael · · Score: 3, Interesting

      My suggestion is that you do instead:

      #apt-get install bsd-ftpd

      which is a port of the audited OpenBSD FTP server.

  41. Re:Please Explain, dude(ttes)... by Wee · · Score: 2
    You probably did what every other American did when they tried it - they gobbed it on like peanut butter. Ever wonder why it comes in such a SMALL container? Because you're supposed to spread it VERY thinly - if it's still brown when you've spread it, you've put too much on.

    No, I actually only had a wee little bit on a cracker. It was foul. Seems to me to be an acquired taste, like caviar or something.

    -B

    --

    Ash and Hickory, straight-grained and true, make excellent bludgeons, dandy for the cudgeling of vegetarians.

  42. HTTP vs. FTP by rcw-home · · Score: 5, Insightful
    HTTP can't really offer all that FTP does in terms of file transport.

    HTTP really is all that.

    HTTP/1.1 supports, among other things, file resuming via a standardized header (Range:) and pipelining (whereas FTP's control port+data port means n+1 TCP connections). HTTP can give you a file compressed the way you want it - and in the language you asked for - without filename hacks. HTTP's If-Modified-Since: header makes it more cacheable. In addition, most HTTP server implementations are more flexible - they can authenticate against things other than the local account database, and there is a widely implemented standard for HTTP over SSL - HTTPS. CGI is also more pervasive and useful than SITE EXEC.

    Let FTP die the death it has so long deserved.

    1. Re:HTTP vs. FTP by statusbar · · Score: 3, Informative

      Mac OS-X iDisk uses WebDAV to full-on mount remote filesystems via HTTP/1.1 - Everyone who owns OS-X has a free iDisk account.

      Microsoft Outlook (not express) can use HTTP/1.1 instead of imap for remote message folders.

      IE has WebDAV support as well.

      --jeff

      --
      ipv6 is my vpn
    2. Re:HTTP vs. FTP by leuk_he · · Score: 2

      HTTP can't really offer all that FTP does in terms of file transport.

      HTTP really is all that.


      You are correct. However since a few years ago a lot of CLIENTS had bug with http (i.e. 3.0). Also some servers had problems with range -. That makes it all a lot more complex with all the worarround you have to support.

      And i wonder if all this extra http extensions leave lots of securty problems we do not begin to touch. Why are there still bugs found in the "simple" ftp protocol (implementations)?

      IF you already run a http on a server and you only want to provide downloads, there is really no need for an ftp server.....if you are sure they do not heave buged clients.

      But if you want uploads and set it up quickly ftp might be there for you. It is $#$%#%# if you want to transfer a file to a *nix box you heave a telnet accounr to and tyou have to use... xmodem (or zmodem, "rz / sz")

      ftp is dead, long live the ftp!

  43. Here's how... by mbessey · · Score: 3, Informative

    It's definitely not trivial, but...

    The basic idea is that you experiment on a local system (in the debugger) to characterize to behavior of malloc()/free() when this bug is triggered.

    Once you've done that, you should be able to get free() to overwrite some specific piece of memory by doing a glob operation that succeeds, followed immediately by one that fails, or some such.

    Then, you use that building block to work out an attack. It's not exactly rocket science, but it IS more complicated to exploit than a typical security hole.

    -Mark

  44. Ok - What does this attack LOOK like? by rjamestaylor · · Score: 3, Interesting

    I just found one of our servers (which I did not have primary responsibility over) was running the latest version of wu-ftpd... so, what does one of these latest attacks look like (don't say "liuxtoday.com")? How could I spot an attempt in /var/log/messages?

    --
    -- @rjamestaylor on Ello
    1. Re:Ok - What does this attack LOOK like? by Geekboy(Wizard) · · Score: 3, Informative

      Look at the BUGTRAQ advisiry. ;-) http://aris.securityfocus.com/alerts/wuftpd/ is quite useful. It looks like it's a run-of-the-mill buffer overflow. There are currently no IDS sigs that can detect it (but I'm sure that will change as soon as I post this.) If you can, disable anonftp access. If not, look through the log files for an extreamly long command. (The description shows 60+ 'a' in a row.)


      This is very similar to an exploit discovered about 4 months ago. Why didn't the Wu-FTP people check to see if they were vulnerable?

    2. Re:Ok - What does this attack LOOK like? by Geekboy(Wizard) · · Score: 2, Interesting

      Quoted from The Register:

      "The hole is the result of a programming error in the portion of WU-FTPd that processes file names containing special characters. BindView's Matt Power discovered in April that the server would crash if presented with the file name '~{', but the program's maintainers believed the bug could not be exploited. "

      URL for the article is http://www.theregister.co.uk/content/4/23082.html

  45. Re:Nice. by sheldon · · Score: 3, Interesting

    Gary McGraw must be a troll as well. He even mentioned this in a book he wrote.

    What's open source's role in the security-by-obscurity debate?

    Open-source software is neither more nor less secure than closed-source software. And the whole issue of whether open source is more secure is a red herring. We have a chapter in the book about it. Security by obscurity doesn't work. But just because you have your source code sitting around in public doesn't mean someone's going to do a free security review on it, either, which is what the open-source guys think. That's wrong.

  46. WU-FTPD maintainer ain't happy... by MelloDawg · · Score: 5, Informative

    Check out this thread on the wuftpd-questions list:

    http://marc.theaimsgroup.com/?l=wuftpd-questions&m =100698257011540&w=2

    --
    /. is irrelevant.
    1. Re:WU-FTPD maintainer ain't happy... by Todd+Knarr · · Score: 2

      I can see why he's unhappy. I would be too. However, as someone who runs a system I'd rather know about it as soon as possible so I can either turn off the service or replace wu-ftpd with a different server until a patch can be released. The whole incident also says something against hiding the details and in favor of full disclosure. If technical details about the vulnerability had been included, there wouldn't have been any question about whether it was a hoax or not. And it wouldn't have helped the script-kiddies positions any to have that information in the announcement, because as someone else noted their machines were already being broken into using what was likely this vulnerability so the crackers apparently already knew the details. Notice to the maintainer before the announcement, with the details, would have been ideal, but hiding the information did nothing but confuse the issue and prolong the mess.

  47. Or go with WebDAV! by marick · · Score: 2, Informative

    Yes, or you could replace both of them with webdav.

    WebDAV( IETF RFC 2518 ) is a series of extensions to HTTP that give a lot of functionality such as Access-Control (ACL), Version support, all over a simple HTTP connection (and yes, HTTPS is quite supported). Check it out at http://www.webdav.org

    1. Re:Or go with WebDAV! by LinuxHam · · Score: 3, Insightful

      Yes, or you could replace both of them with webdav.

      I just spent a week playing with WebDAV, investigating it as a possible solution for a customer looking for secure Internet file access. Anyone please correct me if my findings are incorrect.

      For the unitiated, WebDAV is the protocol name for the "web folders" feature of IE5.5 and up. I ran it as an Apache module. It was incredibly easy to setup. HOWEVER.. Under WinNT, you can only copy files to and from the web folder, not open or edit them directly. With Win2k and up you can open and edit files directly in the web folder without needing to transfer them to your local PC first, which is much nicer.

      The reason I wouldn't recommend it for my customer is that AFAICT the reads and writes on the server side are done with the user and group that the web server runs as. While it does indeed support ACL's, the ACL's are just for the web server protecting the file space in general, and do not maintain the uid/gid of the web-authenticated user down to the file level. It would be sufficient for providing a "common" drive for all the authorized users with no file-level ACL's. You would need to create a new VirtualHost for each file area that needs its own ACL (think home directories).

      Imagine 100 users. That would require 100 VirtualHost blocks with independent htaccess files and at the filesystem level, every file and every directory would still be owned by the web server! Not exactly a suitable solution for a client to implent his own in-house version of WebDrive.

      In addition, I repeatedly experienced "this operation could not be completed due to an unexpected error" in Windows NT when trying to traverse certain directories of MP3's. If it doesn't work for me in certain situations, it would be disastrous for the customer looking for a "highly available" solution. More like "barely available". I can't architect a solution around something like that.

      Having said that, I would love to see a major web archive like ibiblio.org set this up for easy file browsing and access. That would also give the WebDAV team an enormous amount of feedback from a single site, and hopefully iron out more of the issues that keep this unsuitable as an enterprise-class solution.

      --
      Intelligent Life on Earth
    2. Re:Or go with WebDAV! by Malcontent · · Score: 2

      I was going to look into webdav so thanks for the heads up. I am also looking at zope. Since it uses it's own database you don't have to even make people users in your server. It's a bit scary knowing all your documents are in one database though what if it goes haywire.

      --

      War is necrophilia.

    3. Re:Or go with WebDAV! by ZxCv · · Score: 2

      I may be wrong, but I believe Cold Fusion and Cold Fusion Studio have been using WebDAV for a while (since 4.0 at least) for editing server-side files. I'm not sure whether CF Studio uses its own WebDAV implementation to talk to the CF server or if it uses IE's, but in 2 years or so of using it, I've never had any problems (although it was never used on any NT machines, just 98 and then later 2000).

      --

      Perl - $Just @when->$you ${thought} s/yn/tax/ &couldn\'t %get $worse;
  48. Re:Slashdot's not one person by Pinball+Wizard · · Score: 2
    I'm not refering to users, I'm referring to the editors who decide which story to post.


    I was too lazy to look up specific stories, but here are a few that are critical of Microsofts stance on withholding information.


    I'm fully aware that the Slashdot Readership holds a wide spectrum of opinions. However, Slashdot is definitely a soapbox for the editors, and they should make their minds up about which issues they support and not take a different stance because the issue affects an open source org rather than Microsoft.


    PS, as long as we're making overly generalized assumptions, the Slashdot Readership also treats Microsoft as a monolithic entity.

    --

    No, Thursday's out. How about never - is never good for you?

  49. Go with something more secure. by Scoria · · Score: 3, Informative

    As we are all aware, Wu-FTPd is insecure, buggy, and, for the most part, a thrown together hack. All of you wu-ftpders could eliminate (or at the least dramatically reduce) your problems by using one of the following:

    ProFTPd: the ftpd that I prefer most. It was designed with security in mind (wow, rhyme) and its configuration is akin to Apache's.

    PureFTPd: a relative newcomer; said to be fairly secure. Based upon TrollFTPd.

    If you're an administrator that prefers security over convenience, you may wish to check into secure FTP or simply use SSH to transfer files. Like many "old style" daemons, FTP transmits sensitive data (namely passwords) without any type of encryption applied. Just remember: system security depends only on the competence of your administrator. Most administrators (at least myself and those that I know) refuse to touch wu-ftpd with a fifty foot pole.

    --
    Do you like German cars?
  50. Anyone using wu-ftpd... by debolaz · · Score: 3, Insightful

    Anyone using wu-ftpd has only themselves to blaim if anything happends to their servers. This application has a bug history making Microsoft look like what OpenBSD claims to be. There are many free and secure and certainly more extensible options available, so why distros still stick with wu is beyond my understanding.

  51. Re:Nice. by m3000 · · Score: 3, Informative

    If anyone would actually read the CNet article that goes along with this story, you'll see that it was accidently disclosed early. To quote:

    "We were releasing some advisories on the same day, and an overzealous administrator pushed this out as well,"

    So essentially some sysadmin who strongly believes in full disclosure decided to go against company policy and announce it. He's probably getting reprimanded (perhaps fired) and it looks bad on Red Hat because of a "rebel" employee.

  52. According to my sources.. by redhotchil · · Score: 3, Offtopic

    The afformentioned distribution is also unaffected by the following other bugs:

    Nimda: IIS 5.0 is not installed by default in OpenBSD

    Ping of Death: The Microsoft TCP/IP stack is not loaded by default in OpenBSD

    Recent Linux Kernel Bug: OpenBSD unfortunately uses the BSD kernel and the Linux kernel is not installed by default in OpenBSD

    As you can see, OpenBSD is obviously the superior operating system, for namely, its lack of features.

    Thank you.

  53. Re:Debian doesn't have many defaults by xanadu-xtroot.com · · Score: 2, Informative

    Although I can't speak for a Debian install (I've only exposed myself to RPM based distros so far), this isn't totally corretct by any means.

    There IS a "default" set of packages installed. You have the option NOT to install them (or remove certain things later, of course). If one just does a "recomended" install (or whatever), there is default packages enabled. The big difference is a lot folks (read: package installers) that have gotten there heads screwed on a little better now and VERIFY what Servers you're enabling and if you even want them INSTALLED at all. Very nice...

    Sorry to nit-pick, but I thought I'd point that out.

    --
    I'm not a prophet or a stone-age man,
    I'm just a mortal with potential of a super man.
  54. Nothing on the wu-ftpd.org website about this... by weave · · Score: 2
    WTF?

    Not a single mention on the wu-ftpd.org web site. What about us folks who have this compiled on a real genuine (read: proprietary) UNIX(tm) box and not some Linux distro?

    Anyone know where there are source patches or a new source rev of wu-ftpd around?

    Latest on their ftp server...

    -r--r--r-- 1 wuftpd wuftpd 341520 Jul 1 2000 wu-ftpd-2.6.1.tar.gz

  55. C lang remains inappropriate for network daemons by Tom7 · · Score: 5, Insightful

    I know that we sometimes live with legacy code; fair enough. But I claim that it is entirely inappropriate to write security-critical internet daemons in C!

    There are lots of people here claiming that this is caused by sloppy or inexperienced programmers. I think that this is bullshit. Are the authors of wu_ftpd bad programmers? BIND? IIS? perl? telnetd? quake 3 arena? sshd? All of these have had remote overflow (or related) exploits. There are hundreds more... Have you personally ever written a multi-thousand-line network daemon that you know is buffer overflow free? How do you know?

    Here is what I say: C the language makes it easy to make the kind of mistake that leads to a remotely exploitable buffer overflow. It is almost as if the language is designed to enable this behavior. According to CERT and others, buffer overflows (and related format-string vulnerabilities, also endemic to C) are the most common source of security holes in UNIX applications (On win32, they are second only to Outlook attachments).

    There are only two reasons I can imagine that people would reasonably use C:

    Low-level Hardware Access - Fair enough. There are not really any good alternatives now. However, network applications do not need to do low-level hardware access at all.

    Raw Speed - Though I believe that other languages are very near to C in performance (http://www.bagley.org/~doug/shootout/craps.shtml) , conventional wisdom says that if you want ultimate speed, use C. However, network applications are not typically CPU-bound, they are network bound. ESPECIALLY FOR THE HOME USER, with a 1.5ghz PC and 5 users per day, this argument is totally silly. Outside the enterprise (where hopefully people can custom tune their software and have people devoted to keeping it secure), there's no reason to need C's speed in a network daemon.

    IN A NETWORK APP, SECURITY (SAFETY) IS CRITICAL. That means that all network apps should be written in a language with machine-checked safety. This might mean Java for people who need it to feel like C. (Note that there are several good native code compilers for java, and it has reasonable network support.) In these kinds of languages, buffer overflows and format string vulnerabilities are automatically impossible. Personally, I prefer a more efficient language with stronger safety guarantees: SML. (Ocaml might suit the slashdot audience better) In fact, at the time of the last wu_ftpd remote root exploit, I decided that it was time for me to rewrite my ftp daemon in SML. It took me only 1 weekend to get it working, by myself. It does not support every feature of FTP (especially obsolete things and dubious "features" like SITE EXEC), though it supports plenty for say, the average linux desktop user. Writing code in a modern, high-level language has other benefits too: it is only about 3000 lines, including library code that I wrote to implement MD5 passwords and various other things that I plan to use in other daemons (the core ftp server is only 850 lines). Compare this to wu_ftpd (8000+ lines) and the PAM MD5 password implementation (200 lines). Most importantly, I know that by using a safe language that I have a 100% buffer overflow free daemon. Thus, I can spend more time looking over the code for more subtle security problems, such as possibilities for Denial of Service attacks. (I didn't do much of this, actually, though it is not vulnerable to the ls globbing attack, SITE EXEC, or PAM authentication bugs that have been in other ftp servers.)

    If you think this sounds good, you can get my FTP server here and an ML compiler here . (It is just a proof of concept, so don't get too excited!) But what I would rather you do is just listen to my advice, and demand better from your software manufacturer! Linux distributions that want to be secure should be rewriting this kind of software in some modern safe language. It is easy to do, and the results are worthwhile.

  56. Re:Wha....? by Waffle+Iron · · Score: 2

    With FTP I could just drag the root folder into the upload window and say "replace only files changed today" without having to go into 12 different folders and sub-folders and check off individual files.

    IIRC, you can tell rsync to connect over ssh to do this kind of job.

  57. Re:wuftpd is a security hole anyway by Tom7 · · Score: 2


    Why is proftpd supposedly more secure, though? They are both written in C, and secured by the many-eyeballs (if even) method. As I recall, proftpd has had plenty of remote exploits itself.....

  58. port 59 is the "well-known" port for "NFILE" by StandardDeviant · · Score: 4, Informative

    which, I might add, I'd never heard of before doing a suitable google search. If you're curious, the NFILE rfc can be viewed at http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc1037. html. Basically, it sounds like some sort of strange FTP analog (from the glance I took @ the abstract). Publish date was '87, so this is a relatively old protocol, that from the sound of it hit the dustbin of history with a loud "thump!" ;-) (The 'any private ...' bit may be from NFILE's predecessor, QFILE?)

  59. The wait by SilentChris · · Score: 2

    OK, CERT to wait until all the distros want to release their updated fixes for the bug? What about us and our "custom" distros? How much better is this than Microsoft waiting weeks before issuing a patch for a known flaw?

  60. say what? by Eric+Gibson · · Score: 2, Insightful

    What's another form of security? Security based on sound techniques where one can disclose the nature of thier mechanism and it still be secure.

    Example:

    1) Company A encrypts a key file in thier software using DES because "that's good enough", and they rely on the fact that no one knows that they use DES as a means of security. "They can't even brute force it, they don't know what encryption mechanism we are using. DES is good enough!"

    An attacker then does a few simple tests, say disassembles the binary that is used as a tool to encrypt the file, and figures out that they are using DES and runs a few tests where they produce a encrypted file where they know the plain text, and proceed to brute force for the key. This was a mistaken notion of security through obscurity.

    2) Company B encrypts a file for thier software, but they use RC6, and then encrypt that file with Two-fish. Or heck, use a totally different security mechanism where this file doesn't even need to be encrypted because it's inherently secure. Then they disclose how they do it so that the mechanism has peer review to make sure that security can be improved in the future.

    Aside from these obvious points, your other arguments are totally bogus from a security standpoint. A company or organization can easily prevent simple "social engineering attacks", using security procedures in thier company. If they are good procedures, they could even disclose them to the public. Your argument that "Well, if someone wants to, they can get into your system anyway." is absolutely not security concious. I don't see why any of this has to do with Intellectual Property either, it's just logical.

    I gaurantee you Securityfocus found out about this it was because some hacker group on IRC has been using it for weeks. Trading it amongst themselves for whatever, and someone leaked it to them. For them to "hide it until the vendors can make a fix" just extended the time that these current criminals could use it, and left my system at risk. I agree with RedHat. I'm sure the fix is a one or two liner, and I wanted it as soon as they found out about it. Not when they were ready to tell me.

  61. Why is a FTP daemon running as root? by Animats · · Score: 3, Insightful

    There's no excuse for running the entire FTP daemon as root. It should start out as "nobody", and upgrade its privileges using a minimal privileged login program. The security checking shouldn't be in the FTP daemon at all.

  62. Re:Stop using stupid C language - good point by victim · · Score: 4, Insightful
    It is a good point. Poorly made, but there is a good point hiding in there. I see the article has atracted 6 flame replies and a -1 troll before I read it.

    I have not made an ontology, but it seems to me that nearly all exploits the past few years have been (in decreasing prevalence order)
    • data buffer overflow
    • string overflow
    • filename .. abuse
    A language with safe memory management will eliminate the first two. The third needs a more robust set of filename functions.

    Its not impossible, or even hard, to avoid these sins in C programming. But, it also isn't impossible or even hard to screw up and commit this sins.

    Programmers make mistakes. That is why it is called programming instead of typing. Choosing a language that minimizes the security impact of mistakes makes a lot of sense.

    Don't forget about other criteria. You may need the speed that can be had with well written C code. Usually you won't.

    I look at my servers. They are all the slowest rackmount machines I could buy from Gateway when I bought them, 800MHz PIII is typical. (They are plural because the have different security policies, not because of load.) They handle things like mail, http, samba, cvs, ldap, the usual suspects for a 100 engineer software firm. They rarely go beyond 5% cpu utilization. I would gladly sacrifice my surplus cpu cycles for slower, safer, services. When they do go beyond 5% it is almost always for a very specific function like the rsync algorithms or blowing backup data over to another box. Make the hot spots of these functions fast, spend a lot of time making them secure. Probably not more than 400 lines of code between them. Let the rest be written in a safe language.
  63. Re:Debian doesn't have many defaults by Malcontent · · Score: 2

    Yea dselect blows. I bit the bullet and learned the apt-* command lines.

    For me it was always hitting the wrong key. Who chose that key scheme anyways.

    --

    War is necrophilia.

  64. Re:Nice. by Troodon · · Score: 2

    Certainly, however what about next time? As a Red Hat customer would you want to bit hit by an exploit that another vendor had discovered and patched, in the time it took for Red Hat to catch up. Is the loss of such cooperation and posibily kicking of the escalation of a patch war really such a good idea? Are you certain that Red Hat will be first every time? Want to watch this escalate and cause problems elsewhere?

    --
    troodon.net
  65. Re:A non-microsoft security bug? by coolgeek · · Score: 3, Insightful

    the alarming thing this time is the Linux guys adopting the Microsoft methodology for patching leaks. sit on their ass while boxes get rooted and release the patch when the "agree" to do it. don't tell anyone who might just code a patch into the source themselves. can't have that, can we?

    --

    cat /dev/null >sig
  66. Re:Redhat by coolgeek · · Score: 2

    Like they did with BIND 8.2.3? I had all my systems patched within hours of reading about it. Now _THAT_ was some good service.

    --

    cat /dev/null >sig
  67. Re:Slashdot's not one person by ZxCv · · Score: 2

    I don't think his point was whether or not this story even mentioned Microsoft or not. I think it was more along the lines of, replace "Linux companies" with "Microsoft" in this story, and the editors would have a whole different tone.

    But does that even surprise, let alone phase, any regular reader of this site anymore?

    --

    Perl - $Just @when->$you ${thought} s/yn/tax/ &couldn\'t %get $worse;
  68. Can kernel security patches do something against t by chrysalis · · Score: 3, Insightful

    To protect against unknown exploits, there are kernel patches like LIDS . With LIDS, you can enforce any program to only access some files. For instance, you can enforce Bind to only read his configuration files, and nothing else. So even if an exploit is found, your system will be safe.

    It works amazingly well, and for almost everything on your system.

    But does it apply to SSH and FTP? Probably not. When you give FTP access to customers so that they can upload web pages, the FTP server needs read/write access to everything in /home. So it means that if an exploit is found, even with a properly configured LIDS barrier, the attacker can change the content of any customer file. And that's really dangerous. And LIDS can hardly avoid this.

    --
    {{.sig}}
  69. BugTraq 20th Nov 2001: by AftanGustur · · Score: 2

    Somebody please tell my why the 'blackhats' shouldn't have figured out the bug from this info below
    This was posted to BugTraq on the 20th November:

    From vulnhelp@securityfocus.com Tue Nov 20 15:18:29 2001
    From: Vulnerability Help
    Date: Mon, 19 Nov 2001 12:49:47 -0700 (MST)
    To:
    Subject: Vendors For WU-FTPD Please Read



    Heya all,

    The SecurityFocus Vulnerability Help Team is in the process of notifying
    vendors of a remotely exploitable problem in WU-FTPD . Rather than miss
    any vendors we are asking vendors which read Bugtraq and ship WU-FTPD
    either as a default package or a ports package to please mail us your
    relevant security contact information (with a PGP key please). The WU-FTPD
    has been notified already.

    Cheers,

    SecurityFocus
    Vulnerability Help Team

    So, only the 'good guys' are supposed to know what the bug is, huh ? And the rest of us has just to sit there as ducks on water ?
    It has been shown before that's enough to state that *there is a bug*, and somebody will find it. And it only takes one 14 year old ...

    --
    echo '[q]sa[ln0=aln80~Psnlbx]16isb572CCB9AE9DB03273snlbxq' |dc
  70. SuSE Announcement with download information by riggwelter · · Score: 2, Informative

    You can read SuSE's announcement about this here, along with details of how to get updated SuSE packages.

    --
    Listening for the sound of the coming rain...
  71. Re:Nice. by budgenator · · Score: 2

    If the distro's all stuck to the Linux File system standard, what difference would it make? My SuSE would install the Redhat rpm just as easily as a Redhat distro! sure maybe we'd have to be a little more carefull about which version of the distro we got the update from when doing cross-distro stuff because of library version differeneses but that should be about all.

    If every one wasn't reinventing the wheel, who'd care whose wheel turned faster. Ok I know it isn't quite that easy, My MySQL server doesn't autostart because SuSE names a script a little different, but its pretty close.

    I get the impression that WuFTP isn't the default ftpd on most of the distro's that were caught flatfooted. SuSE ftp site has been over loaded all week at 5 am EST so a lot of people have been downloading something; I'll bet more people have got the patch before it was announced to the general public than we realise.

    --
    Apocalypse Cancelled, Sorry, No Ticket Refunds
  72. Security reviews. by saintlupus · · Score: 2

    But just because you have your source code sitting around in public doesn't mean someone's going to do a free security review on it, either, which is what the open-source guys think.

    Er, OpenBSD, anyone?

    Theo seems to be a fairly abrasive little fucker, but god bless his black little heart for doing this sort of work for the benefit of all.

    --saint

  73. Yes! by nahdude812 · · Score: 2

    I completely agree with withholding the details of how to conduct an exploit, but publically list affected version numbers as well as consequences of a security bug. In this case this is what RedHat did. The Security Focus posting by them does not contain any details of how to reproduce the security vulnerability, so the most they're doing is tipping off black hats that there is some buffer overflow. It will as long for the smart black hats to release the scripts for kiddies to play with as it will take the white hats to fix it.

    Basically until everyone has had time to patch a security bug, just release enough information for people to conduct a risk analysis.

    If RedHat had said instead, "Issue the following statement to Wu: xxxxxxxx, and you'll now have root shell access" then I'd say we should tar and feather them. That's far more information than is needed to conduct a risk analysis.

  74. Re:*What* a surprise! by Junta · · Score: 2

    Well, there is SSH, and if you want, you could have them use MindTerm, which has an attempt at a sFTP to local FTP proxy built in. Never got it to work, but it could be just the ticket to letting Windows users use their favorite FTP client to access sFTP....
    http://www.mindbright.se/mindterm/ is mindterms url, check it out.
    On the other hand, putty has both pscp, and a psftp in development, that also provides this functionality.
    Ftp is a really ugly and insecure protocol, it needs to die :) Even if it were secure, the whole mechanism sucks, can't easily be port-forwarded, and uses two ports. Those ports just makes it that much easier for a sniffer to differentiate between transefered data, and command data (i.e. passwords in plaintext).

    --
    XML is like violence. If it doesn't solve the problem, use more.
  75. Re:Don't use wu-ftpd by Chuck+Milam · · Score: 2

    "If you haven't learned yet, don't use wu-ftpd (or sendmail, or BIND, or any number of other common widespread programs that are so scrutinized that they develop root exploits every other week)."

    So, what you're advocating, then, is security by obscurity, in effect. I don't think that Sendmail, bind, etc. have security holes merely beacause they are more closely scrutinized--it's really more becuase they were written way back when in a more "gentle time" when authors didn't have to worry so much about stack smashing, buffer overflows, and all the other tricks so common today. These applications come from a older codebase--it's hard to retrofit secure programming practices onto older code. It's much easier to design with security in mind from the beginning. Consider the example of qmail as compared to sendmail. Where sendmail is basically one large, privleged binary that handles all aspects of mail delivery, qmail is actually a group of smaller, lesser-privleged binaries that handle one specific component of the mail delivery process. Same goal, different philosophies, less root holes (I think none to date for qmail). As many other posters have pointed out, there are similar alternatives to wu-ftpd that were designed with security in mind from the beginning, and therefore simply don't have root holes to be discovered--no matter how closely they're scrutinized.

  76. Important correction! by Tony+Shepps · · Score: 2

    grepping for ":on" won't do it for 7.0 and later! chkconfig reports the xinetd-based services at the end with just a plain "on". This includes all the really critical services, including wu-ftpd itself.

  77. Re:C is not the problem... by mbessey · · Score: 2
    The more I use C the more I believe it is impossible to prevent memory related bugs. A portable language, it is. A suitably secure language, it is not.

    I disagree. Maybe one of these days I'll actually get off my behind and write a C translator that actually does detect and reasonably handle common memory allocation and pointer-related errors.

    The point is that there's nothing in the C language specification that makes it inherently less safe than any other language. Just because almost all C implementations don't do bounds checking on array and pointer access doesn't mean that it's impossible to do so, for instance.

    For example, consider a compiler that converts C code into Java bytecodes. Obviously (?), programs compiled with that compiler would have all the same protections against memory corruption and unintended access that a Java program has...

    -Mark

  78. FULL DISCLOSURE by ikekrull · · Score: 2

    No waiting, no futzing around, no bitching, no pissing, no moaning.

    Just tell us about the bugs so we can either patch the software, temporarily disable it, or replace it with a secure alternative.

    The security of my computer is my responsibility, and i don't blame anybody else for it.

    Thats one of the reasons i run an open source OS, with open source applications.

    I don't want Red Hat, Microsoft or CERT to pat me on the head and tell me it will all be better in the morning. I want to know ther is a vulnerability so that i, personally, can take action against it.

    --
    I gots ta ding a ding dang my dang a long ling long