id: pcoweb-unauth

info:
  name: pCOWeb - Unauth
  author: ritikchaddha
  severity: high
  reference:
    - https://docs.librenms.org/Support/Device-Notes/Carel-pCOweb-Devices/#:~:text=Accessing%20the%20pCOWeb%20card,-Log%20on%20to&text=The%20default%20username%20and%20password%20is%20admin%2Ffadmin%20.
  metadata:
    verified: true
    max-request: 1
    shodan-query: title:"pCOWeb"
  tags: pcoweb,unauth,misconfig,exposure,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/config/pw_left_bar.html"

    host-redirects: true
    max-redirects: 2
    matchers-condition: and
    matchers:
      - type: word
        part: response
        words:
          - "System is using"
          - "pCOWeb"
          - "Configuration"
        condition: and

      - type: status
        status:
          - 200
# digest: 4a0a00473045022100c408301d21534ed656bc80a65d547a45a40a01f61a64d95c9a7946abaf1f8c55022003917d4868e088d441b3eead446f80b30b75af3bfb1632e974fc15a9303c12b7:922c64590222798bb761d5b6d8e72950