id: openemr-detect

info:
  name: OpenEMR Product Registration Panel - Detect
  author: pussycat0x
  severity: info
  description: OpenEMR Product Registration panel was detected.
  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:open-emr:openemr:*:*:*:*:*:*:*:*
  metadata:
    fofa-query: app="OpenEMR"
    max-request: 1
    product: openemr
    shodan-query: http.html:"OpenEMR"
    vendor: open-emr
  tags: panel,openemr,open-emr

http:
  - method: GET
    path:
      - "{{BaseURL}}/interface/login/login.php?site=default"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '"title":"OpenEMR Product Registration"'

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