id: sugarcrm-panel

info:
  name: SugarCRM Login Panel - Detect
  author: johnk3r
  severity: info
  description: SugarCRM login 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:sugarcrm:sugarcrm:*:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    vendor: sugarcrm
    product: sugarcrm
    shodan-query:
      - http.title:sugarcrm
      - http.html:"sugarcrm inc. all rights reserved"
    google-query:
      - intitle:sugarcrm
      - intext:"sugarcrm inc. all rights reserved"
    fofa-query:
      - title=sugarcrm
      - body="sugarcrm inc. all rights reserved"
  tags: sugarcrm,panel,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}"
      - "{{BaseURL}}/index.php?action=Login&module=Users"

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<title>SugarCRM</title>"

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