Serious Apache Exploit Discovered
bennyboy64 writes "An IT security company has discovered a serious exploit in Apache's HTTP web server, which could allow a remote attacker to gain complete control of a database. ZDNet reports the vulnerability exists in Apache's core mod_isapi module. By exploiting the module, an attacker could remotely gain system privileges that would compromise data security. Users of Apache 2.2.14 and earlier are advised to upgrade to Apache 2.2.15, which fixes the exploit."
Note: according to the advisory, this exploit is exclusive to Windows.
First post fuckers!
Amazing; usually we're all about the M$ bashing.
If you were blocking sigs, you wouldn't have to read this.
What percentage of Apache hosts run on Windows? I'd guess maybe 10%, a generous estimate. This isn't something that's going to bring the entire web down. Also, wouldn't you have to enable mod_isapi manually?
This would have been useful in the summary. From the linked page:
While I'm sure it will impact many people, I'd still imagine the majority of Apache users are running it on a platform other than Windows
Only affects Windows, though.
I wonder how many big deployments of Apache+Windows are out there.
They only have a "sense of security" anyways.
The new motto of IIS: "Security so shit that even open-source implementations of our API will leave your box looking like Goatse."
Platform. Microsoft Windows
But is this the final nail in the Apache 1.3 coffin?
Now the boss is going to be upset even when you tell them your version is not vulnerable.
7 out of the first 8 posts agree that this is Windows only.
But I don't want to restart my Windows :\
In soviet Russia, God creates you!
Perhaps the editor is worried updating his Windows servers.
http://httpd.apache.org/docs/2.0/mod/mod_isapi.html
ISAPI extension modules (.dll files) are written by third parties. The Apache Group does not author these modules, so we provide no support for them. Please contact the ISAPI's author directly if you are experiencing problems running their ISAPI extension. Please do not post such problems to Apache's lists or bug reporting pages.
I had to read the article to see it was Windows only . . . whew.
I scream. You scream. I assume that means we're both acquainted with the problem. We proceed.
There are many reasons why I wouldn't deploy a production (i.e. www-facing) webserver of any stripe running on Microsoft Windows, security being a big one of them.[1]
On the other hand, for some purposes (corporate intranet, for example), Apache on Windows has been a godsend--it's allowed us, for example, to migrate our internal apps to a Free platform gradually, while depreciating our existing Windows machines (and advocates) into oblivion.
---------------
1. Lots of people do, though. I'm pretty sure IBM and Oracle Websphere/Weblogic services all use Apache httpd at some level. Happy patching, boys and girls!
"Beware of bugs in the above code; I have only proved it correct, not tried it." -- Donald Knuth
At a place I used to work, one of my coworkers reported a simple potential security problem: the username for the admin account on all our machines is the same as the computer's name. This just eliminates one less thing for a hacker to figure out. He was accused of "snooping", whatever that means, and almost lost his job. The only thing that saved him is a higher-up with a brain.
Whenever I hear a story about a person\firm reporting security risks, I am reminded of the story of my coworker, and I have heard too many similiar stories. It has trained to me keep my mouth shut about these problems.
I would really like to make a shirt that says: "This T-shirt has a serious exploit that allows a remote attacker to gain complete control."
It should be printed around the bottom hem for maximum effect.
Could also work on tighty whiteys.
I said I'd like to make it, not wear it. :-)
I don't know whose fault it is but the idea of running ISS plugins under Apache on Windows scares me. Whose fault is it when you run naked through the "hot" ward snogging the e-bola patients? It's ironic that you end up getting sick because the pretty nurse you kissed had mono, but ... good lord, people...
Play on words here... Maybe its Lipstick on a pigs platform, as IIS SUCKS balls.
ISAPI == worthless in the context of using it for Apache. Most of its 'features' are well implemented in Apache with no need for ISAPI unless you're running very specialized apps that make extensive use of ISAPI.
Changing request data (URLs or headers) sent by the client # mod_rewrite .htaccess/apache.conf/conf.d
Controlling which physical file gets mapped to the URL # mod_rewrite
Controlling the user name and password used with anonymous or basic authentication #.htacess
Modifying or analyzing a request after authentication is complete # mod_rewrite
Modifying a response going back to the client #mod_rewrite
Running custom processing on "access denied" responses #mod_rewrite/mod_redirect...
Running processing when a request is complete # #/bin/bash-sh-perl-python-etc...
Run processing when a connection with the client is closed # #/bin/bash-sh-perl-python-etc...
Performing special logging or traffic analysis. # tcpdump/webalyzer
Performing custom authentication. #
Handling encryption and compression. # mod_ssl/mod_gzip
Bought the ticket, taking the ride.
Not that I'd discourage anyone from keeping their Apache up-to-date, but I decided to see what would happen if I prevented the Windows Apache on my machine from loading mod_isapi. The answer? Nothing, apparently. The only thing I really feared was that it might interfere with the Zend debugger, but no, it's fine.
Sorry, I forgot there are ads on the Web; I use Lynx.
Thanks, jackass. Just what I wanted on a Monday morning: to update a half dozen Internet-facing source-based systems. Of course, it was a false alarm: submitter was too much of a toolbag to mention it was Windows-only.
(And, it being a Monday morning, I didn't initially notice the mention of mod_isapi. Of course.)
~/ssh slashdot.org ssh: connect to host slashdot.org port 22: too many beers
Dumb question, but are there any Windows apps that serve pages to a browser front end that might have borrowed the Apache code in question?
The world is made by those who show up for the job.
Do you chase web hits? Who cares about Windows, moreover together with Apache httpd?
Good point! I had just assumed it was required to run php/mysql, but seems that it is only needed if you're going to run ISAPI extensions intended for IIS. I just disabled it on my WAMP servers with no side effects.
There seems to be very little need for this extension - it should be disabled by default.
I don't know that the bug doesn't exist under linux - but it wouldn't seem to. Of all the servers I run, 0% (no variance) run windows. I read this because the headline was so fearmongering only to realize ... it didn't matter.
Running software under windows these days is an experiment in running software in an unsafe, unreliable and probably infected environment anyway.
(while I'm still working with about a dozen servers, I'm mostly a computer tech - and that means spending 8+ hours a day clearing viruses off of computers with the occasional bit of repair in between).
Looks like none of the download mirrors nor the Apache's backup contain the MSI installer that includes OpenSSL. Where is it? Only the non-ssl version is available.
The only exception appears to be the filehat mirror. There is no pgp signature on apache's main server to verify its integrity either.
Was it pulled? Anyone know why it's unavailable?
I was worried, up until it said it was exclusive to Windows! I knew there was a good reason I got off of Windows...
I saw that title and said Holy Crap Now I have to go search for patches pronto! /. allowing us annoyed readers to electro-shock the submitters whenever they post such scary headlines?
Can we add a feature to
For the lazy admins out there who are running Apache on Windows, does the mere presence of mod_isapi in the httpd.conf signal a problem or must there be other directives loading a DLL for this to be a problem?
I'm not lazy, I'm just thrifty with my time.
.. but the vulnerability is entirely Apache's fault...
Probably not, actually. From the documentation:
Summary
This module implements the Internet Server extension API. It allows Internet Server extensions (e.g. ISAPI .dll modules) to be served by Apache for Windows, subject to the noted restrictions.
ISAPI extension modules (.dll files) are written by third parties. The Apache Group does not author these modules, so we provide no support for them. Please contact the ISAPI's author directly if you are experiencing problems running their ISAPI extension. Please do not post such problems to Apache's lists or bug reporting pages.
Emphasis theirs.
I won't join Slashcott. OTOH, If Beta goes live, I just won't be back until it's fixed. Sorry Dice.
So I went to download the new 2.2.15 win32 binary and it appears to have been taken down? http://www.apache.org/dist/httpd/binaries/win32/ Or am I missing something?
Makes it easier to migrate from IIS to Apache. Install Apache and let it use your current ISAPI modules, so your website basically works the same. Then gradually turn off each ISAPI module as you configure it the Apache way.
There are piles of ISAPI filters in use, and it's unlikely that someone going through a conversion is going to dump all of the ISAPI they paid for immediately. Or rewrite what they implemented in-house. This reduces the amount of testing and debugging that has to be done up-front, and/or allows immediate reuse of in-house code without having to 'port' it to run on Apache. Most people working on something like this will probably be Microsoft-centric, and will appreciate the ability to move gradually instead of a hard switchover, which requires a steeper learning curve.
You have a scenario of replace and regression test, instead of rebuild from scratch and run the full lot of test cases. As your renewals come up, use your projected recurring license savings to move other modules to Apache.
If you cant upgrade, simply go into \conf\apache.conf and comment out the line that loads aspi:
#LoadModule isapi_module modules/mod_isapi.so
restart apache service and you should be good to go.
And to all those people who are like 'lolz! who runs apache on windows lolz!', i would say plenty of people. Because apache is far far far far far superior to ISS. Hopefully they have done it like me and made a low privilege local user to run it. It takes a bit more work but not much.
As a potential lottery winner, I totally support tax cuts for the wealthy
Apparently, there were regressions with the build.
Here's revision 2 of Apache 2.2.15 with OpenSSL. Preliminary reports indicate that it works like it should.
Use ISO 8601 dates [YYYY-MM-DD]
As such, you really cannot assume you haven't been rooted just because someone got access only as a given user.
Well, how surprising. Isn't that why they are called "privilege escalation" vulnerabilities?
Many linux people seem to disregard local root vulnerabilities
Which only shows us that PEBKAC isn't a Windows-only problem. How true.
What is true, or at least was true up until at least Vista, is that Windows effectively only had one level of protection. Privilege escalation vulnerabilities were much, much more common on Windows systems than on Linux systems (partially because of Microsoft bugs, but mainly because of the fact that (practically) all third-party software was installed with administrative privileges and a ton of third-party software was useful for attaining privilege escalation).