id: woodwing-panel

info:
  name: Woodwing Studio Server Panel - Detect
  author: pdteam,righettod
  severity: info
  reference:
    - https://twitter.com/ynsmroztas/status/1680961398011047936
  metadata:
    verified: true
    max-request: 2
    shodan-query: http.title:"WoodWing Studio Server"
    fofa-query: title=="WoodWing Studio Server"
  tags: woodwing,panel

http:
  - method: GET
    path:
      - "{{BaseURL}}/StudioServer/server/apps/login.php"
      - "{{BaseURL}}/server/apps/login.php"

    stop-at-first-match: true
    redirects: true
    max-redirects: 2
    matchers:
      - type: dsl
        dsl:
          - "contains(tolower(body), 'woodwing studio server')"

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - '<!---->v([0-9.]+\s+Build\s+[0-9]+)'
# digest: 4a0a00473045022100ddae555675cff7ca33576a010c48fa756933b1892b8c91de6f6b4674b79fc23e022027f102edf090fbb809ed1be8ed6f4579282fb7e0b2acad218070294c35502133:922c64590222798bb761d5b6d8e72950