?
Solved

HTTP Protocol Question regarding message types HEAD and OPTIONS

Posted on 2012-04-03
3
Medium Priority
?
507 Views
Last Modified: 2012-04-14
I have found some rather disturbing messages built into the HTTP protocol like
DELETE /page.html
PUT /page.html
I say disturbing because it is a security nightmare isn't it?
I  had thought that the HEAD /page.html   HTTP/1.1  
request command would be harmless enough but then I came across:
http://apache-range-exploit.com/

There is also supposed to be an OPTIONS request message that also fails to work on Apache servers.
Can anyone comment on this odd RFC 1226?
0
Comment
Question by:Robert Silver
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 36

Expert Comment

by:mccarl
ID: 37804272
> I have found some rather disturbing messages built into the HTTP protocol like DELETE, PUT

Well, POST and even GET can be just as dangerous, it depends on how they are used!


> I say disturbing because it is a security nightmare isn't it?

That's why you have security built in to the application, and the HTTP protocol even provides for this if desired. It is not mandatory though because the protocol is designed to be applicable across a wide range of applications. Some of those may be totally within a trusted environment, in which if excessive security is forced would result is less efficient operations, for example.


> I  had thought that the HEAD /page.html   HTTP/1.1  
request command would be harmless enough but then I came across

The example that you cite is an issue with the "implementation" of the protocol within one particular product, it is not an issue with the protocol itself.


> There is also supposed to be an OPTIONS request message that also fails to work on Apache servers.

Ok!


> Can anyone comment on this odd RFC 1226?

That RFC doesn't seem to have anything to do with the rest of your post, is that the one you meant to quote?
0
 
LVL 84

Accepted Solution

by:
Dave Baldwin earned 1200 total points
ID: 37804435
Try this from http://www3.ntu.edu.sg/home/ehchua/programming/howto/Apache_HowToConfigure.html .

<LimitExcept GET POST>
   Order deny,allow
   Deny from all
</LimitExcept>

Open in new window


Apparently, DELETE and PUT require a 'handler' to function.
0
 
LVL 84

Expert Comment

by:Dave Baldwin
ID: 37804443
In IIS, each handler can have the 'verbs' set that are passed to it.  Most Microsoft services only see "GET, POST, HEAD, DEBUG" and some only see GET and POST.
0

Featured Post

Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This warning has to be one of the most commonly issued warnings in the history of PHP.  The article explains why this warning arises and what to do to mitigate the problem. How this Happens HTTP headers include many different kinds…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question