BUG: ?? ????????? ????? ??? ????? ???????? ?? CGI ????? ??? ????? ?? ??????

?????? ????????? ?????? ?????????
???? ???????: 176113 - ??? ???????? ???? ????? ????? ??? ???????.
???? ???? ????? ?????????? ??????? ??? Microsoft ????? ??????? ?????? (IIS) ??????? 7.0 ????? Microsoft Windows Server 2008. IIS 7.0 ????? ???? ?????? ??????? ??? ???? ?????. ????? ?? ????????? ??? ???????? ??? ????? ??????? IIS ?? ?????? ???? Microsoft ?????? ??? ?????:
http://www.microsoft.com/technet/security/prodtech/IIS.mspx
????? ?? ????????? ??? IIS 7.0 ?? ?????? ???? Microsoft ?????? ??? ?????:
http://www.iis.net/default.aspx?tabid=1
????? ???? | ?? ????

?? ??? ??????

???????

????? ???? ????? CGI ??? ????? ??? ????? ???????? ?? ??????? "Moved ???? 302" ???? ?????? ? ?????? ???? ??????? ?????? (IIS) ??? ??? ????? ????????.

????

????? ??? ?????? ?? ?????? ??????? CGI ???? ????? "?? ???? ???? ??????? ???? ??? ????? ?????? ??? ??????. ??????? ????? ??? ????????? ??????? ?????? ?????..."

??? ????? ???? ?? ?? ??? ??? EXE ???? ?? "nph-" ?????? ?????? ???? ???? ????? HTTP ?? ????????. "nph-" ???? ??? ?????? ?????? CGI ??????? ?? ??? ??? ????? ????. CGI ?????. ?? ????? ?????? (???? ???????) ? ??? ???? ????? ??? ?????? CGI ??? ??????? ??????? (??? ??????? ?? ?????? ?? ??????). ????? CGI ?? ??????? HTTP ???? ???????? ??? ??????? ???? ??????. ??? ????????? ?????? ???? HTTP ???????? ?? ?? ??? ??? ?? ????? ?? ???? ?????? ???? ??? ????????.

??? ???? ??? ??? ??? ?????. ?? ??? ????? CGI ?? ???? ?????? ?? ???? ????. ??? ?? ????? ?????? CGI ??????? HTTP ??????? ??? ?? ??? ??? ????????? ???? ??????. ?? ???? ?????? ????? ?? ????? ?? ???? ?? ?? ??? ?????.

???? ?????? ????? ??? ????? CGI ???? ???? ?? "nph-" ?? ??? ??? ????? ???; ????, ??? ????? ????? CGI ?? ??? ??? ???????.

?????

???? Microsoft ?? ???? ??? ?? ?????? Microsoft ??????? ?? ????? ??? ??????? ???.

??????? ????

????? ????? ????? ??????

????? ??? ???????? CGI ??? ????? ???? ?????? Win32 ?????? ?? ???? ??? ???? IIS ??? ???? ???????:
#include <stdio.h>
int main()
{
  printf("Location: %s\r\n", "http://www.yahoo.com");
  printf("Set-Cookie: Name1=Value1; path=/;
    expires=Fri, 22 May 1998 21:00:00 GMT\r\n\r\n");
  return 0;
}
				

??????? ???????? CGI ?? ???????? ????? ?? ????? ??????? ????? ?? (??? ?????? ?????? ??? ???? ??????). ???? ?????? ????:
HTTP/1.0 302 Object moved
Location: http://www.yahoo.com
Server: Microsoft-IIS/2.0
Content-Type: text/html
Content-Length: 145

<head><title>Document moved</title></head>
<body><h1>Object Moved</h1>This document may be found
<a HREF="http://www.yahoo.com">here</a></body>
				

???? ??? ?? ??? ????? ??? ????? ??? ????? ???????? ?????? IIS. ??? ??? ???? ??? ????? ???????? ??????? ??? ??????? ?? ???????? ????? ?? ???? ?? ?????.

?????? ??? ????? ?????? ?????? ??????? 302 ?????? ?????? ?????? ?????? ??? ??? ? ??????? "nph-" ??? ??? ????? ?????? ???????:
#include <stdio.h>
int main()
{
  printf("HTTP/1.0 302 Redirect\r\n");
  printf("Location: %s\r\n", "http://www.yahoo.com");
  printf("Set-Cookie: Name=Value; path=/; expires=Fri, 22 May 1998 21:00:00
   GMT\r\n\r\n");
  return 0;
}
				

???? ??????? ??????? ??? ???. ???? ?? ??? ???? ????? ??? cookie ??? ????? ?? ???? ?????? ??????.
HTTP/1.0 302 Redirect
Location: http://www.yahoo.com
Set-Cookie: Name=Value; path=/; expires=Fri, 22 May 1998 21:00:00 GMT
				

?????

(?) ???? ???? Microsoft ? ???? ???? ?????. ????????? ?????? ???? Braginski ? ???? Microsoft

???????

???? ???????: 176113 - ????? ??? ??????: 29/????? ???????/1429 - ??????: 5.0
????? ???
  • ???? ??????? ?????? 3.0
  • Microsoft Internet Information Server 4.0
  • Microsoft Internet Information Services 5.0
????? ??????: 
kbmt kbbug kbnofix KB176113 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????176113

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com