id: qnap-photostation-panel

info:
  name: QNAP Photo Station Panel - Detect
  author: idealphase
  severity: info
  description: |
    QNAP Photo Station panel was detected.
  reference:
    - https://www.qnap.com/th-th/software/photo-station
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cwe-id: CWE-200
    cpe: cpe:2.3:a:qnap:photo_station:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: qnap
    product: photo_station
    shodan-query:
      - http.title:"Photo Station"
      - http.title:"photo station"
      - http.title:"qnap"
      - 'content-length: 580 "http server 1.0"'
    fofa-query:
      - title="photo station"
      - title="qnap"
    google-query:
      - intitle:"qnap"
      - intitle:"photo station"
  tags: panel,photostation,qnap,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}/photo/"

    matchers-condition: and
    matchers:
      - type: regex
        part: body
        regex:
          - '(?m)<title>(.*)Photo Station(.*)<\/title>'

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