id: versa-director-api

info:
  name: Versa Director API Endpoint Detection
  author: c-sh0
  severity: info
  description: Versa Director API Endpoint (Unauthorized) Detection
  reference:
    - https://versa-networks.com/products/components/
  metadata:
    verified: true
    max-request: 1
    shodan-query: html:"Versa Networks"
  tags: api,versa,tech

http:
  - method: GET
    path:
      - "{{BaseURL}}:9182"

    matchers-condition: and
    matchers:
      - type: regex
        part: body
        regex:
          - '(?i)"more_info":"http://nms.versa.com/errors/4001"'

      - type: status
        status:
          - 401

# digest: 4b0a00483046022100e229eb5d84def3a3b79048003f546d8f3c558dff0cc70f7c1b58bb1fc430bb2d022100bd5f07601566a246eb302c1155740fc73aa30795b425f83240bd7e90ce8183e7:922c64590222798bb761d5b6d8e72950
