Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: Dropping connection instead of returning 400 |
|---|---|
| Date: | Fri, 4 Mar 2005 07:16:54 -0800 (PST) |
christopher@baus.net wrote:
So what do you think? Is security worth non-compliance with the HTTP spec?
I think you are "poisoning the well" with this
statement. If following the spec entailed the
insecurity you attribute to it, then non-compliance
might be a valid position. However, I don't think you
have shown this to be the case.
There is nothing in the HTTP/1.1 spec that requires a
400 response to include unwise information disclosure,
and soliciting a 400 response is hardly the only way
to do fingerprinting or reconnaissance of the
application. Your principal argument is that 400
responses result in information disclosure that would
useful to a hacker. But the real-world problem of
information disclosure falls pretty squarely on the
shoulders of implementors and application developers,
not on the wire protocol!
The inclusion 400 response informing the user-agent
that the request was malformed is not a flaw in the
HTTP spec. If we all agreed to eliminate the 400
response and just drop connections, there would remain
more than enough opportunities for an application or
server to tell a hacker all about itself.
It is also worth pointing out that the spec does not
prevent your particular server from taking defensive
measures against the sender if you believe that a 400
response strongly indicates a malicious user. For
example you could close a persistent connection after
sending the (scrubbed?) 400 response and refuse to
process subsequent requests from the sender for some
period of time.
-Garth Somerville
__________________________________
Celebrate Yahoo!'s 10th Birthday!
Yahoo! Netrospective: 100 Moments of the Web
http://birthday.yahoo.com/netrospective/
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Preventing direct URL access in a J2EE environment, Kevin Conaway |
|---|---|
| Next by Date: | awareness improvement demo, koro69 |
| Previous by Thread: | Re: Dropping connection instead of returning 400, Devdas Bhagat |
| Next by Thread: | awareness improvement demo, koro69 |
| Indexes: | [Date] [Thread] [Top] [All Lists] |