id: ocomon-panel

info:
  name: OcoMon Login Panel - Detect
  author: dogasantos
  severity: info
  description: a tiny helpdesk system written in php
  reference:
    - https://sourceforge.net/projects/ocomonphp/
  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:ocomon_project:ocomon:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: ocomon_project
    product: ocomon
    shodan-query:
      - http.html:"OcoMon"
      - http.html:"ocomon"
    fofa-query: body="ocomon"
  tags: panel,ocomon,oss,ocomon_project,discovery

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

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: regex
        regex:
          - '(?i)(OcoMon)'

      - type: word
        part: body
        words:
          - 'open_form/ticket_form_open.php'

    extractors:
      - type: regex
        group: 1
        regex:
          - 'Versão: ([0-9.]+)'
          - 'Versão:&nbsp;([0-9.]+)'
# digest: 4a0a00473045022100f2c97a4c3b6c6636ff9bb9a098966e99eef2b66cc882a07257a5bc68319cd154022033a2244b011b3148a864052bffc3aa86558df919452b6f24c7b5fb922b185ad4:922c64590222798bb761d5b6d8e72950