Purl Gurl wrote:
(snipped)
> Inspired by recent articles on not logging these
> idiotic Webdav exploit log entries, I am hoping
> someone has developed a hack for capturing the
> associated 414 error generated by Apache.
Lots of articles, lots of discussion on this,
both here in this newsgroup and elsewhere.
I could not find a good entry point for this
addition to this thread, not really fitting
into the flow of things, so I have moved
this upward in a sense.
Conversations continue with some inside
Apache Org. This person in this email
is really nice, very sincere, and is
associated with Apache Org. I will note
some of our conversations are being
shared with Apache Security, when
I deem this appropriate. This email
is shared with Apache Security.
This specific conversation, actually
bits and pieces of larger dialog,
will afford you an idea of what is
taking place outside of this group.
Some do seem very interested in these
issues and I promised to share my
discoveries. I am doing so.
Beneath my signature you will read a
snippet of conversation which will
provide you with a feel for current
talks and efforts.
Purl Gurl
--
(names other than my own are removed)
> Purl Gurl wrote:
(snipped)
> > Keep in mind, Apache has a series of bugs
> > which leaves users in a bad position, leaves
> > users in a position of not being able to
> > do anything, literally, about selected
> > types of attacks. This inability to
> > effect a cure, really frustrates me.
> What you need to keep in mind here, is that Apache is handling these
> requests exactly correctly. It is denying them access to the server as
> soon as they are received, thereby preventing any damage from being done.
Apache is not handling this correctly. What is
observed is a spinoff reaction of bugs in Apache.
All that is happening is Apache is generating a 414
error because the URI is too long. If an administrator
decreased acceptable URI length to ten bytes, the
same result would manifest for all requests. If URI
length is increased to fifty-thousand bytes, Webdav
would pass through and generate a 404 not found error.
Apache is not preventing damage. Apache is not performing
a security check. Apache is simply producing an error
condition because of the default URI length check,
and in the process, creating a series of subsequent
bugs, which is a common event in all programming.
An exploit of shorter length would pass through
and be processed, yes? Be sure you, the reader,
understand. An exploit within the default URI
length would be processed. No miracle is being
performed by Apache. It just looks that way.
What Apache should be doing is rejecting Webdav based
on the SEARCH request method which is not recognized.
Don't you see? Apache fails to recognize a SEARCH
request method which is not in its list of accepted
request methods, specific to Apache 1.3.x series,
the best server to date.
Apache fails to catch a SEARCH method, an invalid method.
That is a bug.
What comes before the URI content? The request method.
Apache should drop the connection based on the request
method, not the URI length. It does not.
That is a bug.
Use of IP Address blocking should take precedence over
all other functions. What is the first bit of human
readable data coming in? The IP address. With Webdav,
the IP address is completely ignored rather than being
blocked as it should per httpd conf directives. This
is a failure of IP Address blocking.
That is a bug.
Access logging, you already know of this. It is
impossible to control logging of Webdav or any
logging based on error conditions which cannot
be hooked into, such as a 408 error.
That is a very obvious bug which cannot be denied.
However, some deny this. Nonetheless, I know better
and will not fool myself on this. It is a bad bug.
> > They are bugs despite bugzilla people
> > claiming they are not.
> I'll just note one more time that the bug report was closed not because it
> wasn't a bug, but because it was not the right place to deal with it.
Ok, then what I presented is a bug although bugzilla
claims is not a bug, actually a number of bugs but
bugzilla does not want to public to know because of
security issues, which are really not security issues
being widespread common knowledge, for a very long time.
However, Apache does not provide any means of discussing
security issues. This is done behind closed doors. The
public is not allowed to participate. What is the greatest
source of information for security? The public.
That is a bug in the thinking of Apache developers.
Closing off security discussions from the public is
absolutely illogical. The public is the number one
source of security issues, and the number one source
of security solutions. Even Microsoft knows this.
That is a bug in the thinking of Apache developers.
Consider this, if I submit a bug report about this
inability to control logging for a 414 error, know
what will happen? Resolved - Invalid.
If I submit a bug report about ip blocking failing
because of a 414 error or other errors, what will
happen? Resolved - Invalid.
Almost all bug reports submitted are closed within
a matter of hours, Resolved - Invalid.
Bugzilla people suffer a serious bug; they don't
want to acknowledge bugs. Resolved - Invalid.
> I hope the security team is able to analyze this problem and get back to
> you soon.
Based on a majority of responses to my comments being
exceptionally emotional responses, with almost all
being adamant denials of a problem, I do not expect
to receive feedback on this. My hunch is the security
team will deny and dismiss this, as have most in the
bugzilla branch. Have you taken notice of the amount
of insults and hatred directed at me in the newsgroup?
People do not tolerate any critique of Apache.
That is a serious bug.
Are you aware with the addition of an ability to
filter incoming request methods, an ability to
ip block based on request method, an ability
to use regex matching for URI content, Apache
would begin to approach some of the features
of an inline firewall box costing tens of
thousands of dollars?
Wouldn't features like that be a significant
selling point, a significant profit maker?
"Use Apache and you will not need to spend
ten-thousand dollars on IPS hardware."
Can you imagine how many modules could be
written for Apache if not for these bugs
in Apache which prevent hooking error
conditions? All of these problems could
be resolved by mod_security alone, if
Apache did not have these bugs.
To be sure others are clear on this,
because I know you understand, (NAME),
use of mod_security alone would resolve
all of the issues I have set forth, if
mod_security could perform its great
stuff before a 414 error is generated.
Use of mod_security will also catch
a condition which creates a 408 error,
and will catch many other errors.
Apache not allowing mod_security to
perform its tasks, that is not a bug
but a lack of a feature, which is based
in bugs about which I write.
Actually, that is a bug, isn't it?
Apache would be prudent to think this over
and consider applying this type of thinking
to both Apache 1.3.x and Apache 2.x series,
both or none. This is important because
Apache 1.3.x is the superior server of
the two. Apache 2.x is nice but is almost
all whistles and bells, which some like.
No bugs in my thinking.
Thanks again for your comments, help
and sincere demeanor. Clearly you are not
afraid to discuss serious issues, and I do
highly respect your opinions, even when
in opposition to mine.<!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: Capture 414 Error - Webdav Exploit