Welcome! Log In Create A New Profile

Advanced

Re: Worrisome logfile entry

August 27, 2009 10:17AM
On Thu, Aug 27, 2009 at 09:54:46AM -0400, adminlists@zer7.com wrote:

> Howdy all
>
> I was looking at my log file and noticed a bunch of requests for /..../, /...../, etc. Presumably
> these are someone attempting to be malicious.
>
> Now, here's the problem. I tried these to see what would happen. All of them correctly give a
> 404, *except*
>
> 2009/08/27 08:45:55 [emerg] 3648#5828: *2345 malloc() 4294967013 bytes failed (8: Not
> enough storage is available to process this command), client: 24.166.74.152, server: (my
> server), request: "GET /(some directory)/.../ HTTP/1.1", host: "(my server)"
>
> Evidently Nginx must get a negative number somehow for the length and malloc that. Only
> happens with three dots.
>
> This might have security implications, so you should look at it.

Speak by error number and message you use nginx/Windows. What version ?
Before 0.8.6 nginx/Windows checked "/.../", since on Win95+ this is
equal to "/../../". However, in 0.8.7 the check was removed because
nginx/Windows does not support Win95+ family.

Could you show the exact request - "GET /(some directory)/.../ HTTP/1.1" ?


--
Igor Sysoev
http://sysoev.ru/en/
Subject Author Posted

Worrisome logfile entry

adminlists@zer7.com August 27, 2009 09:54AM

Re: Worrisome logfile entry

Igor Sysoev August 27, 2009 10:17AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 126
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready