微软的IIS 6.0安装PHP绕过认证漏洞& U K7 z5 v! \5 L* ?# j; v& C
( Y1 ~1 B, [# d- x4 d8 t) V
微软IIS与PHP 6.0(这是对PHP5中的Windows Server 2003 SP1的测试)详细说明:
/ @# @! [$ n# `6 ]攻击者可以发送一个特殊的请求发送到IIS 6.0服务,成功绕过访问限制
7 I' C9 A+ O' `( m攻击者可以访问有密码保护的文件
+ y3 [8 i3 V* Z3 {( {* Z( \例:–># L$ R8 p! e% Q2 e4 h! v
Example request (path to the file): /admin:INDEX_ALLOCATION/index.php( w6 g3 q2 F( L9 L0 V4 J& T0 W
1 Example request (path to the file): /admin:INDEX_ALLOCATION/index.php( }/ Z3 m& y: o$ G
(暂时没有翻译,怕影响精确度): m8 W; f, h. ^, D
if theINDEX_ALLOCATION postfix is appended to directory name.
4 @) H$ }/ o, g) L7 CThis can result in accessing administrative files and under special circumstances execute arbirary code remotely, g; ^+ p+ d+ x+ d$ z) }0 F
% C1 S% ~8 _7 v0 f2 C微软IIS 7.5经典的ASP验证绕过
2 J$ j, B" a. v' W; e$ e受影响的软件:.NET Framework 4.0(.NET框架2.0是不受影响,其他.NET框架尚未进行测试)(在Windows 7测试)
' v4 [9 O! l$ \% V, I 详细说明:
1 M2 G1 r b M3 r通过添加 [ "i30INDEX_ALLOCATION" ] to the directory serving (便可成功绕过)
- W; b% S4 ^/ y# u+ ~ 例:
]1 H# A% V' j2 w) aThere is a password protected directory configured that has administrative asp scripts inside An attacker requests the directory with i30INDEX_ALLOCATION appended to the directory name IIS/7.5 gracefully executes the ASP script without asking for proper credentials
4 z: }9 |% M* P" y" h) L0 G2 V, [ 6 _' s6 U+ H- r$ u% p ~
IIS 7.5 NET源代码泄露和身份验证漏洞9 w' w: j2 `- S8 {+ @. T
(.NET 2.0和.NET 4.0中测试)- w5 @, W5 f$ f
例:–>; k' K: Q2 q1 l" V* o7 O6 z9 \2 q% h
http://<victimIIS75>/admini30INDEX_ALLOCATION/admin.php; J# u- \, Y0 K& G/ F
1 http://<victimIIS75>/admini30:$INDEX_ALLOCATION/admin.php8 o* Q. y; N3 q" t
will run the PHP script without asking for proper credentials.(暂时没有翻译)
* t/ Y2 P2 l; ^- `# ^By appending /.php to an ASPX file (or any other file using the .NET framework that is not blocked through the request filtering rules,like misconfigured: .CS,.VB files) IIS/7.5 responds with the full source code of the file and executes it as PHP code. This means that by using an upload feature it might be possible (under special circumstances) to execute arbitrary PHP code. Example: Default.aspx/.php- f) a) l8 J+ |, D3 U4 p2 \( a% |
1 Z+ q& t' B) V C
|