By:小A
官方网址:http://www.reaft.com/
Cms下载地址:http://www.reaft.com/html/1/200.html
界面做的还不错,搜索了一下好像用的人很少,开始。
首先看目录下 UpLoad.html 文件上传,调用了的是 UpLoad.asp。
UpLoad.asp:
dim upload
set upload = new AnUpLoad upload.Exe = "*" upload.MaxSize = 4 * 1024 * 1024 '4M upload.GetData() if upload.ErrorID>0 then response.Write upload.Description else postMess("images/operate_02.jpg") dim savpath savepath = "/upload/"&year(date())&"/"&month(date())&"/" for each f in upload.files(-1) dim file set file = upload.files(f) if not(file is nothing) then if file.saveToFile(savepath,0,true) then postMess("images/operate_01.jpg") postValue = postValue&""&savepath&file.filename&"|" response.write ("") end if end if set file = nothing next end if set upload = nothing %> |
然后在来看看:UpLoad_Class.vbs.asp。
UpLoad_Class.vbs.asp:
'========================================================= |
看红色部分,其他就不解释了。
直接上传asa拿shell。
还有就是上传可能会提示登录,直接伪造session就可以通过了。(站长评论:什么、?伪造 Session???……我了个擦,这要是能伪造,那岂不、、、小A同学可能是看错了,当成了cookie ……)
验证代码在 admin.asp。
admin.asp:
if session("username")="" and session("password")="" then |
其他就不多说了!
重新编辑了一下,第一次发贴,格式不对,请见谅。
这个应该算是一个漏洞吧,不知道是不是作者故意加上的,在上传扩展名,检查那里,居然加了个asa,无意间发现的。
文章来源于lcx.cc:80After CMS V4 鸡肋上传漏洞 - 脚本漏洞
文章来源于lcx.cc:【牛人视频】自制最强的二进制算法机器相关推荐: 使用Dos、Cmd 添加用户并加入到超级管理员组使用Dos、Cmd 添加用户并加入到超级管理员组: 为系统添加一个名为“ceshi”密码为“741852”的普通账号:net use…
- 左青龙
- 微信扫一扫
-
- 右白虎
- 微信扫一扫
-
评论