Re: Misbehaved CGI application headers
From: DaveK (DaveK_at_discussions.microsoft.com)
Date: 10/28/04
- Next message: hpux9_at_nospam.nospam: "IIS 6.0 and 401.2 and 401.1 Errors"
- Previous message: John Spiegel: "Re: Isolated FTP users"
- In reply to: David Wang [Msft]: "Re: Misbehaved CGI application headers"
- Next in thread: David Wang [Msft]: "Re: Misbehaved CGI application headers"
- Reply: David Wang [Msft]: "Re: Misbehaved CGI application headers"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 28 Oct 2004 05:57:06 -0700
If the error is such that the Perl interpreter cannot compile the code, then
the code will not have a chance to return any headers because Perl won't
execute it.
I just ran a ASP with junk in it and I got Active Server Pages error 'ASP
0221' and gave me the exact line number and description of the error. How is
that not a "security vulnerability -- information disclosure"?
I know Microsoft is on a security binge, but you can't take away
functionality that users depend on and try to pass it off as a security
enhancement.
How can I get this fixed?
"David Wang [Msft]" wrote:
> That would be a security vulnerability -- information disclosure.
>
> CGI applications can be run locally to generate the output, which can be
> independently inspected.
>
> Common causes of this CGI error on IIS6 include:
> 1. Not including a header that looks like "status: 200 OK" or request
> doesn't start with a status line that looks like "HTTP/1.1 200 OK"
> 2. Not including a header that looks like "Content-Type: foo/bar"
> 3. Individual request headers are not terminated by CRLF (according to HTTP
> spec) by rather either CR or LF.
> 4. End of request headers is not terminated by double CRLF
>
> --
> //David
> IIS
> This posting is provided "AS IS" with no warranties, and confers no rights.
> //
> "DaveK" <DaveK@discussions.microsoft.com> wrote in message
> news:93EB7714-31BB-4853-A734-4DAD31F0ECBC@microsoft.com...
> My application developers cannot fix their Perl code because IIS 6 does not
> tell them where the error occured.
>
> A sample bug in IIS 5 returns: The specified CGI application misbehaved by
> not returning a complete set of HTTP headers. The headers it did return are:
> Can't call method "dfgsdg" on an undefined value at
> e:\Inetpub\Wwwroot\admintools\perltest.pl line 8.
>
> Under IIS 6 I just get: The specified CGI application misbehaved by not
> returning a complete set of HTTP headers.
>
> How do I get IIS 6 to include "The headers it did return are:"?
>
> Thanks, Dave
>
>
>
- Next message: hpux9_at_nospam.nospam: "IIS 6.0 and 401.2 and 401.1 Errors"
- Previous message: John Spiegel: "Re: Isolated FTP users"
- In reply to: David Wang [Msft]: "Re: Misbehaved CGI application headers"
- Next in thread: David Wang [Msft]: "Re: Misbehaved CGI application headers"
- Reply: David Wang [Msft]: "Re: Misbehaved CGI application headers"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|