You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Rob De Langhe <ro...@twistfare.be> on 2011/03/10 14:16:01 UTC
[users@httpd] suspicious proxy(?) URLs in logs
hi,
while going occasionally through the access logs of a 2.2.17 Apache server, I noticed some URLs of remote locations where my server would have made a GET for ?!
an example:
194.0.122.134 - - [10/Mar/2011:02:26:55 +0100] "GET http://www.ebay.com/ HTTP/1.1" 200 240 "-" "Mozilla/4.0 (compatible; MSIE 4.01; Windows 95)"
So the status code = 200 indicates that the server allowed that URL "http://www.ebay.com"[1] for the client 194.0.122.134 ...
I suspected that proxy functionality (enabled by default for long, but luckily in this 2.2.17 version it is not enabled by default in the configs), so I checked the loaded modules :
# /usr/apache2/bin/apachectl -t -D DUMP_MODULES | grep -i prox
#
so none.
Which other module or config setting could have as effect that my server accepts such requests ?
rgds
Rob
Links:
------
[1] http://www.ebay.com
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
Re: [users@httpd] suspicious proxy(?) URLs in logs
Posted by Tom Evans <te...@googlemail.com>.
On Mon, Mar 14, 2011 at 9:49 AM, Rob De Langhe
<ro...@twistfare.be> wrote:
> haven't got a single reply (yet)
There have been multiple replies to the mailing list, explaining what
happened and why.
Cheers
Tom
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] suspicious proxy(?) URLs in logs
Posted by Rob De Langhe <ro...@twistfare.be>.
sorry gentlemen,
I didn't get the replies in my mailbox for some reason. Will keep an eye on the mailinglist for your replies. Thanx for them.
So a little more context has been requested :
- I run a self-compiled, latest version of Apache 2
- the only self-compiled module on it is PHP
Someone suggested that there would be a kind of 'application' accepting the requests, but there isn't any such.
The error doesn't contain any line for the timeframe where these requests occured.
The modules active on this server are (sorted) :
actions_module (shared)
alias_module (shared)
auth_basic_module (shared)
auth_digest_module (shared)
authn_anon_module (shared)
authn_dbd_module (shared)
authn_dbm_module (shared)
authn_default_module (shared)
authn_file_module (shared)
authz_dbm_module (shared)
authz_default_module (shared)
authz_groupfile_module (shared)
authz_host_module (shared)
authz_owner_module (shared)
authz_user_module (shared)
autoindex_module (shared)
cgi_module (shared)
core_module (static)
dbd_module (shared)
deflate_module (shared)
dir_module (shared)
dumpio_module (shared)
env_module (shared)
expires_module (shared)
ext_filter_module (shared)
filter_module (shared)
headers_module (shared)
http_module (static)
ident_module (shared)
imagemap_module (shared)
include_module (shared)
info_module (shared)
log_config_module (shared)
logio_module (shared)
mime_module (shared)
mpm_prefork_module (static)
negotiation_module (shared)
php5_module (shared)
reqtimeout_module (shared)
rewrite_module (shared)
setenvif_module (shared)
so_module (static)
speling_module (shared)
ssl_module (shared)
status_module (shared)
substitute_module (shared)
userdir_module (shared)
version_module (shared)
vhost_alias_module (shared)
Citeren Rob De Langhe <ro...@twistfare.be>:
> haven't got a single reply (yet), so tempting to re-issue my query since I still get such strange logs on my web server, like the following :
>
> 59.59.104.62 - - [13/Mar/2011:18:38:24 +0100] "GET http://5566.net/ HTTP/1.1" 200 240 "-" "Mozilla/4.0 (compatible; MSIE 4.01; Windows 95)"
>
>
> My web server says that with a HTTP-code "200" it has succesfully fullfilled the requested URL "http://5566.net/" ?!
>
> Citeren Rob De Langhe <ro...@twistfare.be>:
>
> > hi,
> >
> > while going occasionally through the access logs of a 2.2.17 Apache server, I noticed some URLs of remote locations where my server would have made a GET for ?!
> >
> > an example:
> >
> > 194.0.122.134 - - [10/Mar/2011:02:26:55 +0100] "GET http://www.ebay.com/ HTTP/1.1" 200 240 "-" "Mozilla/4.0 (compatible; MSIE 4.01; Windows 95)"
> >
> > So the status code = 200 indicates that the server allowed that URL "http://www.ebay.com"[1] for the client 194.0.122.134 ...
> >
> > I suspected that proxy functionality (enabled by default for long, but luckily in this 2.2.17 version it is not enabled by default in the configs), so I checked the loaded modules :
> >
> > # /usr/apache2/bin/apachectl -t -D DUMP_MODULES | grep -i prox
> > #
> >
> > so none.
> >
> > Which other module or config setting could have as effect that my server accepts such requests ?
> >
> > rgds
> > Rob
> >
> > ----------------------------------------------------------------
> > This message was sent using IMP, the Internet Messaging Program.
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
Links:
------
[1] http://www.ebay.com
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
Re: [users@httpd] suspicious proxy(?) URLs in logs
Posted by Rob De Langhe <ro...@twistfare.be>.
haven't got a single reply (yet), so tempting to re-issue my query since I still get such strange logs on my web server, like the following :
59.59.104.62 - - [13/Mar/2011:18:38:24 +0100] "GET http://5566.net/ HTTP/1.1" 200 240 "-" "Mozilla/4.0 (compatible; MSIE 4.01; Windows 95)"
My web server says that with a HTTP-code "200" it has succesfully fullfilled the requested URL "http://5566.net/" ?!
Citeren Rob De Langhe <ro...@twistfare.be>:
> hi,
>
> while going occasionally through the access logs of a 2.2.17 Apache server, I noticed some URLs of remote locations where my server would have made a GET for ?!
>
> an example:
>
> 194.0.122.134 - - [10/Mar/2011:02:26:55 +0100] "GET http://www.ebay.com/ HTTP/1.1" 200 240 "-" "Mozilla/4.0 (compatible; MSIE 4.01; Windows 95)"
>
> So the status code = 200 indicates that the server allowed that URL "http://www.ebay.com"[1] for the client 194.0.122.134 ...
>
> I suspected that proxy functionality (enabled by default for long, but luckily in this 2.2.17 version it is not enabled by default in the configs), so I checked the loaded modules :
>
> # /usr/apache2/bin/apachectl -t -D DUMP_MODULES | grep -i prox
> #
>
> so none.
>
> Which other module or config setting could have as effect that my server accepts such requests ?
>
> rgds
> Rob
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
Links:
------
[1] http://www.ebay.com
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
Re: [users@httpd] suspicious proxy(?) URLs in logs
Posted by Jeroen Geilman <je...@adaptr.nl>.
On 03/10/2011 02:16 PM, Rob De Langhe wrote:
> hi,
>
> while going occasionally through the access logs of a 2.2.17 Apache
> server, I noticed some URLs of remote locations where my server would
> have made a GET for ?!
>
> an example:
>
> 194.0.122.134 - - [10/Mar/2011:02:26:55 +0100] "GET
> http://www.ebay.com/ HTTP/1.1" 200 240 "-" "Mozilla/4.0 (compatible;
> MSIE 4.01; Windows 95)"
>
> So the status code = 200 indicates that the server allowed that URL
> "http://www.ebay.com" <http://www.ebay.com> for the client
> 194.0.122.134 ...
And a Windows 95 client running IE4. Seriously.
>
> I suspected that proxy functionality (enabled by default for long,
Incorrect. ProxyRequests has never been On by default in any apache
version that supports it.
The documentation clearly states that this is a security risk:
http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxyrequests
> but luckily in this 2.2.17 version it is not enabled by default in the
> configs), so I checked the loaded modules :
>
> # /usr/apache2/bin/apachectl -t -D DUMP_MODULES | grep -i prox
> #
>
> so none.
>
> Which other module or config setting could have as effect that my
> server accepts such requests ?
You need to provide more context - what distro is this ?
Did you install a package or compile it yourself ?
What does the error log say ?
What other modules are loaded ?
--
J.
Re: [users@httpd] suspicious proxy(?) URLs in logs
Posted by Jeroen Geilman <je...@adaptr.nl>.
On 03/13/2011 01:53 AM, Eric Covener wrote:
> On Thu, Mar 10, 2011 at 8:16 AM, Rob De Langhe
> <ro...@twistfare.be> wrote:
>
>> hi,
>>
>> while going occasionally through the access logs of a 2.2.17 Apache server,
>> I noticed some URLs of remote locations where my server would have made a
>> GET for ?!
>>
>> an example:
>>
>> 194.0.122.134 - - [10/Mar/2011:02:26:55 +0100] "GET http://www.ebay.com/
>> HTTP/1.1" 200 240 "-" "Mozilla/4.0 (compatible; MSIE 4.01; Windows 95)"
>>
>> So the status code = 200 indicates that the server allowed that URL
>> "http://www.ebay.com" for the client 194.0.122.134 ...
>>
> This doesn't necessarily mean it was proxied. Requests of this type
> will just be served from your default (first-listed) vhost for
> whatever iface it was received on.
>
...and was received by an application that accepts wildcard requests.
Any existing (and non-matching) content will simply 404 it.
Whether or not the application that blindly accepted it will try to
retrieve the URL is a legitimate concern, but it would mean he is
already running very dubious software.
--
J.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] suspicious proxy(?) URLs in logs
Posted by Eric Covener <co...@gmail.com>.
On Thu, Mar 10, 2011 at 8:16 AM, Rob De Langhe
<ro...@twistfare.be> wrote:
> hi,
>
> while going occasionally through the access logs of a 2.2.17 Apache server,
> I noticed some URLs of remote locations where my server would have made a
> GET for ?!
>
> an example:
>
> 194.0.122.134 - - [10/Mar/2011:02:26:55 +0100] "GET http://www.ebay.com/
> HTTP/1.1" 200 240 "-" "Mozilla/4.0 (compatible; MSIE 4.01; Windows 95)"
>
> So the status code = 200 indicates that the server allowed that URL
> "http://www.ebay.com" for the client 194.0.122.134 ...
This doesn't necessarily mean it was proxied. Requests of this type
will just be served from your default (first-listed) vhost for
whatever iface it was received on.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org