imgproxy-unauth: Imgproxy Unauthorized Access

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

漏洞描述

imgproxy is a fast and secure standalone server for resizing, processing, and converting images.

PoC代码[已公开]

id: imgproxy-unauth

info:
  name: Imgproxy Unauthorized Access
  author: userdehghani
  severity: low
  description: |
    imgproxy is a fast and secure standalone server for resizing, processing, and converting images.
  remediation: set IMGPROXY_SECRET environment variable.
  reference:
    - https://docs.imgproxy.net/configuration/options
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
    cvss-score: 7.5
    cpe: cpe:2.3:a:evilmartians:imgproxy:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    shodan-query: html:"imgproxy"
    product: imgproxy
    vendor: evilmartians
  tags: imgproxy,unauth,misconfig,vuln
variables:
  img_url: 'https://upload.wikimedia.org/wikipedia/commons/thumb/2/2f/Google_2015_logo.svg/375px-Google_2015_logo.svg.png'

http:
  - method: GET
    path:
      - "{{BaseURL}}/_/resize:fill:10:10:0/gravity:sm/plain/{{img_url}}"

    matchers:
      - type: dsl
        dsl:
          - 'status_code==200'
          - 'contains(content_type, "image/png")'
          - '("386116288" == mmh3(base64_py(body)))'
        condition: and
# digest: 490a00463044022025d350b387912ef932d1b8da793775a71549dcbd30d45b9c7023de052bc9905a02201deadb3be8f54f539db3b91bd6a0901a9736680f6a6f39f55ab8071092b8302a:922c64590222798bb761d5b6d8e72950

相关漏洞推荐