docker-registry: Docker Registry Listing

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

漏洞描述

Docker Registry Listing enabled.

PoC代码[已公开]

id: docker-registry

info:
  name: Docker Registry Listing
  author: puzzlepeaches
  severity: medium
  description: Docker Registry Listing enabled.
  reference:
    - https://notsosecure.com/anatomy-of-a-hack-docker-registry
  metadata:
    max-request: 1
  tags: misconfig,docker,devops

http:
  - method: GET
    path:
      - "{{BaseURL}}/v2/_catalog"

    host-redirects: true
    max-redirects: 1

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '"repositories":'

      - type: word
        part: header
        words:
          - "application/json"
# digest: 4a0a0047304502203058c7018a2b4bf19a68b1329d6281de31899cfc3c9fc1aec9edfe3ecd716b04022100b3db888483d61dff85a4c637ca237428a76d4337a8fa28822c5e5a5c72042f0e:922c64590222798bb761d5b6d8e72950