id: bedita-panel

info:
  name: BEdita Login Panel - Detect
  author: pikpikcu,daffainfo
  severity: info
  description: BEdita login panel was detected.
  reference:
    - https://www.bedita.com/
  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:bedita:bedita:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: bedita
    product: bedita
    shodan-query:
      - http.title:"BEdita"
      - http.title:"bedita"
    fofa-query: title="bedita"
    google-query: intitle:"bedita"
  tags: panel,bedita

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

    matchers-condition: and
    matchers:
      - type: regex
        part: body
        regex:
          - 'BEdita(.*)</a><br>'

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - 'target="besite">(.*)</a><br>'
# digest: 4a0a00473045022100d752db38ef44226022ccd36d4b1fcc662a4aa496de1d276768a8e488914b9ed3022073364f7f858b3ffa0983a2c8343732df94e68cce26ef61744d0f26dbacf0238d:922c64590222798bb761d5b6d8e72950