简要描述:
大汉版通JCMS 任意文件上传漏洞
详细说明:
问题出在导入xml文件时,只是采用了本地js验证,没有进行服务端验证,而且对文件的访问权限没有进行任何控制,服务端也没有对上传文件的有效性进行检查导致任意文件上传,
部分代码:
[php]
ListTable listtable = new ListTable(request);
out.println(listtable.getListTableCssJs());
sys.initSysPara(request);
//*得到用户信息*/
jcms.entity.Merp_Pub_UserEntity userentity = UserRightBLF.getUserInfo(request);
String strFilePath = application.getRealPath("")+"/m_5_5/m_5_5_3/temp/upload/" ;
Convert.createDirectory(strFilePath);
CommonUploadFile upload = new CommonUploadFile(strFilePath,"");
[/php]
上传地址:
http://0day5.com/jcms/m_5_5/m_5_5_3/import_style.jsp
将本能js验证去掉
shell地址:http://0day5.com/m_5_5/m_5_5_3/temp/upload/
- 左青龙
- 微信扫一扫
- 右白虎
- 微信扫一扫
评论