Help!

mod_proxy and POST bug in Apache?

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Security RSS
Next:  [News] Slack Mini Server 1.4.5 is Officially Rele..  
Author Message
Allen Kistler
External


Since: Jun 26, 2004
Posts: 367



PostPosted: Wed Aug 12, 2009 2:23 am    Post subject: mod_proxy and POST bug in Apache?
Archived from groups: comp>os>linux>security (more info?)

One of the things about using Freenode is that they scan you when you
connect to them. As a user, you agree to that. That's not a problem
for me, but it pointed out something recently.

I run Apache 2.2.11 with mod_proxy. I only allow, or so I thought,
proxy connections from internal hosts. ProxyRequests is Off for my
virtual server that faces the Internet. Freenode checks for that.

When they scanned me, my Apache correctly responded 405 to their CONNECT
request for a non-local URL, but it happily responded 200 to their POST
request for a non-local URL. POST scanning from them is new within the
last week.

I've been unable to find any mention of this behavior of httpd on the
web, including apache.org and BugTraq, the two (I think) most obvious
places to check.

It seems logical to me that Freenode now does this scan because they
know something. But other than discovering I'm vulnerable to it, I
haven't been able to find anything about it.

It seems like an Apache bug to me. What does anybody know?
Back to top
Allen Kistler
External


Since: Jun 26, 2004
Posts: 367



PostPosted: Wed Aug 12, 2009 1:40 pm    Post subject: Re: mod_proxy and POST bug in Apache? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Allen Kistler wrote:
>
> [snip]
>
> When they scanned me, my Apache correctly responded 405 to their CONNECT
> request for a non-local URL, but it happily responded 200 to their POST
> request for a non-local URL.
>
> [snip]
>
> It seems like an Apache bug to me. What does anybody know?

So I did my own pen attempt on myself. Apache just returns my
index.html for the POST. Successfully returning index.html is why the
return code is 200. It didn't actually proxy anything.
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Security All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum