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

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: 4b0a00483046022100c2bc94c5340eef8a89c27f79905f7881a84173deb544c3291d2c16230dbcaccb022100b6bfc929e80a0934e351be1872e390e1d7b25203ef13c4c20c43545a308c8bbf:922c64590222798bb761d5b6d8e72950