id: CVE-2015-2794

info:
  name: DotNetNuke 07.04.00 - Administration Authentication Bypass
  author: 0xr2r
  severity: critical
  description: |
    The installation wizard in DotNetNuke (DNN) before 7.4.1 allows remote attackers to reinstall the application and gain SuperUser access via a direct request to Install/InstallWizard.aspx.
  impact: |
    Attackers can reinstall the application and escalate privileges to SuperUser, leading to full control over the system.
  remediation: |
    Update to version 7.4.1 or later to fix the vulnerability.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2015-2794
    - https://www.exploit-db.com/exploits/39777
    - http://www.dnnsoftware.com/community-blog/cid/155198/workaround-for-potential-security-issue
    - http://www.dnnsoftware.com/community/security/security-center
    - https://dotnetnuke.codeplex.com/releases/view/615317
  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-2015-2794
    cwe-id: CWE-264
    epss-score: 0.74552
    epss-percentile: 0.99434
    cpe: cpe:2.3:a:dotnetnuke:dotnetnuke:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: dotnetnuke
    product: dotnetnuke
    fofa-query:
      - app="DotNetNuke"
      - app="dotnetnuke"
  tags: cve2015,cve,dotnetnuke,auth-bypass,install,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/Install/InstallWizard.aspx?__VIEWSTATE"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "Administrative Information"
          - "Database Information"
        condition: and

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