id: unauth-cyber-power-systems

info:
  name: Cyber Power Systems - Unauthenticated
  author: DhiyaneshDK
  severity: high
  description: |
    Detects unauthenticated access to Cyber Power Systems, which could lead to unauthorized control or information disclosure.
  metadata:
    verified: true
    max-request: 1
    shodan-query: html:"<title>PDNU</title>"
  tags: unauth,cyber-power,misconfig,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/#/devices"

    host-redirects: true
    max-redirects: 2
    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<title>PDNU</title>"

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