Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
×
Bug

Serious IIS Hole; Minor X Bug 477

EyesWideOpen writes "Microsoft announced Wednesday that there is a serious software flaw with its IIS web server. The 'vulnerability affects a function in the server software that allows Web administrators to change passwords for an Internet site.' A researcher with eEye Digital Security discovered the flaw in mid-April but it wasn't announced publicly because of an agreement with Microsoft. The Wired article is here and this appears to be the MS bulletin describing the vulnerability in detail." And several people reported this Register story on a way to DOS Mozilla users by trying to display ludicrously large fonts. Microsoft's time to patch a remote hole where the attacker can gain complete access to your computer: two months. Open Source's time to patch a much less serious bug where the attacker can merely crash your computer: three days.
This discussion has been archived. No new comments can be posted.

Serious IIS Hole; Minor X Bug

Comments Filter:
  • This goes to show... (Score:2, Interesting)

    by Moita Carrasco ( 571940 ) <solo@net[ ]o.pt ['cab' in gap]> on Thursday June 13, 2002 @05:22AM (#3692322) Homepage
    The fact is Microsoft doesn't give a damn, because it doesn't need to give a damn anymore. Windows in its various forms continues to have outrageous security holes, and still people keep using it, buying licences and standing by it.

    I honestly still think that some sort of un*x for idiots is needed before people will actually see open source opsys'es an alternative to bloody windows.
    I can speak for myself, I'm a dumb windows-based webdesigner, and as much as I really like the idea of Linux, and the look of gnome and kde, and the coolness of using a console... you'd still have to dumb it down a bit more for me. Perhaps Apple's X... but then I hate Apple computers, it'd have to run on a PC.

    Oh well, what I mean is: there's no point in comparing how much more terrible MSs bugs are and how much longer it takes for them to solve them. There has to be a real alternative to windows for the DUMB user, not for the tech-savy-geek, before people will actually say "hey, wait a minute, this is full of bugs and THAT over there isn't... I'll swap."

    Just my opinion.
    Moita Carrasco
  • What rubbish (Score:4, Interesting)

    by johnburton ( 21870 ) <johnb@jbmail.com> on Thursday June 13, 2002 @05:23AM (#3692329) Homepage
    The X bug is very serious. It's possible to set up a web site that will cause any X based computer looking at it to crash. But it's not a microsoft product so I expect the majority of people here will just ignore it and carry on bashing microsoft products as usual.
  • by Pembers ( 250842 ) on Thursday June 13, 2002 @05:38AM (#3692357) Homepage
    Also, is this just XFree86, or are all variations of X affected?

    The Bugzilla report (http://bugzilla.mozilla.org/show_bug.cgi?id=15033 9) that the Register article links to has a couple of comments from Solaris users who say that the "malicious" page crashed their X server too. I don't know if Sun's X server and XFree86 are derived from a common code base, but this would suggest that the bug is (a) old and (b) widespread.


    (The reason the Bugzilla link isn't a proper href is that I tried to check it just now, and Bugzilla said links from Slashdot aren't allowed. Make of that what you will!)

  • by CaptainZapp ( 182233 ) on Thursday June 13, 2002 @05:47AM (#3692375) Homepage
    The fact is Microsoft doesn't give a damn, because it doesn't need to give a damn anymore. Windows in its various forms continues to have outrageous security holes [...]

    I think you're wrong here, since Microsoft was always very, very good at feeling out the vibes of their customer base. The current perception in the marketplace is, that Microsofts security is beyond rotten. Since even the Gartner Group [gartner.com] got on the bandwaggon, Microsoft seems to be scared shitless about that public perception.

    The problem is the same as the sorcerers apprentice, who just can't get rid of the monsters anymore.

    For years and years Microsoft has (overladden-) their products with features and bloat. They missed the internet entirely and when they realised their mistake they rushed an inherently insecure internet platform into the market and during all this time they didn't give a flying f*ck about security.

    I agree, that Microsoft is an extremely arrogant company, that regards their customer base as cows to be milked and taken for a ride in every way possible.

    The problem is that perception is changing and so they are frantically trying to restore trust; they can't let such glitches happen by purpose.

    I think it's too late though to call the monsters back in and even worse:

    It is my true conviction that any IT responsible on any level using IIS on new projects is guilty of gross negligence and incredible incompetence.

  • by Erik Hensema ( 12898 ) on Thursday June 13, 2002 @06:40AM (#3692512) Homepage

    I am pretty sure this bug has been in Bugzilla for months without being fixed. However, bugzilla-search seems to be broken so I cannot prove it right now.

    However, I am 100% positive I crashed my machine due to a remotely exploitable X bug using Mozilla a few months back. That bug is in bugzilla (search on crash, X, css, hensema when bugzilla search works again).

  • by Tim C ( 15259 ) on Thursday June 13, 2002 @06:54AM (#3692541)
    You can also put something similar in the system-wide login/profile file, so that *all* processes started by *all* users inherit a set of default limits.

    Failing that (and I agree that it would be hard to come up with a sensible limit), I believe that you can enable kernel-level process accounting, whereby such things are enforced strictly by the kernel on a cumulative basis - ie each user gets an allocation of CPU time and memory. How they use that is up to them, but once they exhaust it, they can't have any more. I may be wrong, though - that may just be for logging their usage, for "charge-per-use" schemes.

    In any case, the best that the memory manager could possibly do is reserve some percentage of the available memory for root, as is done with hard drive space. Of course, as X runs as root, (and has to in order to access the hardware, iirc) that wouldn't help. I'm not really very well versed with the internals of the Linux kernel, but I suspect that the memory manager "just" manages requests for memory, without regard to whether those requests are sensible. There's only so much a system can do to protect itself from malicious or badly written code that is running on it.

    Cheers,

    Tim
  • by Anonymous Coward on Thursday June 13, 2002 @07:32AM (#3692621)
    huh? You mean the same way I increase the font size using IE on Windows by holding control and rotating the mouse wheel?
  • by borgboy ( 218060 ) on Thursday June 13, 2002 @07:54AM (#3692693)
    Just because I run IIS for production web servers does not mean that I am lazy or incapable of following the vendor's instructions for securing the box. Administered properly, IIS is a viable web server. Notice I didn't say better or faster, I said viable. If my staff knows how to administer Windows, and I know how to code for Windows, then it makes a hell of a lot more sense that we use Windows in our production environment.

    I know this is a GNU/Linux/OSS advocacy site. I have a great deal of appreciation for Linux, not because I use it on a daily basis, but because it is forcing my OS vendor of choice to at least pretend to sit up, take notice, and focus on some things the market never forced them to focus on before.

    I know. I done been trolled.
  • by anandsr ( 148302 ) on Thursday June 13, 2002 @08:49AM (#3692898) Homepage
    Its a very difficult problem. Applications do over
    allocate because they don't know how much they would
    use. Kernel overcommits because it expects apps to
    over allocate. If kernel wouldn't over commit then
    you would require absurd amounts of Swap to run.

    X11 is a special app, because if it dies the screen
    dies and you can't interact with the system although the system might be functioning fine.
    What happens in this case is that the X11 is
    killed promptly by the kernel, and does not get
    any time to restore the console. Kernel cannot
    and must not differentiate between processes.

    In this case though the problem is more clear cut
    X11 must not allow absurdly large fonts. There
    should be a limit to the size of the memory it is
    allocating based on the system memory. So that
    it doesn't put itself into danger. It might be a
    difficult question in different settings but this
    case just requires a upper limit on font size,
    based on the display size and system memory.

    -anand
  • by asr_br ( 143523 ) <[gro.rameda] [ta] [rameda]> on Thursday June 13, 2002 @09:10AM (#3693018) Homepage
    No. ulimit is not going to work for that case.

    Your machine "locks" exactly because XFree86 (or other X implementation) is killed by the kernel for consuming too much memory (the "infamous" OOMKiller). Try:
    kill -9 `pidof X`
    and you'll see your machine locking exactly like in the DoS described.

    The reason it happens is that XFree86 is controling all video hardware (registers, memory...) and when you force it to die, it can't set the hardware back to the default/previous (console) values.

    You still can log remotely and reboot your machine, of course, but forget about keyboard, mouse and video.

    --
    sig
  • by Anonymous Coward on Thursday June 13, 2002 @09:15AM (#3693051)
    I've been skeptical for a while about the ease with which someone would actually be able to execute code on a machine as a result of a heap overflow.

    If you've got a buffer overflow on the stack, it's trivial to clobber the stack frame pointer, and therefore the return address, and have the CPU jump into the middle of your buffer for the next instruction. *BUT* if all you can do is write into the heap, how do you ever convince the CPU to jump to your buffer and execute it?

    In the special case that you knew the position of a function pointer, I could see how you'd go about it, but is there a general technique to exploit this sort of thing? If not, then I think people are getting a bit more hyped up about this than is warranted.
  • by Mongoose ( 8480 ) on Thursday June 13, 2002 @09:19AM (#3693072) Homepage
    The mozilla bug was known for some time by everyone on irc.mozilla.org #mozilla that tried my little url test link several weeks back. I gave warning before posting it but you know people. =)

    Basicly it's not just CSS it's also mixtures of center and header tags that are NOT escaped. I ran into the bug on a poorly done eBay user home page with code like:

    ...

    The bug is Mozilla (gecko) doesn't parse this very well, and causes the font to scale larger and larger. This in turn allocates more and more main memory until your poor box runs out.

    From our tests on #mozilla:

    My linux 2.4.16/gdm/XFree 4.x box only crashed X.

    A BSD user with experimental video drivers had his machine reboot.

    Several other linux users ( 2.4 ) only had X crash.

    One linux user with > 1GB of RAM had no effect b/c his session was too short to fill all that. =)

    In short this was reported and being worked on before Mozilla 1.0 was even out.

    Here's the bug report kindly filed by #mozilla:
    http://bugzilla.mozilla.org/show_bug.cg i?id=149014
  • by JMZero ( 449047 ) on Thursday June 13, 2002 @10:42AM (#3693599) Homepage
    How come nobody is posting a quick source patch? WTF? Isn't that one of the great things about open source?

    You have all the code. It shouldn't be too hard to find the few places that you need to cap font size.

    Where's all the programmers?
  • by BreakWindows ( 442819 ) on Thursday June 13, 2002 @10:54AM (#3693700) Homepage
    Ever consider that most people who admin IIS for a living weren't in the position to object to its introduction? Or places where they are told they are in control of such things, and submit proposals that get ignored by higher-ups?

    I know your pain, as do many others. It's been said that IT groups don't choose Microsoft products, they just install them. One workplace of mine has Exchange, IIS and all the MS side-dishes, and I fought them kicking and screaming. But, the marketing geeks upstairs read in a magazine that something is a "robust solution" and assume it'll work in our environment.

    Of course, I'd rather spend my day implementing cool new stuff to make their work better, but instead I sit around coddling a patch-monster.

  • Re:Incorrect ! (Score:4, Interesting)

    by Phil Gregory ( 1042 ) <phil_g+slashdot@pobox.com> on Thursday June 13, 2002 @11:25AM (#3693910) Homepage

    As pointed out in several posts to Bugtraq, yes, the actual bug is in X (probably in libXfont) but Mozilla is a program that retrieves untrusted data across a network and, as such, has a responsibility to reject or sanitize data that could cause problems. The old Internet maxim is, "Be liberal in what you accept and conservative in what you send," but that doesn't mean you shouldn't also do some sanity checking.


    --Phil (Ardent Bugtraq follower.)

He has not acquired a fortune; the fortune has acquired him. -- Bion

Working...