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

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: 4b0a00483046022100bc9907892900c82cc78f8022cb1958bc1edb96d4433df71663a711cdc1289c00022100cb0f9ee95e66813ab65c4608341e73b40770bbbacac5ff4a950a12db7dfea5ed:922c64590222798bb761d5b6d8e72950