id: unauth-celery-flower

info:
  name: Celery Flower - Unauthenticated Access
  author: DhiyaneshDK
  severity: high
  description: |
    Celery Flower was able to be accessed with no authentication requirements in place.
  classification:
    cpe: cpe:2.3:a:flower_project:flower:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: flower_project
    product: flower
    shodan-query: http.favicon.hash:-374133142
  tags: celery,flower,unauth,misconfig

http:
  - method: GET
    path:
      - '{{BaseURL}}/dashboard'

    matchers-condition: and
    matchers:
      - type: word
        words:
          - /dashboard
          - /tasks
          - github.com/mher/flower
        condition: and

      - type: status
        status:
          - 200
# digest: 490a0046304402207f6d021588fa8bf9a140048202d4c21c7def1eb21a225f53694b29c4fe920c360220541f0eba62f0e7877737e38dd07a2d189bff0de5a2a0d6a9a25c0fc83f5cdba3:922c64590222798bb761d5b6d8e72950