id: CVE-2017-17736

info:
  name: Kentico - Installer Privilege Escalation
  author: shiar
  severity: critical
  description: |
    Kentico 9.0 before 9.0.51 and 10.0 before 10.0.48 are susceptible to a privilege escalation attack. An attacker can obtain Global Administrator access by visiting CMSInstall/install.aspx and then navigating to the CMS Administration Dashboard.
  impact: |
    An attacker can gain administrative privileges on the Kentico CMS system.
  remediation: |
    Upgrade to the latest version of Kentico CMS to fix the privilege escalation vulnerability.
  reference:
    - https://www.exploit-db.com/ghdb/5694
    - https://nvd.nist.gov/vuln/detail/CVE-2017-17736
    - https://blog.hivint.com/advisory-access-control-bypass-in-kentico-cms-cve-2017-17736-49e1e43ae55b
    - https://github.com/0xSojalSec/Nuclei-TemplatesNuclei-Templates-CVE-2017-17736
    - https://github.com/ARPSyndicate/cvemon
  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-17736
    cwe-id: CWE-425
    epss-score: 0.68956
    epss-percentile: 0.99282
    cpe: cpe:2.3:a:kentico:kentico_cms:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: kentico
    product: kentico_cms
    shodan-query:
      - cpe:"cpe:2.3:a:kentico:kentico_cms"
      - http.title:"kentico database setup"
    fofa-query: title="kentico database setup"
    google-query: intitle:"kentico database setup"
  tags: cve2017,cve,kentico,cms,install,unauth,edb,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/CMSInstall/install.aspx"

    matchers-condition: or
    matchers:
      - type: word
        words:
          - "Kentico"
          - "Database Setup"
          - "SQLServer"
        condition: and

      - type: word
        words:
          - "Database Setup"
          - "SQLServer"
        condition: and
# digest: 4b0a004830460221009e499b7fa6465c70affe3f2e128aff4e76aab8a3244fd4a3df191f2a418a4247022100b309e7de12e26559c8646ac847cf15583b1d47f97878a9fb31a1e172990c065f:922c64590222798bb761d5b6d8e72950